Learning Disability and Autism Mental Health Act Logic Mental Health Service Data Set (MHSDS)
This guidance provides the logic behind the Mental Health Act (MHA) measure as reported in the Mental Health Services Data Set (MHSDS).
Mental Health Act (MHA)
The Mental Health Act1 (1983) is the main piece of legislation that covers the assessment, treatment and rights of people with a mental health disorder.
We aim to produce data for Learning Disabilities and Autism (LDA) inpatients that are accessing the mental health services and are subject to MHA. We will also report which parts of the Act these people are subject to.
This measure will be split by all activities in the month; that is admitted and discharged, admissions,’ ‘discharges, and open at the end of the month.
Similar measures to this are MHS08 – MHS09, MHS10, and MHS11. The ‘Monthly Data Measures’ tab in the MHSDS metadata has further details on these measures.
The logic
The following logic was applied in the MHA measure:
1. The person must be understood to have LDA and a hospital spell open at any point in the month.
2. If the person is subject to a concurrent (open) Conditional Discharge (MHS403), Community Treatment Order (MHS404) or Community Treatment Order Recall (MHS 405) and is subject to the MHA under sections 2, 3, 35, 36, 37 with section 41 restrictions, 37, 38, 44, 46, 47 with section 49 restrictions, 47, 48 with section 49 restrictions, 48, detained under the Criminal procedures act, detained under other acts or section 45A. Then the patient would be classed as informal.
3. If the patient has more than one MHA episode open at the end of the hospital spell (discharge date present) or the period (discharge date is null), then:
a. If one of the spells has a null end date and is ongoing that record should be used.
b. If one of the spells has a later end date use the later end date.
c. Section 2 or 3 should be prioritised over short term sections (sections 4, 5(2), 5(4), 19, 20).
d. If the sections are not section 2 or 3 the latest Start date should be used.
e. If the records have the same start date then the latest MHS401UniqID should be used.
4. Patients are then grouped using this extra bit of logic which is also used in our Assuring Transformation MHA report.
CASE
WHEN (cd.UniqMHSDSPersID is not null or cto.UniqMHSDSPersID is not null or cr.UniqMHSDSPersID is not null) AND
IC_Legal_Status IN ('02', '03', '07', '08', '09', '10', '12', '13', '14', '15', '16',
'17', '18', '31', '32', '37', '38') THEN 'Informal'
WHEN C.IC_Legal_Status IS NULL or IC_Legal_Status = '98' THEN 'Informal' WHEN C.IC_Legal_Status = '01' THEN 'Informal'
WHEN C.IC_Legal_Status in ('02','03') THEN 'Part 2'
WHEN C.IC_Legal_Status in ('07','08','10','12','13','14','16','18','34') THEN 'Part 3
no restrictions'
WHEN C.IC_Legal_Status in ('09','15','17') THEN 'Part 3 with restrictions'
WHEN C.IC_Legal_Status in ('04','05','06','19','20','31','32','35','36','37','38') THEN
'Other'
WHEN C.IC_Legal_Status in ('99') THEN 'Informal' ELSE 'Informal'
end
cd relates to the MHS403ConditionalDischarge table
cto relates to the MHS404CommTreatOrder table
cr relates to the MHS505CommTreatOrderRecall table
C relates to a subset derived using logic 1-3 above
The LDA Monthly Data Measures tab in the MHSDS metadata has further details on how the MHA measure is constructed. Learn more about the MHSDS metadata. Or see the MHSDS Technical Output Specification for further details on how the table is used.
Last edited: 12 October 2023 8:57 am