Clinical de-identification pipeline that detects 30+ PHI entity types. Provides masked and obfuscated output modes for HIPAA compliance. Runs locally with data never leaving secure environment.
A clinical de-identification pipeline capable of detecting and removing 30+ Protected Health Information (PHI) entity types from clinical text. The skill provides both masked output (replacing PHI with category tags like [PATIENT_NAME]) and obfuscated output (replacing PHI with realistic synthetic values) for HIPAA Safe Harbor and Expert Determination compliance. All processing runs locally with data never leaving the secure environment.
npx skills add Open-Medica/open-medical-skills --skill hipaa-compliance-checker
Masked output mode:
De-identify the following clinical note (masked mode):
"John Smith, DOB 03/15/1958, MRN 4472891, was seen in clinic today at
Massachusetts General Hospital. He reports his chest pain has improved
since his visit on 02/28/2026. Contact: (617) 555-0142."
De-identified output: "[PATIENT], DOB [DATE], MRN [MRN], was seen in clinic today at [FACILITY]. He reports his chest pain has improved since his visit on [DATE]. Contact: [PHONE]."
PHI Detection Report:
Entity Type Original Confidence John Smith PATIENT_NAME John Smith 0.99 03/15/1958 DATE_OF_BIRTH 03/15/1958 0.98 4472891 MEDICAL_RECORD_NUMBER 4472891 0.97 Massachusetts General Hospital FACILITY MGH 0.96 02/28/2026 DATE 02/28/2026 0.99 (617) 555-0142 PHONE_NUMBER (617) 555-0142 0.99
Obfuscated output mode:
De-identify the same note (obfuscated mode)
Obfuscated output: "Maria Chen, DOB 07/22/1961, MRN 7813254, was seen in clinic today at Riverside Community Medical Center. She reports her chest pain has improved since her visit on 01/15/2026. Contact: (312) 555-0897."
This skill is part of Open Medical Skills, a curated marketplace of medical AI skills maintained by physicians for physicians and the healthcare industry.