Skip to content

A Flask PHI for identifying Protected Health Information (PHI)

License

Notifications You must be signed in to change notification settings

FredHutch/FlaskPHI_ID

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask PHI ID

A Flask-based webservice for identification of PHI in clinical narratives

##Installation Requirements You will need a Git Auth Token ( https://github.com/settings/tokens )stored in an environmental variable called 'HDCGITAUTHTOKEN'

General Installation

venv venv source venv/bin/activate.sh python setup.py install python flaskphiid/run.py -e 0.0.0.0 -p 5000 #run flask app at endpoint 0.0.0.0 on port 5000

test strings

curl -i -H "Content-Type: application/json" -X POST -d "{"""extract_text""":"""Mr. Edward Jones is a 75 yo Seattle native - follow up from visit on October 5th"""}" http://localhost:5000/compmed/phi

curl -i -H "Content-Type: application/json" -X POST -d "{"""extract_text""":"""Mr. Edward Jones is a 75 yo Seattle native - follow up from visit on October 5th"""}" http://localhost:5000/hutchner/

About

A Flask PHI for identifying Protected Health Information (PHI)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published