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:
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.
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 SchemaRemoved = The National Codes and Default Codes are not included in the XML Schema.
Column Name | Column Meaning | Column Options | ||
XML Schema Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representation | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary | |
Allowed Values | Indicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML Schema | None = The NHS Data Model and Dictionary National and Default Codes are present in the XML Schema | Removed = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML Schema | Any other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the XML Schema | None = There is no range value constraint applied in the XML Schema | Any other entry = Shows the range value constraint applied in the XML Schema | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the XML Schema | None = There is no data pattern, to which the data must conform, applied in the XML Schema | Any other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema |
XML Schema Constraints:
Data Element | XML Schema Format/Length | Allowed Values | Range | Pattern Match | Reason / Comment / XML Choice |
ABBREVIATED MENTAL TEST SCORE | None | 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 PERCENTAGE | None | None | 0-100 | None | Range 0-100 |
BODY MASS INDEX | None | None | None | \d{2}(\.\d){1} | Format pattern applied to allow correct reporting of BODY MASS INDEX |
BRESLOW THICKNESS | None | None | None | \d{1,2}\.\d{1,2} | Format pattern applied to allow correct reporting of BRESLOW THICKNESS |
CANCER SYMPTOMS FIRST NOTED DATE | None | 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 RESULT | None | 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 PERCENTAGE | None | 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 IDENTIFIER | None | 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 IDENTIFIER | None | 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 RESULT | None | None | 0-200 | None | Range 0-200 |
DISTANCE BEYOND MUSCULARIS PROPRIA | None | None | None | \d{1,3}\.\d{1,2} | Format pattern applied to allow correct reporting of DISTANCE BEYOND MUSCULARIS PROPRIA |
DISTANCE FROM DENTATE LINE | None | 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 MARGIN | None | 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 MARGIN | None | None | None | \d{1,2}\.\d{1} | Format pattern applied to allow correct reporting of DISTANCE TO MARGIN |
ETHNIC CATEGORY | max 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 SCORE | None | 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 SCORE | None | 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 THICKNESS | None | None | None | \d{1,2}\.\d{1,2} | Format pattern applied to allow correct reporting of INVASIVE THICKNESS |
KI-67 PERCENTAGE RESULT | None | 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 CODE | None | 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 NUMBER | None | None | None | [0-9]{10} | Format pattern applied to allow correct reporting of NHS NUMBER |
NON INVASIVE TUMOUR SIZE | None | None | None | \d{1,3}\.\d{1,2} | Format pattern applied to allow correct reporting of NON INVASIVE TUMOUR SIZE |
NOTTINGHAM PROGNOSTIC INDEX SCORE | None | 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 METRES | None | None | None | \d{1}(\.\d{1,2}){1} | Format pattern applied to allow correct reporting of PERSON HEIGHT IN METRES |
PERSON WEIGHT | None | 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 SCORE | None | 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 RESULT | None | None | 0-100 | None | Range 0-100 |
TUMOUR NECROSIS PERCENTAGE | None | None | 0-100 | None | Range 0-100 |
TURP TUMOUR PERCENTAGE | None | None | 0-100 | None | Range 0-100 |
UNINVOLVED CERVICAL STROMA THICKNESS | None | None | None | \d{1,2}\.\d{1,2} | Format pattern applied to allow correct reporting of UNINVOLVED CERVICAL STROMA THICKNESS |
URINE VANILLYLMANDELIC ACID CREATININE RATIO | None | 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 SIZE | None | None | None | \d{1,3}\.\d{1,2} | Format pattern applied to allow correct reporting of WHOLE TUMOUR SIZE |
Change to XML Schema Constraint: Changed Description
XML Schema constraints applied to the:XML Schema Constraints applied to the:
- CDS V6-2-1 Type 002 - Commissioning Data Set Interchange Trailer
- CDS V6-2-1 Type 003 - Commissioning Data Set Message Header
- CDS V6-2-1 Type 004 - Commissioning Data Set Message Trailer
- CDS V6-2-1 Type 005B - Commissioning Data Set Transaction Header Group - Bulk Update Protocol
- CDS V6-2-1 Type 005N - Commissioning Data Set Transaction Header Group - Net Change Protocol
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 SchemaRemoved = The National Codes and Default Codes are not included in the XML Schema.
Column Name | Column Meaning | Column Options | ||
XML Schema Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representation | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary | |
Allowed Values | Indicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML Schema | None = The NHS Data Model and Dictionary National and Default Codes are present in the XML Schema | Removed = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML Schema | Any other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the XML Schema | None = There is no range value constraint applied in the XML Schema | Any other entry = Shows the range value constraint applied in the XML Schema | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the XML Schema | None = There is no data pattern, to which the data must conform, applied in the XML Schema | Any other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema |
XML Schema Constraints:
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 COPY RECIPIENT IDENTITY | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
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 |
CDS PRIME RECIPIENT IDENTITY | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
CDS SENDER IDENTITY | min an3 max an12 | None | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
CODED CLINICAL ENTRY SEQUENCE NUMBER | max n5 | None | None | None | Existing Format/Length states min n1 max n5 - XML Schema allows max n5 |
EMERGENCY CARE ATTENDANCE IDENTIFIER | max an12 | None | None | None | Existing Format/Length states min an1 max an12 - XML Schema allows max an12 |
EMERGENCY CARE DEPARTMENT TYPE | None | 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 |
WAITING TIME MEASUREMENT TYPE | None | 01,02,09 | None | None | National Codes 03 and 04 not valid in Commissioning Data Sets |
Change to XML Schema Constraint: Changed Description
XML Schema constraints applied to the:XML Schema Constraints applied to the:
- CDS V6-2-2 Type 002 - CDS Interchange Trailer
- CDS V6-2-2 Type 003 - CDS Message Header
- CDS V6-2-2 Type 004 - CDS Message Trailer
- CDS V6-2-2 Type 005B - CDS Transaction Header Group - Bulk Update Protocol
- CDS V6-2-2 Type 005N - CDS Transaction Header Group - Net Change Protocol
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 SchemaRemoved = The National Codes and Default Codes are not included in the XML Schema.
Column Name | Column Meaning | Column Options | ||
XML Schema Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representation | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary | |
Allowed Values | Indicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML Schema | None = The NHS Data Model and Dictionary National and Default Codes are present in the XML Schema | Removed = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML Schema | Any other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the XML Schema | None = There is no range value constraint applied in the XML Schema | Any other entry = Shows the range value constraint applied in the XML Schema | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the XML Schema | None = There is no data pattern, to which the data must conform, applied in the XML Schema | Any other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema |
XML Schema Constraints:
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 COPY RECIPIENT IDENTITY | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
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 |
CDS PRIME RECIPIENT IDENTITY | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
CDS SENDER IDENTITY | min 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 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-2 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 |
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 SchemaRemoved = The National Codes and Default Codes are not included in the XML Schema.
Column Name | Column Meaning | Column Options | ||
XML Schema Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representation | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary | |
Allowed Values | Indicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML Schema | None = The NHS Data Model and Dictionary National and Default Codes are present in the XML Schema | Removed = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML Schema | Any other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the XML Schema | None = There is no range value constraint applied in the XML Schema | Any other entry = Shows the range value constraint applied in the XML Schema | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the XML Schema | None = There is no data pattern, to which the data must conform, applied in the XML Schema | Any other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema |
XML Schema Constraints:
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 |
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 SchemaRemoved = The National Codes and Default Codes are not included in the XML Schema.
Column Name | Column Meaning | Column Options | ||
XML Schema Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representation | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary | |
Allowed Values | Indicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML Schema | None = The NHS Data Model and Dictionary National and Default Codes are present in the XML Schema | Removed = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML Schema | Any other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the XML Schema | None = There is no range value constraint applied in the XML Schema | Any other entry = Shows the range value constraint applied in the XML Schema | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the XML Schema | None = There is no data pattern, to which the data must conform, applied in the XML Schema | Any other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema |
XML Schema Constraints:
Note:
The activeCARE PROFESSIONAL MAIN SPECIALTY CODEandACTIVITY TREATMENT FUNCTION CODEallowed values differ between CDS-XML schema version 6-2 and CDS-XML schema version 6-2-0, seeDDCN 1815 Commissioning Data Set Schema Version 6-2-0.- The active CARE PROFESSIONAL MAIN SPECIALTY CODE and ACTIVITY TREATMENT FUNCTION CODE allowed values differ between CDS-XML Schema version 6-2 and CDS-XML Schema version 6-2-0, see DDCN 1815 Commissioning Data Set Schema Version 6-2-0.
Data Element | XML Schema Format/Length | Allowed Values | Range | Pattern Match | Reason / Comment / XML Choice |
ACTIVITY LOCATION TYPE CODE | None | 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 DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
ADVANCED RESPIRATORY SUPPORT DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
AGE AT CDS ACTIVITY DATE | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
AGE AT CENSUS | max n3 | None | None | None | Existing Format/Length states n3 - XML Schema allows max n3 |
AGE ON ADMISSION | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
ATTENDANCE IDENTIFIER | max an12 | None | None | None | Existing Format/Length states an12 - XML Schema allows max an12 |
BASIC CARDIOVASCULAR SUPPORT DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
BASIC RESPIRATORY SUPPORT DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
BIRTH WEIGHT | max n4 | None | None | None | Existing Format/Length states max an4 - XML Schema allows max n4 |
CARE PROFESSIONAL MAIN SPECIALTY CODE | None | 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 IDENTITY | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
CDS INTERCHANGE APPLICATION REFERENCE | max an14 | None | None | None | Existing Format/Length states min an1 max an14 - XML Schema allows max an14 |
CDS INTERCHANGE RECEIVER IDENTITY | max an15 | None | None | None | Existing Format/Length states min an1 max an15 - XML Schema allows max an15 |
CDS INTERCHANGE SENDER IDENTITY | max an15 | None | None | None | Existing Format/Length states min an1 max an15 - XML Schema allows max an15 |
CDS MESSAGE REFERENCE | max n7 | None | None | None | Existing Format/Length states max an7 - XML Schema allows max n14 but SUS accepts max n7 |
CDS MESSAGE VERSION NUMBER | None | CDS062 | None | None | Message version is hard coded in the XML Schema |
CDS PRIME RECIPIENT IDENTITY | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
CDS RECORD IDENTIFIER | max an35 | None | None | None | Existing Format/Length states min an1 max an35 - XML Schema allows max an35 |
CDS SENDER IDENTITY | min an3 max an12 | None | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
CDS UNIQUE IDENTIFIER | max an35 | None | None | None | Existing Format/Length states min an1 max an35 - XML Schema allows max an35 |
CONSULTATION MEDIUM USED | None | 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 SUSPENDED | max n4 | None | None | None | Existing Format/Length states n4 - XML Schema allows max n4 |
CRITICAL CARE ACTIVITY CODE | None | 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 DESTINATION | n2 | None | None | None | Existing Format/Length states an2 - XML Schema allows n2 |
CRITICAL CARE LEVEL 2 DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
CRITICAL CARE LEVEL 3 DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
DERMATOLOGICAL SUPPORT DAYS | max 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 DATE | max n5 | None | None | None | Existing Format/Length states n5 - XML Schema allows max n5 |
DURATION OF DETENTION | max n5 | None | None | None | Existing Format/Length states n5 - XML Schema allows max n5 |
DURATION OF ELECTIVE WAIT | max n4 | None | None | None | Existing Format/Length states max an4 - XML Schema allows max n4 |
ELECTIVE ADMISSION LIST ENTRY NUMBER | max an12 | None | None | None | Existing Format/Length states an12 - XML Schema allows max an12 |
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 |
GASTRO-INTESTINAL SUPPORT DAYS | max 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 DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
LOCAL PATIENT IDENTIFIER | max 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 DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
ORGAN SUPPORT MAXIMUM | n2 | 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 WEIGHT | n3.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 CODE | None | Removed | None | None | National Codes and default codes not enumerated in the XML Schema |
REFERRING ORGANISATION CODE | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
RENAL SUPPORT DAYS | max 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 |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
ETHNIC CATEGORY | max an2 | None | None | Existing 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 |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
CRITICAL CARE DISCHARGE DESTINATION | n2 | None | None | Existing Format/Length states max an3 -Data Set allows n2 |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
ETHNIC CATEGORY | max an2 | None | None | Existing 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 |
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 SchemaRemoved = The National Codes and Default Codes are not included in the XML Schema.
Column Name | Column Meaning | Column Options | ||
XML Schema Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representation | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary | |
Allowed Values | Indicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML Schema | None = The NHS Data Model and Dictionary National and Default Codes are present in the XML Schema | Removed = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML Schema | Any other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the XML Schema | None = There is no range value constraint applied in the XML Schema | Any other entry = Shows the range value constraint applied in the XML Schema | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the XML Schema | None = There is no data pattern, to which the data must conform, applied in the XML Schema | Any other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema |
XML Schema Constraints:
Data Element | XML Schema Format/Length | Allowed Values | Range | Pattern Match | Reason / Comment / XML Choice |
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. 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: |
IMAGING CODE (SNOMED-CT) | None | ||||
RADIOLOGICAL ACCESSION NUMBER | None | None | None | None | Spaces allowed in character set, to follow guidance on Digital Imaging and Communications in Medicine (DICOM) number format |
REFERRING ORGANISATION CODE | min 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 |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
ETHNIC CATEGORY | max an2 | None | None | Existing 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 |
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 SchemaRemoved = The National Codes and Default Codes are not included in the XML Schema.
Column Name | Column Meaning | Column Options | ||
XML Schema Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representation | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary | |
Allowed Values | Indicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML Schema | None = The NHS Data Model and Dictionary National and Default Codes are present in the XML Schema | Removed = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML Schema | Any other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the XML Schema | None = There is no range value constraint applied in the XML Schema | Any other entry = Shows the range value constraint applied in the XML Schema | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the XML Schema | None = There is no data pattern, to which the data must conform, applied in the XML Schema | Any other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema |
XML Schema Constraints:
Data Element | XML Schema Format/Length | Allowed Values | Range | Pattern Match | Reason / Comment / XML Choice |
CONSULTATION MEDIUM USED | None | 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 CREATED | None | 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 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) | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
HARS MESSAGE VERSION IDENTIFIER | None | None | None | \d.\d.\d | Format pattern applied to allow correct reporting of HARS MESSAGE VERSION IDENTIFIER |
HARS SUBMISSION IDENTIFIER | None | 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 IDENTIFIER | None | 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 THERAPY | None | 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 COMMUNICATION | None | 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 TEST | None | 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 ENTRY | None | None | None | (19|20){1}\d\d | Format pattern applied to allow correct reporting of YEAR OF UK ENTRY |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
ETHNIC CATEGORY | max an2 | None | None | Existing 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 |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
ETHNIC CATEGORY | max an2 | None | None | Existing 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 |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | XML Schema Format/Length | Allowed Values | Range | Pattern Match | Reason / Comment / XML Choice |
PATIENT PATHWAY IDENTIFIER | min 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. |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
BIRTH WEIGHT | n4 | None | None | Existing Format/Length states max an4 - Data Set allows n4 |
GESTATION LENGTH (AT DELIVERY) | n2 | None | None | Existing Format/Length states an2 - Data Set allows n2 |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
ETHNIC CATEGORY | max an2 | None | None | Existing 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 |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
CDS UNIQUE IDENTIFIER | max an35 | None | None | Existing 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 NUMBER | max n2 | None | None | Existing 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) | an3 | None | None | an5 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 an5 | None | None | an6 is not applicable for the Patient Level Information Costing System Acute Data Set - Admitted Patient Care. |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
CDS UNIQUE IDENTIFIER | max an35 | None | None | Existing 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) | an3 | None | None | an5 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 an5 | None | None | an6 is not applicable for the Patient Level Information Costing System Acute Data Set - Emergency Care. |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
ATTENDANCE IDENTIFIER | max an12 | None | None | Existing 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 IDENTIFIER | max an35 | None | None | Existing 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) | an3 | None | None | an5 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 an5 | None | None | an6 is not applicable for the Patient Level Information Costing System Acute Data Set - Out-Patient Care. |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
CRITICAL CARE LOCAL IDENTIFIER | max an8 | None | None | Existing 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) | an3 | None | None | an5 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 an5 | None | None | an6 is not applicable for the Patient Level Information Costing System Acute Data Set - Specialist Ward Care. |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
ORGANISATION IDENTIFIER (CODE OF PROVIDER) | an3 | None | None | an5 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 an5 | None | None | an6 is not applicable for the Patient Level Information Costing System Acute Data Set - Supplementary Information. |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
ORGANISATION IDENTIFIER (CODE OF PROVIDER) | an3 | None | None | an5 and an6 is not applicable for the Patient Level Information Costing System Data Set - Ambulance. |
ORGANISATION IDENTIFIER (CODE OF SUBMITTING ORGANISATION) | min an3 max an5 | None | None | an6 is not applicable for the Patient Level Information Costing System Data Set - Ambulance. |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
ORGANISATION IDENTIFIER (CODE OF PROVIDER) | an3 | None | None | an5 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 an5 | None | None | an6 is not applicable for the Patient Level Information Costing System Data Set - Improving Access to Psychological Therapies |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
ORGANISATION IDENTIFIER (CODE OF PROVIDER) | an3 | None | None | an5 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 an5 | None | None | an6 is not applicable for the Patient Level Information Costing System Mental Health Data Set - Admitted Patient Care. |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
ORGANISATION IDENTIFIER (CODE OF PROVIDER) | an3 | None | None | an5 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 an5 | None | None | an6 is not applicable for the Patient Level Information Costing System Mental Health Data Set - Care Contacts |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
ORGANISATION IDENTIFIER (CODE OF SUBMITTING ORGANISATION) | min an3 max an5 | None | None | an6 is not applicable for the Patient Level Information Costing System Data Set - Reconciliation. |
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 Name | Column Meaning | Column Options | ||
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary | |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
LOCAL PATIENT IDENTIFIER (EXTENDED) | min an1 max an20 | None | None | Existing 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 an5 | None | None | an6 is not applicable for the Systemic Anti-Cancer Therapy Data Set. Format pattern applied to allow correct reporting of ORGANISATION IDENTIFIER (CODE OF PROVIDER). |
For enquiries about this Change Request, please email information.standards@nhs.net