Pharmacy Claims De-Identification with anonym.plus

Strip the IDs from claims while the fill and cost data stay.

In simple terms, PII redaction is the on-device process of finding and masking personally identifiable information in a document before it is shared.

Pharmacy-claims de-identification is the removal of patient and member IDs from a claims extract. Reimbursement runs through NHSBSA Prescription Services under the NHS (Pharmaceutical and Local Pharmaceutical Services) Regulations 2013, but an analytics copy needs no names. anonym.plus does this locally and keeps the fill and cost fields intact.

When this applies

A claims extract ties many fills to one named member with a plan number. For spend or adherence analytics, the rows must still join per person — which a steady alias gives you without a real identity anywhere in the file.

How anonym.plus handles it

  1. Point anonym.plus at the extract on your device.
  2. It scans ID columns and any free-text notes.
  3. Member names, plan numbers, and dates get flagged.
  4. Confirm the flags; the medicine and cost stay as non-IDs.
  5. Swap IDs with a steady map to keep row joins.
  6. Save the clean dataset; the source stays on your machine.

What you need to provide

Patient data entity types detected

Categoryanonym.plus entity typeExample
NamesPERSONmember_name → [MEMBER_n]
IdentifiersNATIONAL_IDplan no. → [PLAN_ID]
DatesDATE_TIMEfill_date → shifted [DATE]
Record IDsMEDICAL_RECORD_NUMBERclaim no. → [CLAIM_ID]
LocationLOCATIONpostcode → [POSTCODE]
IdentifiersNHS_NUMBERNHS no. → [NHS_NUMBER]

Compliance achieved

Anonymise pharmacy claims offline — see plans & start free →

Limitations & cautions

A full postcode can identify a very small area, so truncate it where the ICO motivated-intruder test requires. The medicine and cost stay. Test a sample before a full run, and check that date-shift keeps the gaps your analysis needs. A steady alias map is pseudonymisation, not anonymisation, while you hold the key.

Frequently asked questions

Can claims stay linkable after the swap?

Yes. A steady label map swaps each ID the same way, so rows for one member still join while no real identity is left in the file.

Are the medicine and cost fields kept?

Yes. They are not member identifiers, so they stay. Only the personal ID types are removed.

Why work locally rather than in the cloud?

Sending raw claims to a cloud tool is itself a disclosure with breach risk, and it pulls a processor into scope under UK GDPR Art. 28. Local work skips both.