Medication-history de-identification is the removal of patient IDs from a drug list. It meets UK GDPR Art. 9 and DPA 2018. anonym.plus does this locally. The regimen stays readable; the file no longer names the person.
When this applies
A drug list ties many medicines to one named patient over time. For research or teaching, you strip the IDs but keep the regimen and the date gaps.
How anonym.plus handles it
- Open the list in anonym.plus on your device.
- It scans for the name, dates, NHS number, and contacts.
- Local OCR reads scanned pages, so printed lists are caught.
- Confirm the flags; the medicine names are not IDs and stay.
- Swap each ID for a label, or shift the dates.
- Save the clean file; the source stays on your machine.
What you need to provide
- The list (PDF, DOCX, TXT, or EPR export).
- An operator (Replace keeps the list readable).
- Optional date-shift to keep the start-and-stop gaps.
Patient data entity types detected
| Category | anonym.plus entity type | Example |
|---|---|---|
| Names | PERSON | Callum Fraser → [PATIENT] |
| Dates | DATE_TIME | started 03/2024 → [DATE] |
| Record IDs | MEDICAL_RECORD_NUMBER | MRN 220914 → [MRN] |
| Contact | EMAIL_ADDRESS | c.fraser@example.com → [EMAIL] |
| Location | LOCATION | 12 Birch Lane → [ADDRESS] |
| Identifiers | NHS_NUMBER | 485 777 3456 → [NHS_NUMBER] |
Compliance achieved
- Strips identifiers under UK GDPR Art. 9 & DPA 2018.
- Anonymisation assessed per the ICO Anonymisation Code motivated-intruder test.
- Keeps the medicines, which are not patient identifiers.
Anonymise medication histories offline — see plans & start free →
Limitations & cautions
UK GDPR Recital 26 and the ICO Anonymisation Code require that re-identification is not reasonably likely. The tool removes the direct IDs. The medicines stay. A rare regimen plus a small area can still hint at one person, so assess residual risk.
Frequently asked questions
What identifiers are removed?
Names, NHS numbers, addresses, dates tied to the person, phone, email, MRN, and any other code that could identify the patient under the ICO motivated-intruder test.
Are the medicines treated as identifiers?
No. Drug names are clinical content, not personal data in themselves, so they stay. The list is still useful for research after the IDs go.
Can the date gaps survive the swap?
Yes. Date-shift moves all dates by one offset, so the start-and-stop gaps stay intact.