NHS Data Model and DictionaryNHS Digital
Type:Patch
Reference:1832
Version No:1.0
Subject:Update to Constraints Pages
Effective Date:Immediate
Reason for Change:Patch
Publication Date:26 July 2021

Background:

This patch adds a key to the Data Set Constraints and XML Constraints pages to avoid any confusion over the column headings.

A short demonstration is available which describes "How to Read an NHS Data Model and Dictionary Change Request", in an easy to understand screen capture including a voice over and readable captions. This demonstration can be viewed at: https://datadictionary.nhs.uk/elearning/Change_Request/index.html.

Note: if the web page does not open, please copy the link and paste into the web browser. A guide to how to use the demonstration can be found at: Demonstrations.

Summary of changes:

XML Schema Constraint
CANCER OUTCOMES AND SERVICES DATA SET XML SCHEMA CONSTRAINTS   Changed Description
COMMISSIONING DATA SET VERSION 6-2-1 XML SCHEMA CONSTRAINTS   Changed Description
COMMISSIONING DATA SET VERSION 6-2-2 XML SCHEMA CONSTRAINTS   Changed Description
COMMISSIONING DATA SET VERSION 6-2-3 XML SCHEMA CONSTRAINTS   Changed Description
COMMISSIONING DATA SET VERSION 6-2 XML SCHEMA CONSTRAINTS   Changed Description
COMMUNITY SERVICES DATA SET CONSTRAINTS   Changed Description
CRITICAL CARE MINIMUM DATA SET CONSTRAINTS   Changed Description
DEVICES PATIENT LEVEL CONTRACT MONITORING DATA SET CONSTRAINTS   Changed Description
DIAGNOSTIC IMAGING DATA SET XML SCHEMA CONSTRAINTS   Changed Description
DRUGS PATIENT LEVEL CONTRACT MONITORING DATA SET CONSTRAINTS   Changed Description
HIV AND AIDS REPORTING DATA SET XML SCHEMA CONSTRAINTS   Changed Description
IMPROVING ACCESS TO PSYCHOLOGICAL THERAPIES DATA SET CONSTRAINTS   Changed Description
MENTAL HEALTH SERVICES DATA SET CONSTRAINTS   Changed Description
NATIONAL CANCER WAITING TIMES MONITORING DATA SET CONSTRAINTS   Changed Description
NATIONAL NEONATAL DATA SET CONSTRAINTS   Changed Description
PATIENT LEVEL CONTRACT MONITORING DATA SET CONSTRAINTS   Changed Description
PLICS ACUTE ADMITTED PATIENT CARE DATA SET CONSTRAINTS   Changed Description
PLICS ACUTE EMERGENCY CARE DATA SET CONSTRAINTS   Changed Description
PLICS ACUTE OUT-PATIENT CARE DATA SET CONSTRAINTS   Changed Description
PLICS ACUTE SPECIALIST WARD CARE DATA SET CONSTRAINTS   Changed Description
PLICS ACUTE SUPPLEMENTARY INFORMATION DATA SET CONSTRAINTS   Changed Description
PLICS AMBULANCE DATA SET CONSTRAINTS   Changed Description
PLICS IMPROVING ACCESS TO PSYCHOLOGICAL THERAPIES DATA SET CONSTRAINTS   Changed Description
PLICS MENTAL HEALTH ADMITTED PATIENT CARE DATA SET CONSTRAINTS   Changed Description
PLICS MENTAL HEALTH CARE CONTACTS DATA SET CONSTRAINTS   Changed Description
PLICS RECONCILIATION DATA SET CONSTRAINTS   Changed Description
SYSTEMIC ANTI-CANCER THERAPY DATA SET CONSTRAINTS   Changed Description
 

Date:26 July 2021
Sponsor:Nicholas Oughtibridge, Head of Information Standards Architecture, NHS Digital

Note: New text is shown with a blue background. Deleted text is crossed out. Retired text is shown in grey. Within the Diagrams deleted classes and relationships are red, changed items are blue and new items are green.

Click here for a printer friendly view of this page.


CANCER OUTCOMES AND SERVICES DATA SET XML SCHEMA CONSTRAINTS

Change to XML Schema Constraint: Changed Description

XML Schema constraints applied to the Cancer Outcomes and Services Data Set.XML Schema Constraints applied to the Cancer Outcomes and Services Data Set.

The "Allowed Values" column indicates the NHS Data Model and Dictionary National Codes and Default Codes present in the XML Schema:Key to XML Schema Constraint Column Headings:

  • None = The National Codes and Default Codes are included in the XML Schema
  • Removed = The National Codes and Default Codes are not included in the XML Schema.
Column NameColumn MeaningColumn Options
XML Schema Format/LengthIndicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representationNone = The Format/Length is the same as the NHS Data Model and DictionaryAny other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary 
Allowed ValuesIndicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML SchemaNone = The NHS Data Model and Dictionary National and Default Codes are present in the XML SchemaRemoved = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML SchemaAny other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary
RangeIndicates whether a range value constraint has been applied in the XML SchemaNone = There is no range value constraint applied in the XML SchemaAny other entry = Shows the range value constraint applied in the XML Schema 
Pattern MatchIndicates whether a data pattern, to which the data must conform, has been applied in the XML SchemaNone = There is no data pattern, to which the data must conform, applied in the XML SchemaAny other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema 

XML Schema Constraints:

Data ElementXML Schema Format/LengthAllowed ValuesRangePattern MatchReason / Comment / XML Choice
ABBREVIATED MENTAL TEST SCORENone
None
0-10
None
Range 0-10
ALLRED SCORE (ESTROGEN RECEPTOR)None
None
0 and 2-8
None
Range 0 and 2-8
ALLRED SCORE (PROGESTERONE RECEPTOR)None
None
0 and 2-8
None
Range 0 and 2-8
BONE MARROW BLAST CELLS PERCENTAGENone
None
0-100
None
Range 0-100
BODY MASS INDEXNone
None
None
\d{2}(\.\d){1}
Format pattern applied to allow correct reporting of BODY MASS INDEX
BRESLOW THICKNESSNone
None
None
\d{1,2}\.\d{1,2}
Format pattern applied to allow correct reporting of BRESLOW THICKNESS
CANCER SYMPTOMS FIRST NOTED DATENone
None
None
((19|20)\d\d-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])|(19|20)\d\d-(0[1-9]|1[012])|(19|20)\d\d)
Format pattern applied to allow correct reporting of CANCER SYMPTOMS FIRST NOTED DATE
CARDIOPULMONARY EXERCISE TEST RESULTNone
None
0-200
None
Range 0-200
CARE PROFESSIONAL MAIN SPECIALTY CODE (CANCER REFERRAL)None
Removed
None
None
National Codes and default codes not enumerated in the XML Schema
CARE PROFESSIONAL MAIN SPECIALTY CODE (DIAGNOSIS)None
Removed
None
None
National Codes and default codes not enumerated in the XML Schema
CELLULARITY PERCENTAGENone
None
0-100
None
Range 0-100
CHRONIC MYELOID LEUKAEMIA INDEX SCORE (SOKAL)None
None
None
\d{1}(\.\d){1}
Format pattern applied to allow correct reporting of CHRONIC MYELOID LEUKAEMIA INDEX SCORE (SOKAL)
COSDS SUBMISSION IDENTIFIERNone
None
None
[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}
Format pattern applied to allow correct reporting of COSDS SUBMISSION RECORD COUNT
COSDS UNIQUE IDENTIFIERNone
None
None
[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}
Format pattern applied to allow correct reporting of COSDS UNIQUE IDENTIFIER
DIAGNOSIS (SNOMED CT)None
None
None
[0-9]{6,18}
Format pattern applied to allow correct reporting of DIAGNOSIS (SNOMED CT)
DIFFUSION CAPACITY TEST RESULTNone
None
0-200
None
Range 0-200
DISTANCE BEYOND MUSCULARIS PROPRIANone
None
None
\d{1,3}\.\d{1,2}
Format pattern applied to allow correct reporting of DISTANCE BEYOND MUSCULARIS PROPRIA
DISTANCE FROM DENTATE LINENone
None
None
\d{1,3}\.\d{1,2}
Format pattern applied to allow correct reporting of DISTANCE FROM DENTATE LINE
DISTANCE TO CLOSEST NON PERITONEALISED RESECTION MARGINNone
None
None
\d{1,2}\.\d{1,2}
Format pattern applied to allow correct reporting of DISTANCE TO CLOSEST NON PERITONEALISED RESECTION MARGIN
DISTANCE TO MARGINNone
None
None
\d{1,2}\.\d{1}
Format pattern applied to allow correct reporting of DISTANCE TO MARGIN
ETHNIC CATEGORYmax an2
None
None
None
Existing Format/Length an2 means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Second character can be for local use. XML Schema allows max an2
FOLLICULAR LYMPHOMA INTERNATIONAL PROGNOSTIC INDEX 2 SCORENone
None
0-5
None
Range 0-5
FORCED EXPIRATORY VOLUME IN 1 SECOND (ABSOLUTE AMOUNT)None
None
0.10-9.99
(0.1[0-9]{1}|0.[2-9]{1}[0-9]{1}|[1-9].\d\d){1}
Range 0.10 to 9.99.
Format pattern applied to allow correct reporting of FORCED EXPIRATORY VOLUME IN 1 SECOND (ABSOLUTE AMOUNT)
FORCED EXPIRATORY VOLUME IN 1 SECOND (PERCENTAGE)None
None
1-200
None
Range 1 to 200
GENERAL MEDICAL PRACTICE CODE (PATIENT REGISTRATION)None
Removed
None
[A-Z0-9]{6}
Default codes not enumerated in the XML Schema.
Format pattern applied to allow correct reporting of GENERAL MEDICAL PRACTICE CODE (PATIENT REGISTRATION)
GENERAL MEDICAL PRACTITIONER (SPECIFIED)None
Removed
None
None
Default codes not enumerated in the XML Schema
GLEASON GRADE (PRIMARY)None
None
2-5
None
Range 2-5
GLEASON GRADE (SECONDARY)None
None
2-5
None
Range 2-5
GLEASON GRADE (TERTIARY)None
None
3-5 and 8
None
Range 3-5 and 8
HASENCLEVER INDEX SCORENone
None
0-7
None
Range 0-7
IMAGING CODE (SNOMED CT)None
None
None
[0-9]{6,18}
Format pattern applied to allow correct reporting of IMAGING CODE (SNOMED CT)
INVASIVE THICKNESSNone
None
None
\d{1,2}\.\d{1,2}
Format pattern applied to allow correct reporting of INVASIVE THICKNESS
KI-67 PERCENTAGE RESULTNone
None
0-100
None
Range 0-100
LESION SIZE (PATHOLOGICAL)None
None
None
\d{1,3}\.\d{1,2}
Format pattern applied to allow correct reporting of LESION SIZE (PATHOLOGICAL)
LESION SIZE (RADIOLOGICAL)None
None
None
\d{1,3}\.\d{1,2}
Format pattern applied to allow correct reporting of LESION SIZE (RADIOLOGICAL)
LOCAL PATIENT IDENTIFIER (EXTENDED)min an1 max an20
None
None
None
Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
XML Schema allows min an1 max an20
MOLECULAR DIAGNOSTIC CODENone
None
None
(0[6-9]|[1-8][0-9]|9[012389])
Format pattern applied to allow correct reporting of MOLECULAR DIAGNOSTIC CODE
MORPHOLOGY (SNOMED CANCER TRANSFORMATION)None
None
None
[A-Z0-9]{6,18}
Format pattern applied to allow correct reporting of MORPHOLOGY (SNOMED CANCER TRANSFORMATION)
MORPHOLOGY (SNOMED DIAGNOSIS)None
None
None
[A-Z0-9]{6,18}
Format pattern applied to allow correct reporting of MORPHOLOGY (SNOMED DIAGNOSIS)
MORPHOLOGY (SNOMED PATHOLOGY)None
None
None
[A-Z0-9]{6,18}
Format pattern applied to allow correct reporting of MORPHOLOGY (SNOMED PATHOLOGY)
MULTIDISCIPLINARY TEAM MEETING TYPE (CANCER)None
Removed
None
None
National Codes not enumerated in the XML Schema
NHS NUMBERNone
None
None
[0-9]{10}
Format pattern applied to allow correct reporting of NHS NUMBER
NON INVASIVE TUMOUR SIZENone
None
None
\d{1,3}\.\d{1,2}
Format pattern applied to allow correct reporting of NON INVASIVE TUMOUR SIZE
NOTTINGHAM PROGNOSTIC INDEX SCORENone
None
None
\d{1,2}\.\d{1,2}
Format pattern applied to allow correct reporting of NOTTINGHAM PROGNOSTIC INDEX SCORE
ORGANISATION IDENTIFIER (CODE OF PROVIDER)min an3 max an5
Removed
None
[A-Z0-9]{3,5}
Default codes not enumerated in the XML Schema.
an6 is not applicable for the Cancer Outcomes and Services Data Set.
Format pattern applied to allow correct reporting of ORGANISATION IDENTIFIER (CODE OF PROVIDER).
ORGANISATION IDENTIFIER (CODE OF SUBMITTING ORGANISATION)None
None
None
[A-Z0-9]{3,6}
Format pattern applied to allow correct reporting of ORGANISATION IDENTIFIER (CODE OF SUBMITTING ORGANISATION)
ORGANISATION IDENTIFIER (REPORTING LABORATORY)None
None
None
[A-Z0-9]{3,5}
Format pattern applied to allow correct reporting of ORGANISATION IDENTIFIER (REPORTING LABORATORY)
ORGANISATION IDENTIFIER (OF AUTHORISING PATHOLOGIST)None
None
None
[A-Z0-9]{3,5}
Format pattern applied to allow correct reporting of ORGANISATION IDENTIFIER (OF AUTHORISING PATHOLOGIST)
ORGANISATION SITE IDENTIFIER (OF ACUTE ONCOLOGY ASSESSMENT)None
Removed
None
[A-Z0-9]{5}
Default codes not enumerated in the XML Schema.
Format pattern applied to allow correct reporting of ORGANISATION SITE IDENTIFIER (OF ACUTE ONCOLOGY ASSESSMENT).
ORGANISATION SITE IDENTIFIER (OF CANCER SITE SPECIFIC STAGE)None
Removed
None
[A-Z0-9]{5,9}
Default codes not enumerated in the XML Schema.
Format pattern applied to allow correct reporting of ORGANISATION SITE IDENTIFIER (OF CANCER SITE SPECIFIC STAGE).
ORGANISATION SITE IDENTIFIER (OF DIAGNOSIS)None
Removed
None
[A-Z0-9]{5,9}
Default codes not enumerated in the XML Schema.
Format pattern applied to allow correct reporting of ORGANISATION IDENTIFIER (CODE OF PROVIDER).
ORGANISATION SITE IDENTIFIER (OF DIAGNOSTIC PROCEDURE)None
Removed
None
[A-Z0-9]{5,9}
Default codes not enumerated in the XML Schema.
Format pattern applied to allow correct reporting of ORGANISATION SITE IDENTIFIER (OF DIAGNOSTIC PROCEDURE).
ORGANISATION SITE IDENTIFIER (OF IMAGING)None
Removed
None
[A-Z0-9]{5,9}
Default codes not enumerated in the XML Schema.
Format pattern applied to allow correct reporting of ORGANISATION SITE IDENTIFIER (OF IMAGING).
ORGANISATION IDENTIFIER (OF LABORATORY RESULT)None
Removed
None
[A-Z0-9]{3,5}
Format pattern applied to allow correct reporting of ORGANISATION IDENTIFIER (OF LABORATORY RESULT).
ORGANISATION SITE IDENTIFIER (OF MULTIDISCIPLINARY TEAM MEETING)None
Removed
None
[A-Z0-9]{5,9}
Default codes not enumerated in the XML Schema.
Format pattern applied to allow correct reporting of ORGANISATION SITE IDENTIFIER (OF MULTIDISCIPLINARY TEAM MEETING).
ORGANISATION SITE IDENTIFIER (OF PATHOLOGY TEST REQUEST)None
Removed
None
[A-Z0-9]{5,9}
Default codes not enumerated in the XML Schema.
Format pattern applied to allow correct reporting of ORGANISATION SITE IDENTIFIER (OF PATHOLOGY TEST REQUEST).
ORGANISATION SITE IDENTIFIER (OF PROVIDER CANCER TREATMENT START DATE) None
Removed
None
[A-Z0-9]{5,9}
Default codes not enumerated in the XML Schema.
Format pattern applied to allow correct reporting of ORGANISATION SITE IDENTIFIER (OF PROVIDER CANCER TREATMENT START DATE) .
ORGANISATION SITE IDENTIFIER (OF PROVIDER FIRST CANCER SPECIALIST)None
Removed
None
[A-Z0-9]{5,9}
Default codes not enumerated in the XML Schema.
Format pattern applied to allow correct reporting of ORGANISATION SITE IDENTIFIER (OF PROVIDER FIRST CANCER SPECIALIST).
ORGANISATION SITE IDENTIFIER (OF PROVIDER FIRST SEEN)None
Removed
None
[A-Z0-9]{5,9}
Default codes not enumerated in the XML Schema.
Format pattern applied to allow correct reporting of ORGANISATION SITE IDENTIFIER (OF PROVIDER FIRST SEEN).
ORGANISATION SITE IDENTIFIER (OF PROVIDER FIRST SEEN NON PRIMARY CANCER PATHWAY)None
Removed
None
[A-Z0-9]{5,9}
Default codes not enumerated in the XML Schema.
Format pattern applied to allow correct reporting of ORGANISATION SITE IDENTIFIER (OF PROVIDER FIRST SEEN NON PRIMARY CANCER PATHWAY)
ORGANISATION SITE IDENTIFIER (OF TNM STAGE GROUPING FINAL PRETREATMENT)None
Removed
None
[A-Z0-9]{5,9}
Default codes not enumerated in the XML Schema.
Format pattern applied to allow correct reporting of ORGANISATION SITE IDENTIFIER (OF TNM STAGE GROUPING FINAL PRETREATMENT).
ORGANISATION SITE IDENTIFIER (OF TNM STAGE GROUPING INTEGRATED)None
Removed
None
[A-Z0-9]{5,9}
Default codes not enumerated in the XML Schema.
Format pattern applied to allow correct reporting of ORGANISATION SITE IDENTIFIER (OF TNM STAGE GROUPING INTEGRATED)).
PERSON HEIGHT IN METRESNone
None
None
\d{1}(\.\d{1,2}){1}
Format pattern applied to allow correct reporting of PERSON HEIGHT IN METRES
PERSON WEIGHTNone
None
None
\d{1,3}\.\d{1,3}
Format pattern applied to allow correct reporting of PERSON WEIGHT
PRIMARY PROCEDURE (SNOMED CT)None
None
None
[0-9]{6,18}
Format pattern applied to allow correct reporting of PRIMARY PROCEDURE (SNOMED CT)
PROCEDURE (SNOMED CT)None
None
None
[0-9]{6,18}
Format pattern applied to allow correct reporting of PROCEDURE (SNOMED CT)
PROSTATE SPECIFIC ANTIGEN (DIAGNOSIS)None
None
None
\d{1,5}(\.\d){1}
Format pattern applied to allow correct reporting of PROSTATE SPECIFIC ANTIGEN (DIAGNOSIS)
REVISED INTERNATIONAL PROGNOSTIC INDEX SCORENone
None
0-5
None
Range 0-5
TOPOGRAPHY (SNOMED PATHOLOGY)None
None
None
[A-Z0-9]{6,18}
Format pattern applied to allow correct reporting of TOPOGRAPHY (SNOMED PATHOLOGY)
TRANSTHORACIC ECHOCARDIOGRAM TEST RESULTNone
None
0-100
None
Range 0-100
TUMOUR NECROSIS PERCENTAGENone
None
0-100
None
Range 0-100
TURP TUMOUR PERCENTAGENone
None
0-100
None
Range 0-100
UNINVOLVED CERVICAL STROMA THICKNESSNone
None
None
\d{1,2}\.\d{1,2}
Format pattern applied to allow correct reporting of UNINVOLVED CERVICAL STROMA THICKNESS
URINE VANILLYLMANDELIC ACID CREATININE RATIONone
None
0.0-10.0
\d\.[0-9]|10\.[0]
Range 0.0-10.0.
Format pattern applied to allow correct reporting of URINE VANILLYLMANDELIC ACID CREATININE RATIO
WHITE BLOOD CELL COUNT (HIGHEST PRETREATMENT)None
None
None
\d{1,3}(\.\d{1}){1}
Format pattern applied to allow correct reporting of WHITE BLOOD CELL COUNT (HIGHEST PRETREATMENT)
WHOLE TUMOUR SIZENone
None
None
\d{1,3}\.\d{1,2}
Format pattern applied to allow correct reporting of WHOLE TUMOUR SIZE

top


COMMISSIONING DATA SET VERSION 6-2-1 XML SCHEMA CONSTRAINTS

Change to XML Schema Constraint: Changed Description

XML Schema constraints applied to the:XML Schema Constraints applied to the:

The "Allowed Values" column indicates the NHS Data Model and Dictionary National Codes and Default Codes present in the XML Schema:Key to XML Schema Constraint Column Headings:

  • None = The National Codes and Default Codes are included in the XML Schema
  • Removed = The National Codes and Default Codes are not included in the XML Schema.
Column NameColumn MeaningColumn Options
XML Schema Format/LengthIndicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representationNone = The Format/Length is the same as the NHS Data Model and DictionaryAny other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary 
Allowed ValuesIndicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML SchemaNone = The NHS Data Model and Dictionary National and Default Codes are present in the XML SchemaRemoved = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML SchemaAny other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary
RangeIndicates whether a range value constraint has been applied in the XML SchemaNone = There is no range value constraint applied in the XML SchemaAny other entry = Shows the range value constraint applied in the XML Schema 
Pattern MatchIndicates whether a data pattern, to which the data must conform, has been applied in the XML SchemaNone = There is no data pattern, to which the data must conform, applied in the XML SchemaAny other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema 

XML Schema Constraints:

Data ElementXML Schema Format/LengthAllowed ValuesRangePattern MatchReason / Comment / XML Choice
ACTIVITY TREATMENT FUNCTION CODE (DECISION TO ADMIT)None
Removed
None
None
National Codes not enumerated in the XML Schema
AGE AT CDS ACTIVITY DATEmax n3
None
None
None
Existing Format/Length states max an3 - XML Schema allows max n3
CDS COPY RECIPIENT IDENTITYmin an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
CDS INTERCHANGE TEST INDICATORNone
0,1
None
None
Null value not allowed in XML Schema
CDS MESSAGE VERSION NUMBERan6
CDS062
None
None
Message version is hard coded in the XML Schema
CDS PRIME RECIPIENT IDENTITYmin an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
CDS SENDER IDENTITYmin an3 max an12
None
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
CODED CLINICAL ENTRY SEQUENCE NUMBERmax n5
None
None
None
Existing Format/Length states min n1 max n5 - XML Schema allows max n5
EMERGENCY CARE ATTENDANCE IDENTIFIERmax an12
None
None
None
Existing Format/Length states min an1 max an12 - XML Schema allows max an12
EMERGENCY CARE DEPARTMENT TYPENone
Removed
None
None
National Codes not enumerated in the XML Schema
EMERGENCY CARE PLACE OF INJURY (LATITUDE)None
None
-90.000000-90.000000
None
Range applied to allow correct reporting of EMERGENCY CARE PLACE OF INJURY (LATITUDE)
EMERGENCY CARE PLACE OF INJURY (LONGITUDE)None
None
-180.000000-180.000000
None
Range applied to allow correct reporting of EMERGENCY CARE PLACE OF INJURY (LONGITUDE)
ETHNIC CATEGORYmax an2
None
None
None
Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Second character can be for local use.
Format/Length amended to max an2
GENERAL MEDICAL PRACTICE CODE (PATIENT REGISTRATION)None
Removed
None
None
Default codes not enumerated in the XML Schema
GENERAL MEDICAL PRACTITIONER (SPECIFIED)None
Removed
None
None
National Codes and default codes not enumerated in the XML Schema
ORGANISATION IDENTIFIER (CODE OF COMMISSIONER)None
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION IDENTIFIER (CODE OF PROVIDER)min an3 max an5
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION IDENTIFIER (RESIDENCE RESPONSIBILITY)None
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION SITE IDENTIFIER (DISCHARGE FROM EMERGENCY CARE)None
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION SITE IDENTIFIER (EMERGENCY CARE ATTENDANCE SOURCE)None
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION SITE IDENTIFIER (OF TREATMENT)None
Removed
None
None
Default codes not enumerated in the XML Schema
WAITING TIME MEASUREMENT TYPENone
01,02,09
None
None
National Codes 03 and 04 not valid in Commissioning Data Sets

top


COMMISSIONING DATA SET VERSION 6-2-2 XML SCHEMA CONSTRAINTS

Change to XML Schema Constraint: Changed Description

XML Schema constraints applied to the:XML Schema Constraints applied to the:

The "Allowed Values" column indicates the NHS Data Model and Dictionary National Codes and Default Codes present in the XML Schema:Key to XML Schema Constraint Column Headings:

  • None = The National Codes and Default Codes are included in the XML Schema
  • Removed = The National Codes and Default Codes are not included in the XML Schema.
Column NameColumn MeaningColumn Options
XML Schema Format/LengthIndicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representationNone = The Format/Length is the same as the NHS Data Model and DictionaryAny other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary 
Allowed ValuesIndicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML SchemaNone = The NHS Data Model and Dictionary National and Default Codes are present in the XML SchemaRemoved = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML SchemaAny other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary
RangeIndicates whether a range value constraint has been applied in the XML SchemaNone = There is no range value constraint applied in the XML SchemaAny other entry = Shows the range value constraint applied in the XML Schema 
Pattern MatchIndicates whether a data pattern, to which the data must conform, has been applied in the XML SchemaNone = There is no data pattern, to which the data must conform, applied in the XML SchemaAny other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema 

XML Schema Constraints:

Data ElementXML Schema Format/LengthAllowed ValuesRangePattern MatchReason / Comment / XML Choice
ACTIVITY TREATMENT FUNCTION CODE (DECISION TO ADMIT)None
Removed
None
None
National Codes not enumerated in the XML Schema
AGE AT CDS ACTIVITY DATEmax n3
None
None
None
Existing Format/Length states max an3 - XML Schema allows max n3
CDS COPY RECIPIENT IDENTITYmin an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
CDS INTERCHANGE TEST INDICATORNone
0,1
None
None
Null value not allowed in XML Schema
CDS MESSAGE VERSION NUMBERan6
CDS062
None
None
Message version is hard coded in the XML Schema
CDS PRIME RECIPIENT IDENTITYmin an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
CDS SENDER IDENTITYmin an3 max an12
None
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
EMERGENCY CARE PLACE OF INJURY (LATITUDE)None
None
-90.000000-90.000000
None
Range applied to allow correct reporting of EMERGENCY CARE PLACE OF INJURY (LATITUDE)
EMERGENCY CARE PLACE OF INJURY (LONGITUDE)None
None
-180.000000-180.000000
None
Range applied to allow correct reporting of EMERGENCY CARE PLACE OF INJURY (LONGITUDE)
ETHNIC CATEGORYmax an2
None
None
None
Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Second character can be for local use.
Format/Length amended to max an2
GENERAL MEDICAL PRACTICE CODE (PATIENT REGISTRATION)None
Removed
None
None
Default codes not enumerated in the XML Schema
GENERAL MEDICAL PRACTITIONER (SPECIFIED)None
Removed
None
None
National Codes and default codes not enumerated in the XML Schema
ORGANISATION IDENTIFIER (CODE OF COMMISSIONER)None
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION IDENTIFIER (CODE OF PROVIDER)min an3 max an5
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION IDENTIFIER (RESIDENCE RESPONSIBILITY)None
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION SITE IDENTIFIER (DISCHARGE FROM EMERGENCY CARE)None
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION SITE IDENTIFIER (EMERGENCY CARE ATTENDANCE SOURCE)None
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION SITE IDENTIFIER (OF TREATMENT)None
Removed
None
None
Default codes not enumerated in the XML Schema
OVERSEAS VISITOR CHARGING CATEGORY AT CDS ACTIVITY DATENone
A,B,C,D,E,F,P,9
None
None
National Code X is not valid in CDS V6-2-2 Type 011 - Emergency Care CDS
POSTCODE OF USUAL ADDRESSmin an2 max an8
None
None
None
Existing Format/Length states max an8 - XML Schema allows min an2 max an8
PROFESSIONAL REGISTRATION ENTRY IDENTIFIERmin an1 max an32
None
None
None
Existing Format/Length states max an32 - XML Schema allows min an1 max an32
WAITING TIME MEASUREMENT TYPENone
01,02,09
None
None
National Codes 03 and 04 not valid in Commissioning Data Sets

top


COMMISSIONING DATA SET VERSION 6-2-3 XML SCHEMA CONSTRAINTS

Change to XML Schema Constraint: Changed Description

XML Schema constraints applied to the:XML Schema Constraints applied to the:

The "Allowed Values" column indicates the NHS Data Model and Dictionary National Codes and Default Codes present in the XML Schema:Key to XML Schema Constraint Column Headings:

  • None = The National Codes and Default Codes are included in the XML Schema
  • Removed = The National Codes and Default Codes are not included in the XML Schema.
Column NameColumn MeaningColumn Options
XML Schema Format/LengthIndicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representationNone = The Format/Length is the same as the NHS Data Model and DictionaryAny other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary 
Allowed ValuesIndicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML SchemaNone = The NHS Data Model and Dictionary National and Default Codes are present in the XML SchemaRemoved = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML SchemaAny other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary
RangeIndicates whether a range value constraint has been applied in the XML SchemaNone = There is no range value constraint applied in the XML SchemaAny other entry = Shows the range value constraint applied in the XML Schema 
Pattern MatchIndicates whether a data pattern, to which the data must conform, has been applied in the XML SchemaNone = There is no data pattern, to which the data must conform, applied in the XML SchemaAny other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema 

XML Schema Constraints:

Data ElementXML Schema Format/LengthAllowed ValuesRangePattern MatchReason / Comment / XML Choice
ACTIVITY TREATMENT FUNCTION CODE (DECISION TO ADMIT)None
Removed
None
None
National Codes not enumerated in the XML Schema
AGE AT CDS ACTIVITY DATEmax n3
None
None
None
Existing Format/Length states max an3 - XML Schema allows max n3
CDS INTERCHANGE TEST INDICATORNone
0,1
None
None
Null value not allowed in XML Schema
CDS MESSAGE VERSION NUMBERan6
CDS062
None
None
Message version is hard coded in the XML Schema
EMERGENCY CARE DEPARTMENT TYPEan2
Removed
None
None
National Codes not enumerated in the XML Schema
EMERGENCY CARE PLACE OF INJURY (LATITUDE)None
None
-90.000000-90.000000
None
Range applied to allow correct reporting of EMERGENCY CARE PLACE OF INJURY (LATITUDE)
EMERGENCY CARE PLACE OF INJURY (LONGITUDE)None
None
-180.000000-180.000000
None
Range applied to allow correct reporting of EMERGENCY CARE PLACE OF INJURY (LONGITUDE)
ETHNIC CATEGORYmax an2
None
None
None
Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Second character can be for local use.
Format/Length amended to max an2
GENERAL MEDICAL PRACTICE CODE (PATIENT REGISTRATION)None
Removed
None
None
Default codes not enumerated in the XML Schema
GENERAL MEDICAL PRACTITIONER (SPECIFIED)None
Removed
None
None
National Codes and default codes not enumerated in the XML Schema
ORGANISATION IDENTIFIER (CODE OF COMMISSIONER)None
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION IDENTIFIER (CODE OF PROVIDER)min an3 max an5
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION IDENTIFIER (RESIDENCE RESPONSIBILITY)None
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION SITE IDENTIFIER (DISCHARGE FROM EMERGENCY CARE)None
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION SITE IDENTIFIER (EMERGENCY CARE ATTENDANCE SOURCE)None
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION SITE IDENTIFIER (OF TREATMENT)None
Removed
None
None
Default codes not enumerated in the XML Schema
OVERSEAS VISITOR CHARGING CATEGORY AT CDS ACTIVITY DATENone
A,B,C,D,E,F,P,9
None
None
National Code X is not valid in CDS V6-2-3 Type 011 - Emergency Care CDS
POSTCODE OF USUAL ADDRESSmin an2 max an8
None
None
None
Existing Format/Length states max an8 - XML Schema allows min an2 max an8
PROFESSIONAL REGISTRATION ENTRY IDENTIFIERmin an1 max an32
None
None
None
Existing Format/Length states max an32 - XML Schema allows min an1 max an32
WAITING TIME MEASUREMENT TYPENone
01,02,09
None
None
National Codes 03 and 04 not valid in Commissioning Data Sets

top


COMMISSIONING DATA SET VERSION 6-2 XML SCHEMA CONSTRAINTS

Change to XML Schema Constraint: Changed Description

XML Schema constraints applied to the Commissioning Data Sets V6-2.XML Schema Constraints applied to the Commissioning Data Sets V6-2.

The "Allowed Values" column indicates the NHS Data Model and Dictionary National Codes and Default Codes present in the XML Schema:Key to XML Schema Constraint Column Headings:

  • None = The National Codes and Default Codes are included in the XML Schema
  • Removed = The National Codes and Default Codes are not included in the XML Schema.
Column NameColumn MeaningColumn Options
XML Schema Format/LengthIndicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representationNone = The Format/Length is the same as the NHS Data Model and DictionaryAny other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary 
Allowed ValuesIndicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML SchemaNone = The NHS Data Model and Dictionary National and Default Codes are present in the XML SchemaRemoved = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML SchemaAny other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary
RangeIndicates whether a range value constraint has been applied in the XML SchemaNone = There is no range value constraint applied in the XML SchemaAny other entry = Shows the range value constraint applied in the XML Schema 
Pattern MatchIndicates whether a data pattern, to which the data must conform, has been applied in the XML SchemaNone = There is no data pattern, to which the data must conform, applied in the XML SchemaAny other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema 

XML Schema Constraints:

Note:

Data ElementXML Schema Format/LengthAllowed ValuesRangePattern MatchReason / Comment / XML Choice
ACTIVITY LOCATION TYPE CODENone
A01,A02,A03,A04,B01,B02,C01,C02,C03,D01,D02,D03,
E01,E02,E03,E04,E99,F01,G01,G02,G03,H01,J01,K01,K02,
L01,L02,L03,L04,L05,L06,L99,M01,M02,M03,M04,M05,
N01,N02,N03,N04,N05,X01
None
None
National Code G04 removed (not allowed in XML Schema)
ADVANCED CARDIOVASCULAR SUPPORT DAYSmax n3
None
None
None
Existing Format/Length states max an3 - XML Schema allows max n3
ADVANCED RESPIRATORY SUPPORT DAYSmax n3
None
None
None
Existing Format/Length states max an3 - XML Schema allows max n3
AGE AT CDS ACTIVITY DATEmax n3
None
None
None
Existing Format/Length states max an3 - XML Schema allows max n3
AGE AT CENSUSmax n3
None
None
None
Existing Format/Length states n3 - XML Schema allows max n3
AGE ON ADMISSIONmax n3
None
None
None
Existing Format/Length states max an3 - XML Schema allows max n3
ATTENDANCE IDENTIFIERmax an12
None
None
None
Existing Format/Length states an12 - XML Schema allows max an12
BASIC CARDIOVASCULAR SUPPORT DAYSmax n3
None
None
None
Existing Format/Length states max an3 - XML Schema allows max n3
BASIC RESPIRATORY SUPPORT DAYSmax n3
None
None
None
Existing Format/Length states max an3 - XML Schema allows max n3
BIRTH WEIGHTmax n4
None
None
None
Existing Format/Length states max an4 - XML Schema allows max n4
CARE PROFESSIONAL MAIN SPECIALTY CODENone
100,101,110,120,130,140,141,142,143,145,146,147,148,149,
150,160,170,171,180,190,192,300,301,302,303,304,305,310,
311,312,313,314,315,320,321,325,326,330,340,350,352,360,
361,370,371,400,401,410,420,421,430,450,451,460,501,502,
504,560,600,601,700,710,711,712,713,715,800,810,820,821,
822,823,824,830,831,833,834,900,901,902,903,904,950,960,
199,499
None
None
National Code 500 removed (not allowed in XML Schema)
CDS COPY RECIPIENT IDENTITYmin an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
CDS INTERCHANGE APPLICATION REFERENCEmax an14
None
None
None
Existing Format/Length states min an1 max an14 - XML Schema allows max an14
CDS INTERCHANGE RECEIVER IDENTITYmax an15
None
None
None
Existing Format/Length states min an1 max an15 - XML Schema allows max an15
CDS INTERCHANGE SENDER IDENTITYmax an15
None
None
None
Existing Format/Length states min an1 max an15 - XML Schema allows max an15
CDS MESSAGE REFERENCEmax n7
None
None
None
Existing Format/Length states max an7 - XML Schema allows max n14 but SUS accepts max n7
CDS MESSAGE VERSION NUMBERNone
CDS062
None
None
Message version is hard coded in the XML Schema
CDS PRIME RECIPIENT IDENTITYmin an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
CDS RECORD IDENTIFIERmax an35
None
None
None
Existing Format/Length states min an1 max an35 - XML Schema allows max an35
CDS SENDER IDENTITYmin an3 max an12
None
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
CDS UNIQUE IDENTIFIERmax an35
None
None
None
Existing Format/Length states min an1 max an35 - XML Schema allows max an35
CONSULTATION MEDIUM USEDNone
01,02,03,04
None
None
National Codes 05, 06, 07, 08 and 98 are not used in CDS version 6-2
COUNT OF DAYS SUSPENDEDmax n4
None
None
None
Existing Format/Length states n4 - XML Schema allows max n4
CRITICAL CARE ACTIVITY CODENone
01,02,03,04,05,06,07,08,09,10,11,12,13,14,
15,16,21,22,23,24,25,26,27,28,29,50,51,52,
53,55,56,57,58,59,60,61,62,63,64,65,66,67,
68,69,70,71,72,73,74,99
None
None
National Codes 80, 81, 82, 83, 84, 85, 94, 95, 96 and 97 removed (not allowed in the XML Schema)
CRITICAL CARE DISCHARGE DESTINATIONn2
None
None
None
Existing Format/Length states an2 - XML Schema allows n2
CRITICAL CARE LEVEL 2 DAYSmax n3
None
None
None
Existing Format/Length states max an3 - XML Schema allows max n3
CRITICAL CARE LEVEL 3 DAYSmax n3
None
None
None
Existing Format/Length states max an3 - XML Schema allows max n3
DERMATOLOGICAL SUPPORT DAYSmax n3
None
None
None
Existing Format/Length states max an3 - XML Schema allows max n3
DISCHARGE METHOD CODE (HOSPITAL PROVIDER SPELL)None
1,2,3,4,5,8,9
None
None
National Codes 6 and 7 are not used in CDS version 6-2
DURATION OF CARE TO PSYCHIATRIC CENSUS DATEmax n5
None
None
None
Existing Format/Length states n5 - XML Schema allows max n5
DURATION OF DETENTIONmax n5
None
None
None
Existing Format/Length states n5 - XML Schema allows max n5
DURATION OF ELECTIVE WAITmax n4
None
None
None
Existing Format/Length states max an4 - XML Schema allows max n4
ELECTIVE ADMISSION LIST ENTRY NUMBERmax an12
None
None
None
Existing Format/Length states an12 - XML Schema allows max an12
ETHNIC CATEGORYmax an2
None
None
None
Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Second character can be for local use.
Format/Length amended to max an2
GASTRO-INTESTINAL SUPPORT DAYSmax n3
None
None
None
Existing Format/Length states max an3 - XML Schema allows max n3
GESTATION LENGTH (ASSESSMENT)n2
None
None
None
Existing Format/Length states an2 - XML Schema allows n2
GESTATION LENGTH (AT DELIVERY)n2
None
None
None
Existing Format/Length states an2 - XML Schema allows n2
GESTATION LENGTH (LABOUR ONSET)n2
None
None
None
Existing Format/Length states an2 - XML Schema allows n2
GENERAL MEDICAL PRACTITIONER PRACTICE (ANTENATAL CARE)min an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
GENERAL MEDICAL PRACTICE CODE (PATIENT REGISTRATION)min an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
GENERAL MEDICAL PRACTITIONER (ANTENATAL CARE)None
Removed
None
None
National Codes and default codes not enumerated in the XML Schema
GENERAL MEDICAL PRACTITIONER (SPECIFIED)None
Removed
None
None
National Codes and default codes not enumerated in the XML Schema
INTENDED SITE CODE (OF TREATMENT)min an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
LIVER SUPPORT DAYSmax n3
None
None
None
Existing Format/Length states max an3 - XML Schema allows max n3
LOCAL PATIENT IDENTIFIERmax an10
None
None
None
Existing Format/Length states an10 - XML Schema allows max an10
LOCAL PATIENT IDENTIFIER (BABY)max an10
None
None
None
Existing Format/Length states an10 - XML Schema allows max an10
LOCAL PATIENT IDENTIFIER (MOTHER)max an10
None
None
None
Existing Format/Length states an10 - XML Schema allows max an10
MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION CODE (AT CENSUS DATE)None
01,02,03,04,05,06,07,08,09,10,11,12,13,14,
15,16,17,18,19,20,31,32,34,35,36,37,38
None
None
Additional National Codes 37 and 38 added
MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION CODE (ON ADMISSION)None
01,02,03,04,05,06,07,08,09,10,11,12,13,14,
15,16,17,18,19,20,31,32,34,35,36,37,38
None
None
Additional National Codes 37 and 38 added
NEUROLOGICAL SUPPORT DAYSmax n3
None
None
None
Existing Format/Length states max an3 - XML Schema allows max n3
ORGAN SUPPORT MAXIMUMn2
None
00-06
None
Existing Format/Length states an2 - XML Schema allows max n2.  Range 00-06 allowed
ORGANISATION CODE (CODE OF COMMISSIONER)min an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
ORGANISATION CODE (CODE OF PROVIDER)min an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION SITE CODE changes
ORGANISATION CODE (LOCAL PATIENT IDENTIFIER)min an3 max an12
None
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
ORGANISATION CODE (LOCAL PATIENT IDENTIFIER (BABY))min an3 max an12
None
None
None
Field size extended to future proof for ODS ORGANISATION SITE CODE changes
ORGANISATION CODE (LOCAL PATIENT IDENTIFIER (MOTHER))min an3 max an12
None
None
None
Field size extended to future proof for ODS ORGANISATION SITE CODE changes
ORGANISATION CODE (PATIENT PATHWAY IDENTIFIER ISSUER)min an3 max an12
None
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
ORGANISATION CODE (RESIDENCE RESPONSIBILITY)min an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
PERSON WEIGHTn3.n3
None
None
None
Existing Format/Length states max n3.max n3 - XML Schema enforces 3 digits before and after the decimal point - max removed
PRIMARY DIAGNOSIS (READ)max an5
None
None
None
Existing Format/Length allows for all clinical classifications -XML Schema allows max an5
PROFESSIONAL REGISTRATION ENTRY IDENTIFIER (MAIN OPERATING CARE PROFESSIONAL)max an12
None
None
None
Existing Format/Length states max an32 - XML Schema allows max an12
PROFESSIONAL REGISTRATION ENTRY IDENTIFIER (RESPONSIBLE ANAESTHETIST)max an12
None
None
None
Existing Format/Length states max an32 - XML Schema allows max an12
REFERRER CODENone
Removed
None
None
National Codes and default codes not enumerated in the XML Schema
REFERRING ORGANISATION CODEmin an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
RENAL SUPPORT DAYSmax n3
None
None
None
Existing Format/Length states max an3 - XML Schema allows max n3
SECONDARY DIAGNOSIS (READ)max an5
None
None
None
Existing Format/Length allows for all clinical classifications -XML Schema allows max an5
SITE CODE (OF TREATMENT)min an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION SITE CODE changes
SOURCE OF ADMISSION CODE (HOSPITAL PROVIDER SPELL)None
19,29,39,49,51,52,53,54,65,66,79,85,87,88
None
None
National Codes 40, 41 and 42 are not used in CDS version 6-2

top


COMMUNITY SERVICES DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the Community Services Data Set.Data Set Constraints applied to the Community 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

top


CRITICAL CARE MINIMUM DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the Critical Care Minimum Data Set.Data Set Constraints applied to the Critical Care Minimum 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
CRITICAL CARE DISCHARGE DESTINATIONn2NoneNoneExisting Format/Length states max an3 -Data Set allows n2

top


DEVICES PATIENT LEVEL CONTRACT MONITORING DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the Devices Patient Level Contract Monitoring Data Set.Data Set Constraints applied to the Devices Patient Level Contract Monitoring 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

top


DIAGNOSTIC IMAGING DATA SET XML SCHEMA CONSTRAINTS

Change to XML Schema Constraint: Changed Description

XML Schema constraints applied to the Diagnostic Imaging Data Set.XML Schema Constraints applied to the Diagnostic Imaging Data Set.

The "Allowed Values" column indicates the NHS Data Model and Dictionary National Codes and Default Codes present in the XML Schema:Key to XML Schema Constraint Column Headings:

  • None = The National Codes and Default Codes are included in the XML Schema
  • Removed = The National Codes and Default Codes are not included in the XML Schema.
Column NameColumn MeaningColumn Options
XML Schema Format/LengthIndicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representationNone = The Format/Length is the same as the NHS Data Model and DictionaryAny other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary 
Allowed ValuesIndicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML SchemaNone = The NHS Data Model and Dictionary National and Default Codes are present in the XML SchemaRemoved = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML SchemaAny other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary
RangeIndicates whether a range value constraint has been applied in the XML SchemaNone = There is no range value constraint applied in the XML SchemaAny other entry = Shows the range value constraint applied in the XML Schema 
Pattern MatchIndicates whether a data pattern, to which the data must conform, has been applied in the XML SchemaNone = There is no data pattern, to which the data must conform, applied in the XML SchemaAny other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema 

XML Schema Constraints:

Data ElementXML Schema Format/LengthAllowed ValuesRangePattern MatchReason / Comment / XML Choice
ETHNIC CATEGORYmax an2
None
None
None
Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Second character can be for local use.
XML Schema allows max an2
GENERAL MEDICAL PRACTICE CODE (PATIENT REGISTRATION)min an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
IMAGING CODE (NICIP)
None
None
None
None
XML choice required to allow recording of either or both of IMAGING CODE (NICIP) / IMAGING CODE (SNOMED-CT)

XML choice 1:
One of two data items IMAGING CODE (NICIP) / IMAGING CODE (SNOMED-CT)) must be present

XML choice 2:
IMAGING CODE (NICIP) and IMAGING CODE (SNOMED-CT) must be present

IMAGING CODE (SNOMED-CT)
None
RADIOLOGICAL ACCESSION NUMBERNone
None
None
None
Spaces allowed in character set, to follow guidance on Digital Imaging and Communications in Medicine (DICOM) number format
REFERRING ORGANISATION CODEmin an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
SITE CODE (OF IMAGING)min an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION SITE CODE changes

top


DRUGS PATIENT LEVEL CONTRACT MONITORING DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the Drugs Patient Level Contract Monitoring Data Set.Data Set Constraints applied to the Drugs Patient Level Contract Monitoring 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

top


HIV AND AIDS REPORTING DATA SET XML SCHEMA CONSTRAINTS

Change to XML Schema Constraint: Changed Description

XML Schema constraints applied to the HIV and AIDS Reporting Data Set.XML Schema Constraints applied to the HIV and AIDS Reporting Data Set.

The "Allowed Values" column indicates the NHS Data Model and Dictionary National Codes and Default Codes present in the XML Schema:Key to XML Schema Constraint Column Headings:

  • None = The National Codes and Default Codes are included in the XML Schema
  • Removed = The National Codes and Default Codes are not included in the XML Schema.
Column NameColumn MeaningColumn Options
XML Schema Format/LengthIndicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representationNone = The Format/Length is the same as the NHS Data Model and DictionaryAny other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary 
Allowed ValuesIndicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML SchemaNone = The NHS Data Model and Dictionary National and Default Codes are present in the XML SchemaRemoved = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML SchemaAny other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary
RangeIndicates whether a range value constraint has been applied in the XML SchemaNone = There is no range value constraint applied in the XML SchemaAny other entry = Shows the range value constraint applied in the XML Schema 
Pattern MatchIndicates whether a data pattern, to which the data must conform, has been applied in the XML SchemaNone = There is no data pattern, to which the data must conform, applied in the XML SchemaAny other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema 

XML Schema Constraints:

Data ElementXML Schema Format/LengthAllowed ValuesRangePattern MatchReason / Comment / XML Choice
CONSULTATION MEDIUM USEDNone
01,02,03,04,05
None
None
National Code 06, 07, 08 and 98 not applicable - removed
COUNTRY CODE (BIRTH)None
None
None
[A-Z][A-Z][A-Z]
Format pattern applied to allow correct reporting of COUNTRY CODE (BIRTH)
COUNTRY CODE (HIV INFECTION)None
None
None
[A-Z][A-Z][A-Z]
Format pattern applied to allow correct reporting of COUNTRY CODE (HIV INFECTION)
DATE AND TIME DATA SET CREATEDNone
None
None
(19|20)\d\d-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T((0[1-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]))
Format pattern applied to allow correct reporting of DATE AND TIME DATA SET CREATED
ETHNIC CATEGORYmax an2
None
None
None
Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Second character can be for local use.
Format/Length amended to max an2.
GENERAL MEDICAL PRACTICE CODE (PATIENT REGISTRATION)min an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
HARS MESSAGE VERSION IDENTIFIERNone
None
None
\d.\d.\d
Format pattern applied to allow correct reporting of HARS MESSAGE VERSION IDENTIFIER
HARS SUBMISSION IDENTIFIERNone
None
None
[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}
Format pattern applied to allow correct reporting of HARS SUBMISSION IDENTIFIER
HARS UNIQUE IDENTIFIERNone
None
None
[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}
Format pattern applied to allow correct reporting of HARS UNIQUE IDENTIFIER
ORGANISATION CODE (CODE OF PROVIDER)min an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
ORGANISATION CODE (CODE OF SUBMITTING ORGANISATION)min an3 max an12
None
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
SITE CODE (OF PREVIOUS HIV CARE)min an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION SITE CODE changes
SITE CODE (OF TREATMENT)min an3 max an12
Removed
None
None
Field size extended to future proof for ODS ORGANISATION SITE CODE changes
SITE CODE (REFERRED TO FOR SHARED HIV CARE)min an3 max an12
None
None
None
Field size extended to future proof for ODS ORGANISATION SITE CODE changes
TEST OF RECENT INFECTION RESULT (HIV)None
None
None
\d{1,3}\.\d{1}
Format pattern applied to allow correct reporting of TEST OF RECENT INFECTION RESULT (HIV)
 YEAR AND MONTH FIRST STARTED ANTIRETROVIRAL THERAPYNone
None
None
(19|20)\d\d-(0[1-9]|1[012])
Format pattern applied to allow correct reporting of YEAR AND MONTH FIRST STARTED ANTIRETROVIRAL THERAPY
YEAR AND MONTH OF LAST CARE PROFESSIONAL HIV COMMUNICATIONNone
None
None
(19|20)\d\d-(0[1-9]|1[012])
Format pattern applied to allow correct reporting of YEAR AND MONTH OF LAST CARE PROFESSIONAL HIV COMMUNICATION
YEAR AND MONTH OF LAST NEGATIVE HIV TESTNone
None
None
(19|20)\d\d-(0[1-9]|1[012])
Format pattern applied to allow correct reporting of YEAR AND MONTH OF LAST NEGATIVE HIV TEST
YEAR OF DIAGNOSIS OUTSIDE UNITED KINGDOM (HIV)None
None
None
(19|20){1}\d\d
Format pattern applied to allow correct reporting of YEAR OF DIAGNOSIS OUTSIDE UNITED KINGDOM (HIV)
YEAR OF UK ENTRYNone
None
None
(19|20){1}\d\d
Format pattern applied to allow correct reporting of YEAR OF UK ENTRY

top


IMPROVING ACCESS TO PSYCHOLOGICAL THERAPIES DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the Improving Access to Psychological Therapies Data Set.Data Set Constraints applied to the Improving Access to Psychological Therapies 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

top


MENTAL HEALTH SERVICES DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the Mental Health Services Data Set.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

top


NATIONAL CANCER WAITING TIMES MONITORING DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data set constraints applied to the National Cancer Waiting Times Monitoring Data Set.Data Set Constraints applied to the National Cancer Waiting Times Monitoring 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 ElementXML Schema Format/LengthAllowed ValuesRangePattern MatchReason / Comment / XML Choice
PATIENT PATHWAY IDENTIFIERmin an1 max an20
None
None
None
Existing Format/Length is max an20. Unable to change this as it is used in other data sets.
XML Schema allows min an1 max an20
ORGANISATION IDENTIFIER (REFERRING)min an3 max an5
Removed
None
None
Default codes not enumerated in the XML Schema.
an6 is not applicable for the National Cancer Waiting Times Monitoring Data Set.

top


NATIONAL NEONATAL DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the National Neonatal Data Set.Data Set Constraints applied to the National Neonatal 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
BIRTH WEIGHTn4NoneNoneExisting Format/Length states max an4 - Data Set allows n4
GESTATION LENGTH (AT DELIVERY)n2NoneNoneExisting Format/Length states an2 - Data Set allows n2

top


PATIENT LEVEL CONTRACT MONITORING DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the Patient Level Contract Monitoring Data Set.Data Set Constraints applied to the Patient Level Contract Monitoring 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

top


PLICS ACUTE ADMITTED PATIENT CARE DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the Patient Level Information Costing System Acute Data Set - Admitted Patient Care.Data Set Constraints applied to the Patient Level Information Costing System Acute Data Set - Admitted Patient Care.

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
CDS UNIQUE IDENTIFIERmax an35NoneNoneExisting Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Data Set allows max an35
EPISODE NUMBERmax n2NoneNoneExisting Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Data Set allows max n2
ORGANISATION IDENTIFIER (CODE OF PROVIDER)an3NoneNonean5 and an6 is not applicable for the Patient Level Information Costing System Acute Data Set - Admitted Patient Care.
ORGANISATION IDENTIFIER (CODE OF SUBMITTING ORGANISATION)min an3 max an5NoneNonean6 is not applicable for the Patient Level Information Costing System Acute Data Set - Admitted Patient Care.

top


PLICS ACUTE EMERGENCY CARE DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the Patient Level Information Costing System Acute Data Set - Emergency Care.Data Set Constraints applied to the Patient Level Information Costing System Acute Data Set - Emergency Care.

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
CDS UNIQUE IDENTIFIERmax an35NoneNoneExisting Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Data Set allows max an35
ORGANISATION IDENTIFIER (CODE OF PROVIDER)an3NoneNonean5 and an6 is not applicable for the Patient Level Information Costing System Acute Data Set - Emergency Care.
ORGANISATION IDENTIFIER (CODE OF SUBMITTING ORGANISATION)min an3 max an5NoneNonean6 is not applicable for the Patient Level Information Costing System Acute Data Set - Emergency Care.

top


PLICS ACUTE OUT-PATIENT CARE DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the Patient Level Information Costing System Acute Data Set - Out-Patient Care.Data Set Constraints applied to the Patient Level Information Costing System Acute Data Set - Out-Patient Care.

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
ATTENDANCE IDENTIFIERmax an12NoneNoneExisting Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Data Set allows max an12
CDS UNIQUE IDENTIFIERmax an35NoneNoneExisting Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Data Set allows max an35
ORGANISATION IDENTIFIER (CODE OF PROVIDER)an3NoneNonean5 and an6 is not applicable for the Patient Level Information Costing System Acute Data Set - Out-Patient Care.
ORGANISATION IDENTIFIER (CODE OF SUBMITTING ORGANISATION)min an3 max an5NoneNonean6 is not applicable for the Patient Level Information Costing System Acute Data Set - Out-Patient Care.

top


PLICS ACUTE SPECIALIST WARD CARE DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the Patient Level Information Costing System Acute Data Set - Specialist Ward Care.Data Set Constraints applied to the Patient Level Information Costing System Acute Data Set - Specialist Ward Care.

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
CRITICAL CARE LOCAL IDENTIFIERmax an8NoneNoneExisting Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Data Set allows max an8
ORGANISATION IDENTIFIER (CODE OF PROVIDER)an3NoneNonean5 and an6 is not applicable for the Patient Level Information Costing System Acute Data Set - Specialist Ward Care.
ORGANISATION IDENTIFIER (CODE OF SUBMITTING ORGANISATION)min an3 max an5NoneNonean6 is not applicable for the Patient Level Information Costing System Acute Data Set - Specialist Ward Care.

top


PLICS ACUTE SUPPLEMENTARY INFORMATION DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the Patient Level Information Costing System Acute Data Set - Supplementary Information.Data Set Constraints applied to the Patient Level Information Costing System Acute Data Set - Supplementary Information.

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
ORGANISATION IDENTIFIER (CODE OF PROVIDER)an3NoneNonean5 and an6 is not applicable for the Patient Level Information Costing System Acute Data Set - Supplementary Information.
ORGANISATION IDENTIFIER (CODE OF SUBMITTING ORGANISATION)min an3 max an5NoneNonean6 is not applicable for the Patient Level Information Costing System Acute Data Set - Supplementary Information.

top


PLICS AMBULANCE DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the Patient Level Information Costing System Data Set - Ambulance.Data Set Constraints applied to the Patient Level Information Costing System Data Set - Ambulance.

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
ORGANISATION IDENTIFIER (CODE OF PROVIDER)an3NoneNonean5 and an6 is not applicable for the Patient Level Information Costing System Data Set - Ambulance.
ORGANISATION IDENTIFIER (CODE OF SUBMITTING ORGANISATION)min an3 max an5NoneNonean6 is not applicable for the Patient Level Information Costing System Data Set - Ambulance.

top


PLICS IMPROVING ACCESS TO PSYCHOLOGICAL THERAPIES DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the Patient Level Information Costing System Data Set - Improving Access to Psychological Therapies.Data Set Constraints applied to the Patient Level Information Costing System Data Set - Improving Access to Psychological Therapies.

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
ORGANISATION IDENTIFIER (CODE OF PROVIDER)an3NoneNonean5 and an6 is not applicable for the Patient Level Information Costing System Data Set - Improving Access to Psychological Therapies
ORGANISATION IDENTIFIER (CODE OF SUBMITTING ORGANISATION)min an3 max an5NoneNonean6 is not applicable for the Patient Level Information Costing System Data Set - Improving Access to Psychological Therapies

top


PLICS MENTAL HEALTH ADMITTED PATIENT CARE DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the Patient Level Information Costing System Mental Health Data Set - Admitted Patient Care.Data Set Constraints applied to the Patient Level Information Costing System Mental Health Data Set - Admitted Patient Care.

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
ORGANISATION IDENTIFIER (CODE OF PROVIDER)an3NoneNonean5 and an6 is not applicable for the Patient Level Information Costing System Mental Health Data Set - Admitted Patient Care.
ORGANISATION IDENTIFIER (CODE OF SUBMITTING ORGANISATION)min an3 max an5NoneNonean6 is not applicable for the Patient Level Information Costing System Mental Health Data Set - Admitted Patient Care.

top


PLICS MENTAL HEALTH CARE CONTACTS DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the Patient Level Information Costing System Mental Health Data Set - Care Contacts.Data Set Constraints applied to the Patient Level Information Costing System Mental Health Data Set - Care Contacts.

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
ORGANISATION IDENTIFIER (CODE OF PROVIDER)an3NoneNonean5 and an6 is not applicable for the Patient Level Information Costing System Mental Health Data Set - Care Contacts
ORGANISATION IDENTIFIER (CODE OF SUBMITTING ORGANISATION)min an3 max an5NoneNonean6 is not applicable for the Patient Level Information Costing System Mental Health Data Set - Care Contacts

top


PLICS RECONCILIATION DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the Patient Level Information Costing System Data Set - Reconciliation.Data Set Constraints applied to the Patient Level Information Costing System Data Set - Reconciliation.

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
ORGANISATION IDENTIFIER (CODE OF SUBMITTING ORGANISATION)min an3 max an5NoneNonean6 is not applicable for the Patient Level Information Costing System Data Set - Reconciliation.

top


SYSTEMIC ANTI-CANCER THERAPY DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set constraints applied to the Systemic Anti-Cancer Therapy Data Set.Data Set Constraints applied to the Systemic Anti-Cancer Therapy 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
LOCAL PATIENT IDENTIFIER (EXTENDED)min an1 max an20NoneNoneExisting Format/Length is max an20. Unable to change this as it is used in other data sets.
Data Set allows min an1 max an20
ORGANISATION IDENTIFIER (CODE OF PROVIDER)min an3 max an5NoneNonean6 is not applicable for the Systemic Anti-Cancer Therapy Data Set.
Format pattern applied to allow correct reporting of ORGANISATION IDENTIFIER (CODE OF PROVIDER).

top


For enquiries about this Change Request, please email information.standards@nhs.net

ISO 9001 CERTIFICATION EUROPE