CLINICAL NOTES AND PATIENT PRIVACY
Clinical note de-identification with local PHI redaction
Prepare referral letters, discharge notes and other clinical text for approved AI drafting. DataAnonymiser replaces detected patient identifiers on your own device, lets you review what remains, and puts the real details back into the AI's answer. Patient information stays on your device while you prepare it. Redaction does not by itself establish HIPAA de-identification or authorise a disclosure, and a responsible professional still checks any AI-generated wording.
REFERRAL NOTE
Dear colleague, I am referring Maria Lopez (born 14/03/1958, MRN 4471209) for a cardiology review of new chest pain on exertion. Her daughter Elena can be reached on +44 20 7946 0321.
WHAT THE AI SEES
Dear colleague, I am referring [first_name_1] [last_name] (born [date_of_birth], [medical_record_number]) for a cardiology review of new chest pain on exertion. Her daughter [first_name_2] can be reached on [phone_number].
AI SUMMARY · RESTORED ON YOUR DEVICE
Referral summary: Maria Lopez, born 14/03/1958, MRN 4471209. Reason: new chest pain on exertion, cardiology review requested. Contact: daughter Elena, +44 20 7946 0321.
What is clinical note de-identification?
Clinical note de-identification removes information that connects a medical narrative to a person. The name at the top of a letter is the obvious part; the rest hides in family history, appointment references, quoted messages and descriptions of unusual events.
Redaction, replacing a value with a label such as [phone_number], is one step in that work. On its own it does not show that a note meets a legal de-identification standard: the remaining narrative, the recipient and the intended use decide that.
What patient information should you review in a clinical note?
- Direct identifiers, everywhere. Names, contact details, addresses, patient and insurance references, account numbers and appointment details, including in headers, footers, signatures and copied correspondence. A reference repeated on page three survives a review of page one.
- Relatives and context. A carer's name, a workplace or a distinctive event can point to the patient after their name is gone. Keep only the relationships the task needs.
- Dates and chronology. A date can identify someone and also explain the sequence of care. Do not swap it for an invented value; apply your approved approach and check the text still serves its purpose.
- Details the task does not need. Reformatting a referral rarely needs the patient's email or a relative's phone number. Leave out what the task does not use, rather than redacting it and sending the rest.
- Recognisable cases. For teaching material, an invented scenario is often safer than a real case with the names removed: an unusual occupation or event can still be recognised by colleagues.

HIPAA Safe Harbor and Expert Determination: where redaction fits
- Two routes. HHS describes Safe Harbor, removing specified identifiers with no actual knowledge that what remains could identify the person, and Expert Determination, where a qualified expert documents a very small identification risk. [1]
- Free text counts. The identifier rules apply to narrative text as well as structured fields, with specific provisions for dates and for ages over 89. [1]
- Where DataAnonymiser fits. It is a redaction and review aid. It does not certify Safe Harbor, perform an Expert Determination or make a workflow HIPAA compliant; choose the process with your privacy team.
The 18 HIPAA Safe Harbor identifiers
Safe Harbor lists eighteen kinds of identifier, for the individual and for their relatives, employers and household members. Grouped for a review: [1]
- Names. Of the patient and of relatives, employers and household members.
- Locations smaller than a state. Street address, city, county and ZIP code; the first three ZIP digits may stay only under the population condition HHS sets out.
- Dates and ages. Every element of a date except the year, such as birth, admission, discharge and death, and all ages over 89.
- Contact and online details. Telephone and fax numbers, email addresses, web URLs and IP addresses.
- Numbers. Social Security, medical record, health plan beneficiary, account, and certificate or licence numbers; vehicle identifiers including licence plates; device identifiers and serial numbers.
- Biometrics and images. Biometric identifiers such as finger and voice prints, and full-face photographs or comparable images.
- Anything else unique. Any other unique identifying number, characteristic or code.
- What DataAnonymiser covers. It has detection categories for names, locations, dates and ages, contact details, URLs, IP addresses and each of the number types above. It works on text, so photographs are not redacted, and detection is best-effort: check every category and add custom terms for local formats.
Patient-data redaction, pseudonymisation and GDPR
- Different standards. Under EU law, pseudonymisation reduces the link to a person while anonymisation removes identifiability; only truly anonymous information falls outside data protection law. A note full of placeholders is not automatically anonymous. [2]
- The AI never gets the key, and it does not outlive the session. While you work, the app holds the mapping from placeholders to real values in memory so the AI's answer can be restored. The AI service never receives it, and it is destroyed when the session ends.
- Context still matters. What can still identify the patient is the narrative left in the text. Do not treat US de-identification terms as a GDPR conclusion, or the reverse; have the responsible team assess the intended use.
A four-step workflow for redacting clinical notes before AI use
- 1. Pick the task and the smallest excerpt. Use an AI service your organisation has approved, work from an authorised copy, and leave out attachments and history the task does not need.
- 2. Redact, then read what is left. Check each substitution and any warnings, then the story itself: recognisable circumstances, other people, and dates, negation and units still intact.
- 3. Send only the prepared text. Ask the AI to keep every placeholder and add no facts.
- 4. Restore and check the answer. The real values go back on your device. “Transport has not yet been arranged” and “has been arranged” differ by two words, and WHO warns that generative models in health can be inaccurate or incomplete, so check every person and statement. [4]
Prepare clinical notes on your own device
Individual runs on the device; Enterprise runs on a server your organisation operates. Neither sends clinical content to DataAnonymiser.
Scanned letters, PDFs and screenshots need an extra check
- Extraction comes first. A typed PDF, a scan and a screenshot can yield different text. Compare the extracted passage with the visible source, especially headers, handwriting, tables and small print.
- Text out, not a redacted scan. The image workflow produces text for review. It does not blur the source image or strip its metadata, so share the reviewed text, not the original file.
- A scan is not a release. A DLP folder scan reports findings; it does not turn every file in the folder into a releasable clinical note.
Where patient data is processed, and where it goes next
- Redaction stays local. Individual processes content on the device; Enterprise uses a server your organisation installs and operates in its own network. Neither sends clinical content to DataAnonymiser-operated infrastructure.
- Sharing is a separate decision. Pasting the output into an AI service is a disclosure in its own right. Check the service, the account, the contract terms and the permitted purpose.
- PHI rules can still apply. HHS treats a cloud provider handling electronic PHI for a covered entity as a business associate that needs an agreement. Placeholders do not remove that when the text is still PHI. [3]
- Other copies. Closing the app does not delete the original record, clipboard copies or saved files, and patient-specific values do not belong in reusable term presets unless their storage is approved.

Frequently asked
Questions about this workflow.
Does removing a patient's name de-identify a clinical note?
Not by itself. Other identifiers and recognisable narrative details can remain. Review the entire intended disclosure under your organisation's applicable de-identification process rather than treating name removal as the final decision.
Does DataAnonymiser certify HIPAA de-identification?
No. DataAnonymiser helps redact and review text; it does not certify Safe Harbor, provide an Expert Determination or make a workflow compliant. Your organisation must select and assess the applicable process before disclosure.
Can I use the output with any AI tool?
Use only a destination and workflow your organisation has approved for the information involved. Redacted text can still contain personal or confidential information, and a privacy review does not validate an AI tool's clinical accuracy.
Does patient data reach DataAnonymiser's servers?
No clinical content is sent to vendor-operated infrastructure for processing. Individual processing stays on the device. Explicitly configured Enterprise clients can send content to a server your organisation installs and operates within its own network.
Can I restore patient details after editing?
Recognised placeholders can be restored while the relevant session mapping remains available. Check every identity and relationship afterwards. Restoration cannot recover wording an AI omitted or verify that a statement still concerns the right person.
Does redacting extracted text also redact the original scan?
No. The image workflow produces text, not a pixel-redacted scan. The original file can retain identifiers in visible content and metadata. Keep it separate from the reviewed output and use the approved process for sharing documents.
Will the clinical meaning remain unchanged?
That must be checked. Extraction, substitution and later AI editing can omit or alter relevant detail. Compare the result with the source and obtain the appropriate clinical review before using it in care or adding it to a patient record.
Related
Where else this comes up.
PSEUDONYMISATION
A local pseudonymisation tool to replace and restore identifiers
Replace identifiers with consistent placeholders and restore them locally during the working session. Review documents before sharing with AI or another reader.
GDPR ANONYMIZATION
GDPR anonymization software for sensitive document workflows
Evaluate document redaction for GDPR data minimisation, with local or customer-hosted processing and human review before sharing.
COMPARE
How this compares to the alternatives
Cloud redaction APIs, browser-only extensions and self-hosted libraries — what each one trades away.
REFERENCE
What is data anonymisation?
How anonymisation, pseudonymisation and masking differ in law, and which one actually takes data outside GDPR.
This guide covers document preparation, not medical or legal advice. DataAnonymiser does not guarantee complete PHI removal, HIPAA de-identification, GDPR anonymity or clinical accuracy. Use your organisation's approved privacy and clinical review processes.