Prescription de-identification is the removal of personal identifiers from an electronic prescription. Regulation 214 of the Human Medicines Regulations 2012 requires a prescription-only medicine to be supplied against a prescription from an appropriate practitioner, which is why the script carries prescriber detail as well as patient detail. In England most scripts travel through the NHS Electronic Prescription Service. anonym.plus runs offline and keeps the drug, dose, and directions that prescribing analysis needs.
When this applies
An e-script names the patient and the prescriber and carries a prescriber code and a pharmacy address. Prescribing-pattern studies work on the drug and dose columns. National analysis of this kind runs on NHS Business Services Authority prescribing data, which is already aggregated.
How anonym.plus handles it
- Open the script in anonym.plus on your device.
- It finds patient, prescriber, and pharmacy identifiers.
- Drug name, dose, and directions stay in place.
- Swap each identifier for a clear label, or hide it.
- Save the clean script on your device.
What you need to provide
- The script (PDF, DOCX, or structured NHS export).
- An operator: Replace keeps the directions readable.
- Optional role map for [PATIENT] and [PRESCRIBER].
Patient data entity types detected
| Category | anonym.plus entity type | Example |
|---|---|---|
| Names | PERSON | patient name → [PATIENT] |
| Names | PERSON | Dr Haines → [PRESCRIBER] |
| Identifiers | ID | prescriber code → [PRESCRIBER_ID] |
| Dates | DATE_TIME | written 05 Jun → [DATE] |
| Location | LOCATION | pharmacy address → [PHARMACY] |
| NHS number | NHS_NUMBER | NHS 552 108 9900 → [NHS_NO] |
Compliance achieved
- Strips prescribing detail that is special category health data under UK GDPR Art. 9(1).
- Held on the same DPA 2018 Schedule 1, Part 1, paragraph 2 condition the prescribing service relies on.
- Leaves the dispensable original intact, as regulation 214 of the Human Medicines Regulations 2012 (SI 2012/1916) requires a valid prescription for supply.
- Works on exports from the NHS Electronic Prescription Service.
- Recognises the extra particulars regulation 15 of the Misuse of Drugs Regulations 2001 requires on a Schedule 2 or 3 controlled drug prescription.
- Prescriber codes and pharmacy addresses are treated as direct identifiers.
Anonymise digital prescriptions offline — see plans & start free →
Limitations & cautions
The prescriber code and the NHS number must go. The drug, dose, and directions stay and are not treated as identifiers. A rare drug at a small pharmacy can still add to re-identification risk for the patient.
Frequently asked questions
Can a de-identified script still be dispensed?
No, and it should not be. Regulation 214 of the Human Medicines Regulations 2012 requires a prescription-only medicine to be supplied against a prescription from an appropriate practitioner, which means the dispensing copy must stay complete. De-identification is for the analysis copy only.
Are controlled drug prescriptions different?
They carry more mandatory detail. Regulation 15 of the Misuse of Drugs Regulations 2001 sets extra particulars for Schedule 2 and Schedule 3 prescriptions, so those scripts contain more fields that identify the prescriber and the patient. Strip them from the copy, never from the original.
Do the drug and dose survive?
Yes. The drug, the dose, and the directions remain, so prescribing analysis runs while the personal identifiers are gone.