Pseudonymising Mental Health Detention Papers – UK GDPR-compliant anonymisation per Mental Health Act 1983
Mental health detention documentation — including assessment reports, detention recommendations, and Nearest Relative notifications — constitutes special-category health data under UK GDPR Art. 9 and is processed under the health-condition basis in DPA 2018 Schedule 1 Part 1. anonym.legal pseudonymises patient, Nearest Relative, and clinician identifiers while preserving the statutory basis and clinical assessment narrative required for legal review and tribunal preparation.
When this applies
This task applies when detention papers are reviewed by mental health tribunals, independent reviewing solicitors, or academic researchers analysing detention patterns, and those reviewers require the clinical and statutory content of the documentation but not the identities of individual patients or their relatives.
How anonym.legal handles it
- Upload the detention assessment documentation (PDF or DOCX) to anonym.legal.
- The engine identifies patient name, date of birth, address, NHS number, Nearest Relative name and relationship, and the names of the approved mental health professional and responsible clinician.
- Each named individual is pseudonymised with a consistent pseudonym; the statutory basis and clinical assessment narrative are preserved in clear text.
- Detention duration, renewal dates, and statutory review timelines are preserved.
- A reversible mapping table is produced with UK data residency, accessible only to the Data Controller.
- The pseudonymised documentation is released for approved review; the mapping key is retained for re-identification when required for tribunal proceedings.
What you provide
- Mental health assessment and detention recommendation documents
- Nearest Relative notification correspondence (if included)
- Any accompanying care plan or risk-assessment documentation
Limitations & cautions
- Detention documentation submitted to the Mental Health Tribunal Service must contain the patient's real identity — the pseudonymised version is for pre-submission review only.
- The DPA 2018 Schedule 1 Part 1 health condition requires processing to be for health or social care purposes; confirm the lawful basis before using pseudonymised records for secondary analysis.
- The tool pseudonymises personal data but does not assess the legal sufficiency of the detention criteria — obtain specialist mental health law advice.
FAQ
Can pseudonymised detention papers be used for academic research on compulsory admission rates?
Pseudonymised papers may be suitable for research under an HRA-approved protocol, but formal anonymisation or a section 251 NHS Act 2006 support waiver may be required depending on the research design. Consult the Health Research Authority before commencing.
Are Nearest Relative details pseudonymised as well as patient details?
Yes. Named Nearest Relatives and their stated relationship to the patient are pseudonymised individually; the relationship type (e.g. spouse, parent) is preserved to maintain the statutory context.
Does the engine handle documentation completed on different statutory forms?
Yes. The engine detects named individuals irrespective of the form layout. Different statutory forms are processed in the same batch with consistent pseudonymisation.