Why Healthcare Needs Automated PHI Detection
Healthcare organizations generate more free-text sensitive data than almost any other industry. Roughly 80% of clinically meaningful information lives in unstructured narrative: progress notes, discharge summaries, radiology impressions, pathology reports, nursing handoffs, and the growing flood of patient portal messages. A single discharge summary can carry a patient's name, medical record number, date of birth, home address, insurance member ID, diagnoses, medications, and the names of three treating physicians — none of it sitting in a neatly labeled database column.
That sprawl is exactly what makes protected health information so hard to govern. An EHR's structured fields are access-controlled, but the same identifiers are re-typed into transcription queues, copied into research extracts, pasted into help-desk tickets, and emailed between departments. Before a hospital, health system, or digital health vendor can de-identify, minimize, or share any of this text, someone has to answer the foundational question: which spans of which documents contain PHI, and what kind?
Our PII Detection API answers it programmatically. Transformer-based NER models read clinical text in context and return every sensitive entity with its type, exact character offsets, and a confidence score — then optionally return a de-identified copy of the input in the same call via mask_mode. Detection is the foundation; Safe Harbor redaction, research release, breach scoping, and portal moderation all become downstream engineering once the entities are located.