Perl and Python code for de-identifying electronic medical records
- Python 3.5.2
- Perl 5, Version 28, Subversion 0 (v5.28.0)
1- Change to the python directory
2- run python deid.py id.text phone.phi
In which:
id.textcontains Patient Notes.phone.phiis the output file that will be created.
1- change to the python directory
2- run python stats.py id.deid id-phi.phrase phone.phi
In which:
id.deidis the gold standard that is category-blind.id-phi.phraseis the gold standard with the categories included.phone.phiis the test file that the stats is run on.