Commissioning Data Set Version 6-2-3 XML Schema Constraints
Commissioning Data Set Version 6-2-3 XML Schema Constraints
Description
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:
-
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.
Data Element | XML Schema Format/Length | Allowed Values | Range | Pattern Match | Reason / 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 DATE |
max n3 |
None |
None |
None |
Existing Format/Length states max an3 - XML Schema allows max n3 |
CDS INTERCHANGE TEST INDICATOR |
None |
0,1 |
None |
None |
Null value not allowed in XML Schema |
CDS MESSAGE VERSION NUMBER |
an6 |
CDS062 |
None |
None |
Message version is hard coded in the XML Schema |
EMERGENCY CARE DEPARTMENT TYPE |
an2 |
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 CATEGORY |
max 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 DATE |
None |
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 ADDRESS |
min an2 max an8 |
None |
None |
None |
Existing Format/Length states max an8 - XML Schema allows min an2 max an8 |
PROFESSIONAL REGISTRATION ENTRY IDENTIFIER |
min an1 max an32 |
None |
None |
None |
Existing Format/Length states max an32 - XML Schema allows min an1 max an32 |
WAITING TIME MEASUREMENT TYPE |
None |
01,02,09 |
None |
None |
National Codes 03 and 04 not valid in Commissioning Data Sets |
Where Used
Type | Link | How used |
---|---|---|
Data Set | CDS V6-2-3 Type 001 - CDS Interchange Header | references in description Commissioning Data Set Version 6-2-3 XML Schema Constraints |
Supporting Information | references in description Commissioning Data Set Version 6-2-3 XML Schema Constraints | |
Data Set | CDS V6-2-3 Type 002 - CDS Interchange Trailer | references in description Commissioning Data Set Version 6-2-3 XML Schema Constraints |
Supporting Information | references in description Commissioning Data Set Version 6-2-3 XML Schema Constraints | |
Data Set | CDS V6-2-3 Type 003 - CDS Message Header | references in description Commissioning Data Set Version 6-2-3 XML Schema Constraints |
Supporting Information | references in description Commissioning Data Set Version 6-2-3 XML Schema Constraints | |
Data Set | CDS V6-2-3 Type 004 - CDS Message Trailer | references in description Commissioning Data Set Version 6-2-3 XML Schema Constraints |
Supporting Information | references in description Commissioning Data Set Version 6-2-3 XML Schema Constraints | |
Data Set | CDS V6-2-3 Type 005B - CDS Transaction Header Group - Bulk Update Protocol | references in description Commissioning Data Set Version 6-2-3 XML Schema Constraints |
Data Set | CDS V6-2-3 Type 005N - CDS Transaction Header Group - Net Change Protocol | references in description Commissioning Data Set Version 6-2-3 XML Schema Constraints |
Supporting Information | references in description Commissioning Data Set Version 6-2-3 XML Schema Constraints | |
Supporting Information | references in description Commissioning Data Set Version 6-2-3 XML Schema Constraints | |
Data Set | CDS V6-2-3 Type 011 - Emergency Care CDS | references in description Commissioning Data Set Version 6-2-3 XML Schema Constraints |
Supporting Information | references in description Commissioning Data Set Version 6-2-3 XML Schema Constraints | |
Supporting Information | references in description Commissioning Data Set Version 6-2-3 XML Schema Constraints |