Medication History De-Identification with anonym.plus

Strip every patient ID from the list while the regimen stays.

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

  1. Open the list in anonym.plus on your device.
  2. It scans for the name, dates, NHS number, and contacts.
  3. Local OCR reads scanned pages, so printed lists are caught.
  4. Confirm the flags; the medicine names are not IDs and stay.
  5. Swap each ID for a label, or shift the dates.
  6. Save the clean file; the source stays on your machine.

What you need to provide

Patient data entity types detected

Categoryanonym.plus entity typeExample
NamesPERSONCallum Fraser → [PATIENT]
DatesDATE_TIMEstarted 03/2024 → [DATE]
Record IDsMEDICAL_RECORD_NUMBERMRN 220914 → [MRN]
ContactEMAIL_ADDRESSc.fraser@example.com → [EMAIL]
LocationLOCATION12 Birch Lane → [ADDRESS]
IdentifiersNHS_NUMBER485 777 3456 → [NHS_NUMBER]

Compliance achieved

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.