Professional Documents
Culture Documents
Mental Health Services Data Set (MHSDS) Autism Statistics: Metadata File
Mental Health Services Data Set (MHSDS) Autism Statistics: Metadata File
Mental Health Services Data Set (MHSDS) Autism Statistics: Metadata File
Metadata file
Introduction
This document describes the technical construction of measures published as part of the Autism Statistics series, taken from the Mental Health Services Dataset (MHSDS).
The metadata will also help people with access to record level MHSDS extracts from the Data Processing Service (DPS) who wish to reproduce these measures from record level MHSDS monthly data.
We welcome feedback on this document and any suggestions for improvement. Feedback can be provided by emailing enquiries@nhsdigital.nhs.uk quoting MHSDS in the email subject title.
Useful links
MHSDS Data specification
https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-sets/mental-health-services-data-set/mental-health-services-data-set-specifications-and-guidance
NHS Data Dictionary: MHSDS
http://www.datadictionary.nhs.uk/data_dictionary/messages/clinical_data_sets/data_sets/mental_health_services_data_set_fr.asp?shownav=1
Monthly Learning Disability Services Statistics
https://digital.nhs.uk/data-and-information/publications/statistical/learning-disability-services-statistics
Mental Health Services Dataset (MHSDS)
Metadata file Version History
The period for each table is 3 months, the first period starting on
Period
01/04/2018.
The following counts provide the basis for the measures in the file:
FORWARD MODEL
WHERE
ReferralRequestReceivedDate BETWEEN PERIOD Start and end
Count of the number of referrals at the end of the RP where the reason
IC_Use_Submission_Flag C MHS101Referral AND
for referral is 'suspected autism' and add to the referrals total.
[PrimReasonReferralMH] = '25'
AND
[Record_End_Date] IS NULL
WHERE
Count of the number of Other referrals at the end of the RP where the
IC_Use_Submission_Flag C MHS103OtherReasonReferrall ReferralRequestReceivedDate BETWEEN PERIOD Start and end
reason for referral is 'suspected autism' and add to the referrals total.
AND
[OtherReasonReferMH] = '25'
AND
[Record_End_Date] IS NULL
WHERE
[ConsMediumUsed] in ('01','03')
Patient count with care contact date after the Count of the number of referrals in the period receiving Care Contact on
IC_Use_Submission_Flag C+S MHS201CareContact AND
referral date. or after the referral.
[ReferralRequestReceivedDate] <= C.[CareContDate]
AND
[AttendOrDNACode] in ('5','6')
CASE
WHEN AgeRepPeriodEnd between 0 and 17 then 'Under 18'
WHEN AgeRepPeriodEnd between 18 and 34 then '18-24'
WHEN AgeRepPeriodEnd between 18 and 34 then '25-34'
WHEN AgeRepPeriodEnd between 35 and 64 then '35-44'
Age IC_Use_Submission_Flag Age, in years, as recorded at time of referral C MHS001MPI
WHEN AgeRepPeriodEnd between 35 and 64 then '45-54'
WHEN AgeRepPeriodEnd between 35 and 64 then '55-64'
WHEN AgeRepPeriodEnd > 64 then 'Over 65'
ELSE 'Unknown'
END
CASE
WHEN Gender = '1' then 'Male'
WHEN Gender = '2' then 'Female'
Gender IC_Use_Submission_Flag Person gender code recorded in submission C MHS001MPI
WHEN Gender = '9' then 'Not stated'
WHEN Gender in ('X','0') OR Gender IS null then 'Unknown'
END
CASE
WHEN Age_at_Ref between 0 and 17
THEN 'Under 18'
WHEN Age_at_Ref between 18 and 24
THEN '18 - 24'
WHEN Age_at_Ref between 25 and 34
THEN '25 - 34'
WHEN Age_at_Ref between 35 and 44
Ethnicity IC_Use_Submission_Flag Ethnic category recorded in submission C MHS101Referral THEN '35 - 44'
WHEN Age_at_Ref between 45 and 54
THEN '45 - 54'
WHEN Age_at_Ref between 55 and 64
THEN '55 - 64'
WHEN Age_at_Ref > 64
THEN '65 and Over'
ELSE 'Unknown'
END AS Age_Group