./redact --phi --log
Every Removed Span, Logged for the Privacy Officer.
Phi de-identification is where a privacy programme meets a document. Identifiers have to come out of forms and prose alike, by a rule the programme chose, with a log the officer can audit.

De-identified data is what makes research, quality improvement and teaching possible without a consent form for every chart. The rules for producing it are the privacy programme's; the labour of producing it is a document task. This page covers the labour and sits under the page on healthcare compliance.
Two Methods, One Model

Programmes de-identify either by removing a defined list of identifier types, or by having an expert determine that re-identification risk is very small. Our Redact model, Veilbrook, serves both. For the first, it is configured with the identifier list and removes or replaces each type. For the second, it produces the candidate dataset and the span log that the expert reviews. The model does not choose the method. It applies it, consistently, across a whole extract.
Replacement matters as much as removal. A research dataset that needs to follow one patient across visits needs consistent placeholders, and dates that are shifted rather than deleted. Those are configuration choices your programme makes and the model applies.
Where Identifiers Hide
Names in the narrative, including relatives and clinicians. Dates in the plan. Facility names. Hospital numbers stamped on scanned pages, read by the Read model first. A town in the social history. Ages above a threshold your rule defines. An employer. A rare condition in a small population, which no list catches and which the reviewer must judge. Form fields are the easy part; free text is where the model earns its place.
The Log

Every span the model removed or replaced is written to a log with its location, type and confidence. Every span it was unsure about is flagged for a person. The log stays on the appliance's storage, under your retention policy, and is the document the privacy officer reviews and the document an auditor asks for. On a Tavaka appliance in your building, the identified extract is read from your system, the de-identified copy and the log are written back, and nothing is uploaded.
What We Measure and What We Admit
On a frozen test set of 70 unseen files from insurance, legal and accounting work, the model scored 97.6 %. Clinical narrative is harder, and our 99 % target is not reached. The scoring pipeline is locked by checksum and the failures are published with the scores. Before any commitment we run the model on a sample of your own records, already de-identified by your staff, and hand you the comparison in writing. The broader question of what local processing means for your obligations is covered in our guide to hipaa compliant ai for healthcare.
Review every list. We built the model to be reviewed, not trusted.

Prove it on your documents.
Every engagement starts the same way: we run the system on a sample of your own files, under NDA/DPA, and hand you a written report with the scores, misses included. No commitment.