Mental Health Services Data Set Constraints

Data Set Constraints applied to the Mental Health Services Data Set.

Key to Data Set Constraint Column Headings:

Column NameColumn MeaningColumn Options
Format/LengthIndicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specificationNone = The Format/Length is the same as the NHS Data Model and DictionaryAny other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary
RangeIndicates whether a range value constraint has been applied in the data set specificationNone = There is no range value constraint applied in the data set specificationAny other entry = Shows the range value constraint applied in the data set specification
Pattern MatchIndicates whether a data pattern, to which the data must conform, has been applied in the data set specificationNone = There is no data pattern, to which the data must conform, applied in the data set specificationAny other entry = Shows the data pattern, to which the data must conform, applied in the data set specification

Data Set Constraints:

Data ElementFormat/LengthRangePattern MatchReason / Comment
ETHNIC CATEGORYmax an2NoneNoneExisting Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Data Set allows max an2
INDIRECT ACTIVITY PROCEDURE (SNOMED CT EXPRESSION)min an6 max an56NoneNoneThe SNOMED CT EXPRESSION base data element is not defined with a maximum length.
This data item constraint has been constrained to the recommended length for the MHSDS.
PATIENT SELF-DIRECTED DIGITAL INTERVENTION PROCEDURE (SNOMED CT EXPRESSION)min an6 max an56NoneNoneThe SNOMED CT EXPRESSION base data element is not defined with a maximum length.
This data item constraint has been constrained to the recommended length for the MHSDS.
PROCEDURE (SNOMED CT EXPRESSION)min an6 max an56NoneNoneThe SNOMED CT EXPRESSION base data element is not defined with a maximum length.
This data item constraint has been constrained to the recommended length for the MHSDS.
REFERRAL PROCEDURE (SNOMED CT EXPRESSION)min an6 max an56NoneNoneThe SNOMED CT EXPRESSION base data element is not defined with a maximum length.
This data item constraint has been constrained to the recommended length for the MHSDS.
UNIT OF MEASUREMENT (UCUM)max an20NoneNoneThe format/length of the UNIT OF MEASUREMENT (UCUM) is unconstrained in the NHS Data Model and Dictionary.  The MHSDS constrains the format/length to max an20