NHS Data Model and DictionaryNHS Digital
Type:Patch
Reference:1942
Version No:1.0
Subject:Headings Patch: Supporting Information and other items
Effective Date:Immediate
Reason for Change:Patch
Publication Date:10 June 2025

Background:

The Accessibility Monitoring Team at the Government Digital Service have identified the NHS Data Model and Dictionary as having web accessibility issues that must be resolved to comply with current Web Content Accessibility Guidelines (2.2).

This Patch adds headings html to Supporting Information and other items to comply with current Web Content Accessibility Guidelines.

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:

Supporting Information
CLINICAL CODING INTRODUCTION   Changed Description
CLINICAL DATA SETS MESSAGE DOCUMENTATION   Changed Description
COMMISSIONING DATA SET ADDRESSING GRID   Changed Description
COMMISSIONING DATA SET BUSINESS RULES   Changed Description
COMMISSIONING DATA SET DATA DUPLICATION   Changed Description
COMMISSIONING DATA SET NOTATION   Changed Description
COMMISSIONING DATA SETS INTRODUCTION   Changed Description
COMMISSIONING DATA SETS OVERVIEW   Changed Description
COMMISSIONING DATA SET SUBMISSION PROTOCOL   Changed Description
COMMISSIONING DATA SET VERSIONS   Changed Description
COMMISSIONING DATA SET XML SCHEMA DESIGN   Changed Description
COMMISSIONING DATA SET XML SCHEMA DOCUMENTATION   Changed Description
COMMISSIONING DATA SET XML SCHEMA OVERVIEW   Changed Description
COMMISSIONING DATA SET XML SCHEMA VERSION NUMBERING   Changed Description
MAIN SPECIALTY AND TREATMENT FUNCTION CODES TABLE   Changed Description
NATIONAL CANCER WAITING TIMES MONITORING DATA SET SCENARIOS   Changed Description
OPCS CLASSIFICATION OF INTERVENTIONS AND PROCEDURES   Changed Description
ORGANISATION MERGERS   Changed Description
SECURITY ISSUES AND PATIENT CONFIDENTIALITY   Changed Description
SUPPORTING DATA SETS MESSAGE DOCUMENTATION   Changed Description
SUPPORTING INFORMATION INTRODUCTION   Changed Description
XML SCHEMA AND DATA SET CONSTRAINTS   Changed Description
XML SCHEMA TRUD DOWNLOAD   Changed Description
 
Attribute Definitions
TREATMENT FUNCTION CODE   Changed Description
 
XML Schema Constraint
CANCER OUTCOMES AND SERVICES DATA SET XML SCHEMA CONSTRAINTS   Changed Description
COMMISSIONING DATA SET VERSION 6-2-3 XML SCHEMA CONSTRAINTS   Changed Description
COMMISSIONING DATA SET VERSION 6-2 XML SCHEMA CONSTRAINTS   Changed Description
COMMISSIONING DATA SET VERSION 6-3 XML SCHEMA CONSTRAINTS   Changed Description
COMMUNITY SERVICES DATA SET CONSTRAINTS   Changed Description
CRITICAL CARE MINIMUM DATA SET CONSTRAINTS   Changed Description
DEVICES PATIENT LEVEL CONTRACT MONITORING DATA SET CONSTRAINTS   Changed Description
DIAGNOSTIC IMAGING DATA SET XML SCHEMA CONSTRAINTS   Changed Description
DRUGS PATIENT LEVEL CONTRACT MONITORING DATA SET CONSTRAINTS   Changed Description
ELECTRONIC PRESCRIBING AND MEDICINES ADMINISTRATION DATA SET XML SCHEMA CONSTRAINTS   Changed Description
EMERGENCY CARE DATA SET VERSION 4 XML SCHEMA CONSTRAINTS   Changed Description
HIV AND AIDS REPORTING DATA SET XML SCHEMA CONSTRAINTS   Changed Description
IMPROVING ACCESS TO PSYCHOLOGICAL THERAPIES DATA SET CONSTRAINTS   Changed Description
MENTAL HEALTH SERVICES DATA SET CONSTRAINTS   Changed Description
NATIONAL CANCER WAITING TIMES MONITORING DATA SET CONSTRAINTS   Changed Description
NATIONAL NEONATAL DATA SET CONSTRAINTS   Changed Description
PATIENT LEVEL CONTRACT MONITORING DATA SET CONSTRAINTS   Changed Description
RADIOTHERAPY DATA SET CONSTRAINTS   Changed Description
SYSTEMIC ANTI-CANCER THERAPY DATA SET CONSTRAINTS   Changed Description
 

Date:10 June 2025
Sponsor:Tomas Sanchez Lopez, Director Technology and Data Integration, Data and Analytics, NHS England

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.


CLINICAL CODING INTRODUCTION

Change to Supporting Information: Changed Description

top


COMMISSIONING DATA SET ADDRESSING GRID

Change to Supporting Information: Changed Description

The Commissioning Data Set Addressing Grid below illustrates which ORGANISATION CODES should be used to populate the CDS PRIME RECIPIENT IDENTITY and CDS COPY RECIPIENT IDENTITY for each PATIENT / NHS SERVICE CONTRACT.  See the specific ORGANISATION CODE Data Elements for further information on their usage and Organisation Data Service Default Codes etc.

Note that Organisation Data Service code YDD82 "National Commissioning Group" was retired from April 2013.

Commissioning Data Set Addressing Grid is only applicable for Commissioning Data Set version 6-2, as CDS PRIME RECIPIENT IDENTITY and CDS COPY RECIPIENT IDENTITY have been replaced with ORGANISATION IDENTIFIER (CDS RECIPIENT) in Commissioning Data Set version 6-3.

Health Care Providers need to specify the ORGANISATIONS that have a right to the commissioning data set data as a CDS PRIME RECIPIENT IDENTITY or CDS COPY RECIPIENT IDENTITY. This is so that they can access the data once it has been stored in the Secondary Uses Service.

Please note that payment via the National Tariff Payment System is not determined by the CDS PRIME RECIPIENT IDENTITY or CDS COPY RECIPIENT IDENTITY.

Important Notes:

Commissioning Data Set Addressing Grid for users of Commissioning Data Set version 6-2

Commissioning Data Set Addressing Grid for users of Commissioning Data Set version 6-2

PATIENT / NHS SERVICE CONTRACT

Data Elements in the Commissioning Data Sets Version 6-2 onwards

CDS PRIME RECIPIENT IDENTITY
M*

CDS COPY RECIPIENT IDENTITY
O*

Private PATIENTORGANISATION CODE (RESIDENCE RESPONSIBILITY)VPP00ORGANISATION CODE (RESPONSIBLE PCT) or ORGANISATION CODE of the responsible Sub Integrated Care Board Location
Overseas Visitor liable for NHS charges and not registered with a General Medical Practitioner PracticeORGANISATION CODE (RESIDENCE RESPONSIBILITY)VPP00 
Overseas Visitor liable for NHS charges and registered with a General Medical Practitioner PracticeORGANISATION CODE (RESIDENCE RESPONSIBILITY)VPP00 ORGANISATION CODE (RESPONSIBLE PCT) or ORGANISATION CODE of the responsible Sub Integrated Care Board Location
Overseas Visitor exempt from charges, current permanent residence overseas and not registered with a General Medical Practitioner PracticeTDH00ORGANISATION CODE (CODE OF COMMISSIONER) 
Overseas Visitor exempt from charges, current permanent overseas and registered with a General Medical Practitioner PracticeTDH00ORGANISATION CODE (CODE OF COMMISSIONER)ORGANISATION CODE (RESPONSIBLE PCT) or ORGANISATION CODE of the responsible Sub Integrated Care Board Location
Overseas Visitor exempt from charges, current permanent residence is the UK and not registered with a General Medical Practitioner PracticeORGANISATION CODE (RESIDENCE RESPONSIBILITY)ORGANISATION CODE (CODE OF COMMISSIONER) 
Overseas Visitor exempt from charges, current permanent residence is the UK and registered with a General Medical Practitioner PracticeORGANISATION CODE (RESIDENCE RESPONSIBILITY)ORGANISATION CODE (CODE OF COMMISSIONER)ORGANISATION CODE (RESPONSIBLE PCT) or ORGANISATION CODE of the responsible Sub Integrated Care Board Location
PATIENT registered with a General Medical Practitioner Practice treated as a Non-Contract ActivityORGANISATION CODE (RESIDENCE RESPONSIBILITY)ORGANISATION CODE of the responsible Sub Integrated Care Board LocationORGANISATION CODE (CODE OF COMMISSIONER)
PATIENT not registered with a General Medical Practitioner Practice treated as a Non-Contract ActivityORGANISATION CODE (RESIDENCE RESPONSIBILITY)ORGANISATION CODE (CODE OF COMMISSIONER) 
** PATIENT registered with General Medical Practitioner Practice with a Specialised Services and Other Commissioning Consortia Service AgreementORGANISATION CODE (RESIDENCE RESPONSIBILITY)ORGANISATION CODE of the responsible Sub Integrated Care Board LocationORGANISATION CODE of ORGANISATION to which costs of treatment accrue
** PATIENT not registered with General Medical Practitioner Practice with a Specialised Services and Other Commissioning Consortia Service AgreementORGANISATION CODE (RESIDENCE RESPONSIBILITY)ORGANISATION CODE of ORGANISATION to which costs of treatment accrue 
PATIENT registered with General Medical Practitioner Practice with an NHS SERVICE CONTRACT (excluding Overseas Visitors)ORGANISATION CODE (RESIDENCE RESPONSIBILITY)ORGANISATION CODE of the responsible Sub Integrated Care Board Location 
PATIENT not registered with a General Medical Practitioner Practice but resident in an area covered by an NHS SERVICE CONTRACT (excluding Overseas Visitors)ORGANISATION CODE (RESIDENCE RESPONSIBILITY) 


Notes:

Key to population codes:

M*: This Data Element is mandatory in the CDS-XML schema. Submissions will not flow if this Data Element is absent
O*: This Data Element is optional

** Specialised Services and Other Commissioning Consortia Service Agreements include SERVICES that are commissioned by regional Specialised Commissioning Groups and local arrangements for commissioning ACTIVITY through shared service ORGANISATIONS.

top


COMMISSIONING DATA SET BUSINESS RULES

Change to Supporting Information: Changed Description

The Commissioning Data Sets have notation to identify the business and/or processing rules which apply to individual Data Elements.  This notation appears in the Rules column of the Commissioning Data Sets details page. 

Population Validation

Population Validation

All Data Elements are subject to length validation.  Some Data Elements are also subject to format and content validation against a list of permitted values defined in the NHS Data Model and Dictionary. The value lists are held on the Attribute which the Data Element is based on, plus default codes which are held on the Data Element itself.

RULE POPULATION VALIDATION 
F The format is validated, for example the format of a date must comply with the XML standard.
V The Data Element is validated against an explicit list of permitted values as defined in the NHS Data Model and Dictionary.
Note the permitted values differ between CDS-XML schema version 6-2 and CDS-XML version 6-2-0 for CARE PROFESSIONAL MAIN SPECIALTY CODE and ACTIVITY TREATMENT FUNCTION CODE.


Business Rules

Business Rules

Some Data Elements are subject to additional Business Rules as indicated below:

PREFIX BUSINESS RULES: H - Healthcare Resource Group Business Rules 
H4 This Data Element is used by the Secondary Uses Service to derive the Healthcare Resource Group 4.
Failure to correctly populate this data element is likely to result in an incorrect Healthcare Resource Group, usually associated with lower levels of healthcare resource.
For further information, please refer to the NHS England website at: Payment by Results Guidance.

PREFIX BUSINESS RULES: I - CDS-XML Schema Notes, Anomalies and Issues 
I1 This is a known schema anomaly and has been registered for future resolution.
I2 See the specifications in the NHS Data Model and Dictionary for the specific format characteristics of this Data Element.
I3 There is no national requirement to flow Healthcare Resource Group 4 (HRG4) through the Commissioning Data Sets, see DSCN 17/2008.
I4From Commissioning Data Set version 6-3 and Emergency Care Data Set V4 onwards, the NHS Data Model and Dictionary data set layout has been updated to correctly represent the existing requirements of the CDS-XML Schema for PERSON NAME STRUCTURED and PERSON NAME UNSTRUCTURED
I5From Commissioning Data Set version 6-3 and Emergency Care Data Set V4 onwards, the NHS Data Model and Dictionary data set layout has been updated to correctly represent the existing requirements of the CDS-XML Schema for ADDRESS STRUCTURED and ADDRESS UNSTRUCTURED

PREFIX BUSINESS RULES: N - NHS Data Standards and Policy Rules 
N1Psychiatric PATIENTS only (Retired January 2021).
N2 Not defined or approved by the Data Assurance Board, Data Alliance Partnership Board, Data Coordination Board, Standardisation Committee for Care Information and Information Standards Board for Health and Social Care.
N3 The definition and value list for this data is under review.
N4 Up to 20 codes per daily activity occurrence may be recorded.
N5 This data should only flow in Commissioning Data Set version 6-1 for PATIENTS detained under the Mental Health Act prior to the Mental Health Act 2007 (Retired June 2015).
N6 This data should only flow in Commissioning Data Set version 6-2 for PATIENTS detained under the Mental Health Act 2007.
N7 From Commissioning Data Set version 6-0 onwards, the use of the DETAINED AND (OR) LONG TERM PSYCHIATRIC CENSUS DATE in the location group is optional as it must be carried in the Episode Characteristics.

PREFIX BUSINESS RULES: S - Secondary Uses Service Business Rules 
S1 This mandatory Commissioning Data Set date is used as the originating date to determine the mandatory CDS ACTIVITY DATE.
S2 The Secondary Uses Service DOES NOT support the use of the CDS TEST INDICATOR. Therefore this Data Element must not be used (Retired June 2015).
S3 See Security Issues and Patient Confidentiality, for further information.
S4 Used to ensure the correct sequencing of multiple and/or subsequent Commissioning Data Set submissions.
S5These ORGANISATION CODES/ORGANISATION IDENTIFIERS must be present and registered with the Secondary Uses Service. The Commissioning Data Set Schema does not validate the content value of this data
S6 All CDS REPORT PERIOD START DATES and CDS REPORT PERIOD END DATES must be consistent in all Commissioning Data Set records contained in a BULK Interchange submission.
The CDS REPORT PERIOD START DATE must be on or before the CDS REPORT PERIOD END DATE.
The CDS ACTIVITY DATE is a mandatory data element and must fall within the period defined.
See the Commissioning Data Set Submission Protocol.
S7 See the Commissioning Data Set Addressing Grid.
S8 These Data Elements are required for correct processing by the Secondary Uses Service. If omitted, the Secondary Uses Service will reject the Commissioning Data Set data.
S9 The CDS UNIQUE IDENTIFIER is a mandatory data item when using the Net Change Protocol. When using the Bulk Update Protocol this data item is optional but it is strongly advised that where it can be correctly generated and maintained it should be used. See the Commissioning Data Set Submission Protocol.
S10 For CDS V6-2 Type 170 - Admitted Patient Care - Detained and or Long Term Psychiatric Census Commissioning Data Set, the CDS ACTIVITY DATE contains the CDS CENSUS DATE which is also the DETAINED AND (OR) LONG TERM PSYCHIATRIC CENSUS DATE.
S11 For the following CDS Types, the CDS ACTIVITY DATE must contain the Date of the Elective Admission List Census which is usually the end of the Period being reported: 
CDS V6-2 Type 030 - Elective Admission List - End of Period Census (Standard) Commissioning Data Set 
CDS V6-2 Type 040 - Elective Admission List - End of Period Census (Old) Commissioning Data Set 
CDS V6-2 Type 050 - Elective Admission List - End of Period Census (New) Commissioning Data Set 
S12 These PERSON BIRTH DATE Data Elements must use dates between 01/01/1880 and 31/12/2999 in order to pass validation
S13 Data Elements reporting a date (which is not a PERSON BIRTH DATE Data Element) must use dates between 01/01/1900 and 31/12/2999 in order to pass validation
S14 For Data Elements reporting a time, the hour portion must be between 00 and 23 inclusive in order to pass validation

top


COMMISSIONING DATA SET DATA DUPLICATION

Change to Supporting Information: Changed Description

It is acknowledged that the Secondary Uses Service processes can be directed to create duplicate Commissioning Data Set records and on occasion to wrongly delete records. This may occur if data senders do not correctly apply the rules associated with the Commissioning Data Set Submission Protocol such as the protocol dates and the sender and recipient codes applicable to interchanges.

It is not advisable to mix the use of Bulk and Net protocol for Commissioning Data Set submissions for the same sender ORGANISATION and ORGANISATION SITE as duplication or wrongful record deletion can occur.

Anticipating possible causes of duplication

Anticipating possible causes of duplication
Data senders can take steps to avoid Commissioning Data Set duplication in the Secondary Uses Service by anticipating situations which could result in changes to the data applied in the Commissioning Data Set Submission Protocols and by taking action to ensure that key data items that need to be retained consistently in the lifetime of the Commissioning Data Set record are not changed.

Data senders should note the following guidance on situations where extra vigilance is needed and action to ensure consistent and correct application of data elements used in net or bulk protocols.

New Patient Care or other local systems used in Commissioning Data Set processing

New Patient Care or other local systems used in Commissioning Data Set processing
When a new PATIENT care system or other system is implemented or used for preparing the Commissioning Data Set output data, it must be ensured that the Commissioning Data Set is generated to the appropriate specification required. The sender must ensure that any data events that may impact on key fields in the Commissioning Data Set are managed correctly.

For example, if the CDS SENDER IDENTITY/ORGANISATION IDENTIFIER (CDS SENDER) is sourced from the new system it is important to check that its format will not be changed (e.g. from 5 to 3 characters).

Sub-contracting

Sub-contracting
If a provider sub-contracts healthcare services and associated Commissioning Data Set submissions to a second provider, both parties need to actively engage in coordinating their arrangements for Commissioning Data Set submissions, ensuring that Commissioning Data Set Submission Protocol rules are applied appropriately to maintain the Commissioning Data Set data integrity in the Secondary Uses Service database.

New XML Schema translation supplier

New XML Schema translation supplier
If a provider changes supplier arrangements for XML Schema translation, it is important that the new supplier is provided with the information required about the Commissioning Data Set Submission Protocols that have been used in previous Commissioning Data Set submissions in order to ensure that data integrity is maintained in the ongoing Commissioning Data Set XML Schema processes and in the Secondary Uses Service database.

top


COMMISSIONING DATA SET NOTATION

Change to Supporting Information: Changed Description

The Commissioning Data Set is the basic structure used for the submission of commissioning data to the Secondary Uses Service and is designed to be capable of individually conveying many different Commissioning Data Set structures, encompassing Urgent and Emergency Care Activity, Care Professional Out-Patient Attendances, Care Professional Admitted Care Episodes.  (Elective Admission List is also defined in Commissioning Data Set version 6-2 only).

The Commissioning Data Sets have been defined in specific components known as a CDS Type.

Specific notation is used to indicate the requirements of the Commissioning Data Set XML Schema Design conditions for submission of data in the Commissioning Data Sets.

The structure of the Commissioning Data Set XML Schema is shown by the use of Data Groups and Sub Groups within those Data Groups.  For each Data Group, Sub Group and individual Data Element, the allowed cardinality at each level is also shown in the "Status" and "Repeats" columns.

The CDS Type specifications must therefore be read in this hierarchy, using the Status and Repeat conditions within the Data Groups and Sub Groups, to determine the requirements for the individual Data Elements.


Status Column Notation

Status Column Notation

The Notation used for the "STATUS" column is as follows:

STATUSMEANINGDESCRIPTION
MMANDATORYThis signifies that the collection and submission of this Commissioning Data Set data is deemed MANDATORY and its presence is necessary for the CDS Type to be correctly validated and accepted for processing by the Secondary Uses Service.

If a data item is shown as MANDATORY, this should also be regarded as REQUIRED by the Department of Health and Social Care.

In most instances, data marked as MANDATORY in a Sub Group will result in its parent Data Group also being marked as mandatory, but this is not always the case.

For instance, although the Care Episode - Clinical Diagnosis Group (ICD) is marked as R=REQUIRED (and therefore need not actually be populated), if it is used then both the DIAGNOSIS SCHEME IN USE and the PRIMARY DIAGNOSIS (ICD) are marked as M=MANDATORY and must both be present. 

RREQUIREDThis signifies that the collection and submission of this Commissioning Data Set data is deemed REQUIRED by the Department of Health and Social Care to comply with authorised NHS Standards, Policies and Directives. Therefore whenever a Commissioning Data Set is collected and subsequently submitted to the Secondary Uses Service, this data must be supported and populated into the relevant data sets if the data is available.

Note that "temporal" conditions may mean that there are instances where this directive cannot be fulfilled.

For instance in a CDS V6-3 Type 130 - Admitted Patient Care - Finished General Episode Commissioning Data Set, ICD and OPCS data groups are marked as "Required" indicating that this data should be included.  However, if at the time of submission to the Secondary Uses Service this data remains incomplete (perhaps awaiting coding in the ORGANISATION), the remaining data in the CDS record should still be submitted. Once the ORGANISATION has updated its systems with the data, the CDS Type relating to that ACTIVITY should then be resubmitted to the Secondary Uses Service

OOPTIONALThis signifies that the collection and submission of this Commissioning Data Set data is OPTIONAL. Its inclusion in the Commissioning Data Set is therefore determined by "local agreement" between the ORGANISATIONS exchanging the data.

Note that even if marked O=OPTIONAL, any data included in a Commissioning Data Set submission to the Secondary Uses Service must comply with its specification published in the NHS Data Model and Dictionary otherwise the data may be deemed invalid and rejected. 

XNot yet authorisedThis is used where the Data Element name has been included in the Commissioning Data Set design, usually for pilot use, but is not yet authorised for transmission by the wider NHS.

Repeats Column Notation

Repeats Column Notation

Examples of the Notation used for the "REPEATS" column are as follows:

REPEATSDESCRIPTION
0..1This signifies that the permitted occurrences of the Data Group, Sub Group or individual Data Element are from a minimum of 0 to a maximum of 1.
0..9This signifies that the permitted occurrences of the Data Group, Sub Group or individual Data Element are from a minimum of 0 to a maximum of 9.
0..*This signifies that the permitted occurrences of the Data Group, Sub Group or individual Data Element are from a minimum of 0 to an unlimited maximum.
1..1This signifies that the permitted occurrences of the Data Group, Sub Group or individual Data Element are from a minimum of 1 to a maximum of 1.
1..97This signifies that the permitted occurrences of the Data Group, Sub Group or individual Data Element are from a minimum of 1 to a maximum of 97.
1..*This signifies that the permitted occurrences of the Data Group, Sub Group or individual Data Element are from a minimum of 1 to an unlimited maximum.

Rules Column Notation

Rules Column Notation

An entry in the "Rules" column shows that a specific Rule applies to submission of an individual Data Element.

The meaning of these Rules can be found in Commissioning Data Set Business Rules.


Notation Examples

The following are examples of some common scenarios:

EXAMPLE 1:
A MANDATORY Data Group with differing Sub-Groups and component data status conditions.

The following example shows a MANDATORY Data Group - therefore the Data Group must be present for the CDS Type to be validated and accepted for processing by the Secondary Uses Service.

When a Data Group is used:

  1. All MANDATORY Sub Groups and/or Data Elements must be present
  2. Any REQUIRED Sub Groups and/or Data Elements must be present if the data is available
  3. Any OPTIONAL Sub Groups and/or Data Elements may be omitted

The following data structure is one of three options when completing the Patient Identity Data Group:

1..1DATA GROUP: VERIFIED IDENTITY STRUCTURE
Must be used where the NHS NUMBER STATUS INDICATOR CODE
 National Code = 01 (Number present and verified)
 
R0..1DATA GROUP: LOCAL IDENTIFIER STRUCTURERules
M1..1LOCAL PATIENT IDENTIFIER (EXTENDED)F
S3
M1..1ORGANISATION IDENTIFIER (LOCAL PATIENT IDENTIFIER)F
M1..1Data Element ComponentsRules
M1..1NHS NUMBERF
S3
M1..1NHS NUMBER STATUS INDICATOR CODEV
M1..1POSTCODE OF USUAL ADDRESSF
S3
R0..1ORGANISATION IDENTIFIER (RESIDENCE RESPONSIBILITY)F
R0..1PERSON BIRTH DATEF
S3
S12

EXPLANATION:

The parent DATA GROUP: VERIFIED IDENTITY STRUCTURE has a "Status" of M=MANDATORY which indicates that this Data Group must be present in the Commissioning Data Set to ensure correct validation and acceptance when submitted to the Secondary Uses Service.  The parent Data Group "Repeats" = 1..1 indicates that only one occurrence of this Data Group must flow in this particular Commissioning Data Set record.

The Sub Group of "DATA GROUP: LOCAL IDENTIFIER STRUCTURE" is marked as R=REQUIRED and therefore must be populated if the data is available. The "Repeats" notation of 0..1 indicates that population of this Sub Group is not necessary to enable the Commissioning Data Set record to be sent to the Secondary Uses Service. If it is sent, then only one occurrence of this Sub Group may flow in this particular Commissioning Data Set record.
Both Data Elements in the Sub Group are marked M=MANDATORY and must both be correctly populated.

The Sub Group of "Data Element Components" is a "generic" structure and is marked as M=MANDATORY and therefore must be populated. The "Repeats" notation of 1..1 indicates that only one occurrence of this Data Group may flow in this particular Commissioning Data Set record.  All the Data Elements marked with M=MANDATORY must be populated.  PERSON BIRTH DATE however is marked with R=REQUIRED, so must also be completed if the data is available. 


EXAMPLE 2:
A REQUIRED Data Group with differing component data status conditions.

The following example shows a REQUIRED Data Group. This data must be present in the relevant Commissioning Data Set if available.  However, if submitted to the Secondary Uses Service, omission of this REQUIRED Data Group will not cause rejection.

When the Data Group is used:

  1. All MANDATORY Sub Groups and/or Data Elements must be utilised
  2. Any REQUIRED Sub Groups and/or Data Elements must be present if the data is available
  3. Any OPTIONAL Sub Groups and/or Data Elements may be omitted
NotationDATA GROUP: CONSULTANT EPISODE - CLINICAL DIAGNOSIS GROUP (ICD)
Group
Status
R
Group
Repeats
0..1
FUNCTION:
To carry the details of the ICD coded Clinical Diagnoses for the Patient.
M1..1Data Element ComponentsRules
M1..1DIAGNOSIS SCHEME IN USEV
M1..1DATA GROUP: PRIMARY DIAGNOSISRules
M1..1PRIMARY DIAGNOSIS (ICD)F
H4
R0..*DATA GROUP: SECONDARY DIAGNOSISRules
M1..1SECONDARY DIAGNOSIS (ICD)F
H4

EXPLANATION:

The DATA GROUP: CONSULTANT EPISODE - CLINICAL DIAGNOSIS GROUP (ICD) "Status" of R=Required indicates that this Data Group must be populated in the relevant Commissioning Data Set if the data is available.  The Data Group "Repeats" = 0..1 indicates that population of this Data Group is not necessary to enable the Commissioning Data Set to be sent to the Secondary Uses Service. If it is sent, then only one occurrence of this Data Group may flow in this particular Commissioning Data Set record.

If the Data Group is completed then the Data Element PROCEDURE SCHEME IN USE, marked as M=MANDATORY, must be populated. The "Repeats" notation of 1..1 indicates that only one occurrence of this Data Element is valid.

If the Data Group is completed then the Data Element PRIMARY DIAGNOSIS (ICD), marked as M=MANDATORY, must be populated. The "Repeats" notation of 1..1 indicates that only one occurrence of this Data Element is valid.

If the Data Group is completed then the Sub Group "Secondary Diagnoses", marked as R=REQUIRED, must be completed if the data is available, and if populated it must be in the correct format. The "Repeats" notation of 0..* indicates that unlimited occurrences of this Data Element are valid. Each occurrence must contain a valid SECONDARY DIAGNOSIS (ICD). 


EXAMPLE 3:
An OPTIONAL Data Group with differing component data status conditions.

The following example shows an OPTIONAL Data Group. Its inclusion in the Commissioning Data Sets is therefore determined by "local agreement" between ORGANISATIONS exchanging the data.

When the Data Group is used:

  1. All MANDATORY Sub Groups and/or Data Elements must be utilised
  2. Any REQUIRED Sub Groups and/or Data Elements must be present if the data is available
  3. Any OPTIONAL Sub Groups and/or Data Elements may be omitted
NotationDATA GROUP: PATIENT PATHWAY
Group
Status
O
Group
Repeats
0..1
FUNCTION:
To carry the details of the Patient Pathway.
M1..1DATA GROUP: PATIENT PATHWAY IDENTITYRules
M
Or
M
1..1

1..1
UNIQUE BOOKING REFERENCE NUMBER (CONVERTED)
Or
PATIENT PATHWAY IDENTIFIER
F
 
F
I2
M1..1ORGANISATION IDENTIFIER (PATIENT PATHWAY IDENTIFIER ISSUER)F
I2
M1..1DATA GROUP: REFERRAL TO TREATMENT PERIOD CHARACTERISTICSRules
M1..1REFERRAL TO TREATMENT PERIOD STATUSV
M1..1WAITING TIME MEASUREMENT TYPE (COMMISSIONING DATA SET)V
O0..1REFERRAL TO TREATMENT PERIOD START DATEF
S13
O0..1REFERRAL TO TREATMENT PERIOD END DATEF
S13

EXPLANATION:

The DATA GROUP: PATIENT PATHWAY "Status" of O=OPTIONAL indicates that this Data Group may be omitted and its inclusion in the Commissioning Data Set is determined by "local agreement" between the ORGANISATIONS exchanging the data.

Note that even if marked O=OPTIONAL, any data included in a Commissioning Data Set submission to the Secondary Uses Service must comply with its specification published in the NHS Data Model and Dictionary otherwise the data may be deemed invalid and rejected.

The Data Group "Repeats" = 0..1 indicates that population of this Data Group is not necessary to enable the Commissioning Data Set to be sent to the Secondary Uses Service. If it is sent, then only one occurrence of this Data Group may flow in this particular Commissioning Data Set record.

If the DATA GROUP: PATIENT PATHWAY is submitted, then both of the sub-groups (DATA GROUP: PATIENT PATHWAY IDENTITY, and DATA GROUP: REFERRAL TO TREATMENT PERIOD CHARACTERISTICS) must be submitted. Data Elements marked as M=MANDATORY, must be populated. The "Repeats" notation of 1..1 indicates that only one occurrence of each of these Data Elements are valid.

In the DATA GROUP: PATIENT PATHWAY sub-group, either UNIQUE BOOKING REFERENCE NUMBER (CONVERTED) or PATIENT PATHWAY IDENTIFIER must be submitted (but not both).

top


COMMISSIONING DATA SETS INTRODUCTION

Change to Supporting Information: Changed Description

The Commissioning Data Sets (CDS) are maintained and developed by NHS England, in accordance with the needs of the NHS and the Department of Health and Social Care.

Commissioning Data Sets form the basis of data on ACTIVITY carried out by ORGANISATIONS reported centrally for monitoring and payment purposes. They support the current Healthcare Resource Group (HRG) version for calculation of payment to trusts and monitoring of other initiatives.

Requests for changes to the Commissioning Data Sets should be submitted via email to enquiries@nhsdigital.nhs.uk, stating "Commissioning Data Sets" in the subject line.

For further information on Commissioning Data Sets, see:

top


COMMISSIONING DATA SETS OVERVIEW

Change to Supporting Information: Changed Description

Introduction

The purpose of the Commissioning Data Sets is to enable conformant health ACTIVITY information to be generated, independent of the ORGANISATION or system that maintains it. This enables health CARE PROFESSIONALS to measure and compare the delivery and quality of care provided and to support them in sharing information with other health professionals and ORGANISATIONS.

Commissioning Data Sets currently support the following ACTIVITIES:

Information on care provided for all PATIENTS by Health Care Providers (both NHS and Independent Sector Healthcare Providers for NHS PATIENTS only) must be submitted to the Secondary Uses Service according to the Commissioning Data Set Mandated Data Flows guidelines.

Commissioning ORGANISATIONS need access to data to monitor Non-Contract Activity as part of the management of their NHS SERVICE CONTRACTS, and to monitor in-year REFERRAL REQUESTS to investigate the sources and reasons for Non-Contract Activity.

The Department of Health and Social Care requires accurate data for all PATIENTS admitted, treated as out-patients or treated as Urgent and Emergency Care Activity by Health Care Providers, including PATIENTS receiving private treatment. The Commissioning Data Sets also includes NHS-funded PATIENTS treated electively in the independent sector and overseas.

Referral To Treatment Clock Stop Administrative Events may also flow using the CDS V6-2 Type 020 - Outpatient Commissioning Data Set or CDS V6-3 Type 020 - Outpatient Commissioning Data Set. This allows the Secondary Uses Service to build accurate PATIENT PATHWAYS for the reporting of waiting time measurement.

Where possible the definitions and items collected in the Healthcare Operational Data Flows (Acute) Data Sets are aligned with those collected in the Commissioning Data Set V6.3.

CDS Types

CDS Types

The Commissioning Data Sets are the basic structure used for the submission of commissioning data to the Secondary Uses Service and is designed to be capable of individually conveying many different Commissioning Data Set structures encompassing Urgent and Emergency Care ActivityCare Professional Out-Patient Attendances, and Care Professional Admitted Care Episodes for both CDS version 6-2 and CDS version 6-3.    CDS version 6-2 also supports the submission of Future Out-Patient Attendances and Elective Admission List data.

Further Information

Further Information

Further guidance material for submission of data to the Secondary Uses Service can be found at: Secondary Uses Service (SUS Guidance).

top


COMMISSIONING DATA SET SUBMISSION PROTOCOL

Change to Supporting Information: Changed Description

The Commissioning Data Sets submitted by providers carry information to determine the update method to be used by the Secondary Uses Service in order to update the national database.

These update rules are known as the Commissioning Data Set Submission Protocol and the set of data controls used to indicate this are carried in the Commissioning Data Set Transaction Header Group which must be present and correct in every CDS Type submitted to the Secondary Uses Service.

Net Change:

Net Change:
Net Change processes are managed by specific data settings as defined in the CDS V6-2 Type 005N - Commissioning Data Set Transaction Header Group - Net Change Protocol / CDS V6-3 Type 005N - Commissioning Data Set Transaction Header Group - Net Change Protocol / ECDS V4 Type 005N option of the CDS Transaction Header Group. The Secondary Uses Service uses the following data to manage the database:

Note that CDS SENDER IDENTITY is used for CDS V6-2. ORGANISATION IDENTIFIER (CDS SENDER) is used for CDS V6-2-3 Type 011 - Emergency Care Commissioning Data Set / Emergency Care Data Set Version 4 and CDS Version 6-3 onwards. 

Each CDS Type must have a CDS UNIQUE IDENTIFIER which must be uniquely maintained throughout the life of that Commissioning Data Set record. This is a particular consideration where mergers and/or healthcare systems are changed or upgraded, see Commissioning Data Set Submission and Organisation Mergers. Any change to the CDS UNIQUE IDENTIFIER during the "lifetime" of a Commissioning Data Set record will almost certainly result in a duplicate record being lodged in the Secondary Uses Service database.

A Commissioning Data Set record delete transaction must be sent to the Secondary Uses Service database when any previously sent Commissioning Data Set record requires deletion/removal, for example to reflect Commissioner changes etc. 

Where CDS UPDATE TYPE 1 is required (delete/cancellation), an empty XML element called 'Delete Transaction' can be used instead of submitting he original CDS Type record, after the CDS V6-2 Type 005N - CDS Transaction Header Group - Net Change Protocol / CDS V6-3 Type 005N - Commissioning Data Set Transaction Header Group - Net Change Protocol. See the CDS V6-2 or CDS V6-3 XML Schema Release Notes which can be downloaded via the XML Schema TRUD Download page.

The CDS APPLICABLE DATE and CDS APPLICABLE TIME must be used to ensure that all Commissioning data is updated in the Secondary Uses Service database in the correct chronological order.

The CDS SENDER IDENTITY/ORGANISATION IDENTIFIER (CDS SENDER) must not change during the lifetime of the CDS data.  This is particularly significant for multiple and/or merged ORGANISATIONS, and for those services who submit data on behalf of another NHS TrustNHS Foundation Trust or Independent Sector Healthcare Provider.

Bulk Replacement

Bulk Replacement
Bulk Replacement processes are managed by specific data settings as defined in the CDS V6-2 Type 005B - Commissioning Data Set Transaction Header Group - Bulk Update Protocol/CDS V6-3 Type 005B - Commissioning Data Set Transaction Header Group - Bulk Update Protocol option of the CDS Transaction Header Group. The Secondary Uses Service uses the following data to manage the database:

Note that CDS SENDER IDENTITY is used for CDS V6-2. ORGANISATION IDENTIFIER (CDS SENDER) is used for CDS V6-2-3 Type 011 - Emergency Care Commissioning Data Set / ECDS V4 and CDS V6-3 onwards.

Every CDS Type must be submitted using the correct CDS BULK REPLACEMENT GROUP CODE.

The CDS REPORT PERIOD START DATE and the CDS REPORT PERIOD END DATE, (i.e. the effective date period), must be valid and consistent, and reflect the dates relevant to the Commissioning data contained in the interchange.

The CDS SENDER IDENTITY/ORGANISATION IDENTIFIER (CDS SENDER) must not change during the lifetime of the Commissioning Data Set record. This is particularly significant for multiple and/or merged ORGANISATIONS, and for those services who submit data on behalf of another ORGANISATION.

For submissions of CDS V6-2, the CDS PRIME RECIPIENT IDENTITY is Mandatory for submission in the CDS Type 005B (CDS Transaction Header Group - Bulk Update Protocol) and CDS Type 005N (CDS Transaction Header Group - Net Change Protocol). However, it no longer forms part of the key for the process of determining duplicate records within the Secondary Uses Service. Note that the CDS PRIME RECIPIENT IDENTITY continues to be used to determine data access requirements within the Secondary Uses Service for Commissioning Data Set version 6-2 submissions.  For Commissioning Data Set version 6-3 and CDS V6-2-3 Type 011 - Emergency Care Commissioning Data Set / Emergency Care Data Set Version 4, data element ORGANISATION IDENTIFIER (CDS RECIPIENT) is used for this purpose.

If it is necessary to change any of this data during the lifetime of a Commissioning Data Set record, then the Secondary Uses Service (SUS) Service Desk should be contacted for advice. See the NHS England website at: Secondary Uses Service (SUS).

It is strongly advised that users of the Bulk Replacement Mechanism maintain a correctly generated CDS UNIQUE IDENTIFIER within the Commissioning data. This will establish a migration path towards the use of the Net Change Mechanism and will also then minimise the risk of creating duplicate Commissioning Data Set data.

Sub contracting

Sub contracting
If a Health Care Provider sub-contracts healthcare provision and its associated Commissioning Data Set submission to a second ORGANISATION (eg a different Health Care Provider or a Shared Services Organisation), arrangements to submit the Commissioning Data Set data must be made locally to ensure that only one ORGANISATION sends the Commissioning Data Set data to the Secondary Uses Service.

If the second ORGANISATION wishes to add other Commissioning data to the Secondary Uses Service database to that already submitted by the first ORGANISATION, both parties need to ensure that a different CDS SENDER IDENTITY/ORGANISATION IDENTIFIER (CDS SENDER) is used.

Note: Data sent using the same CDS SENDER IDENTITY/ORGANISATION IDENTIFIER (CDS SENDER) by two different parties will most likely overwrite each other's data in the Secondary Uses Service database. Further advice can be obtained from the Secondary Uses Service (SUS) Service Desk, see the NHS England website at: Secondary Uses Service (SUS) Guidance.

Users should be aware of how the 15 character code of their CDS INTERCHANGE SENDER IDENTITY (also known as the EDI Address) is created. This may depend on how their XML interface solution has been set up. It may not be possible to rely on a change to the ORGANISATION CODE (CODE OF PROVIDER)/ORGANISATION IDENTIFIER (CODE OF PROVIDER) in order to change the CDS INTERCHANGE SENDER IDENTITY should this become necessary.

top


COMMISSIONING DATA SET VERSIONS

Change to Supporting Information: Changed Description

The Commissioning Data Set versions since 2001.

Current versions:

Current versions:

Retired versions:

Retired versions:

  • November 2012 to 1 March 2023: CDS Version 6-2-2
  • October 2017 to April 2022: CDS Version 6-2-1
  • November 2008 to June 2015: CDS Version 6-1 Type List
  • December 2007 to November 2012: CDS Version 6-0
  • April 2005 to March 2008: CDS Version NHS005 Type List
  • April 2001 to March 2005: CDS Version NHS003 and 4 Type List

The XML Schemas and supporting information can be downloaded from Technology Reference Update Distribution (TRUD) at: NHS Data Model and Dictionary XML Schemas.

top


COMMISSIONING DATA SET XML SCHEMA DESIGN

Change to Supporting Information: Changed Description

The use of XML was mandated by the e-Government Interoperability Framework (e-GIF) programme as the standard to be used for messaging by government organisations and was adopted by the NHS for the submission of Commissioning Data Set data to the Secondary Uses Service.

XML Schema Standards

XML Schema Standards
The overall standards applied and supported by the schema are:

Note:
e-GIF and the Government Data Standards Catalogue have been archived and are available for reference only.

XML Schema Naming Conventions

XML Schema Naming Conventions
These are in CamelCase reflecting recommended e-GOV guidelines for best practice. Wherever possible, schema data item names are compliant (or intuitively identifiable) with the NHS Data Model and Dictionary data naming conventions.

XML Schema Components

XML Schema Components
The schema consists of the following components:

  • The CDS XML Message Root
  • The CDS XML Standard Data Structures
  • The CDS XML Standard Data Elements
  • CDS Type Sub-Schemas
These are described below.

The XML Schema Root

The XML Schema Root
The schema root is the control section of the schema and uses the "XML Include" technique to call schema sub-components:

  • The Standard Data Structures
  • The Standard Data Elements
  • All CDS Type sub-component schemas, including the Commissioning Data Set Headers and Trailers
In addition, the schema root is the only schema entry point and on entry the schema validates the XML Attributes for:
  • SchemaVersion
  • SchemaDate
XML Schema Component: Standard Data Structures

XML Schema Component: Standard Data Structures

XML Schema Version 6-0 introduced standard data structures which are invoked from the CDS Type sub-component schemas. This simplifies the management and definition of data structures and eliminates (as far as is possible) the multiple definitions of the many common structures used across the CDS Type components. It also helps to eliminate naming and spelling inconsistencies.

This implementation of the schema does not enforce the sequence of data elements within its data structures (nor its data structures within the schema), nor is it foreseen that this will be enforced in future. For ease of understanding, users are advised to implement the structure sequences as published.

In general, the restraints on the permitted occurrences of data groups have been removed and in most cases, unbounded occurrences of iterating data structures are supported. The NHS Data Model and Dictionary defines the actual requirements for the use of NHS data.

XML Schema Component: Standard Data Elements

XML Schema Component: Standard Data Elements
XML Schema data items are defined with _Type suffixes and usually refer to a standard list of XML data types which are usually qualified with an enumeration list to reflect the NHS Data Standards as published in the NHS Data Model and Dictionary.

Schema Component: XML Attributes

Schema Component: XML Attributes
XML Attributes are used (sparingly) to enforce certain logical data and structure relationships, an example being to determine the type of Critical Care Period data being carried.

top


COMMISSIONING DATA SET XML SCHEMA DOCUMENTATION

Change to Supporting Information: Changed Description

The use of XML was mandated by the e-Government Interoperability Framework (e-GIF) programme as the standard to be used for messaging by government organisations and accordingly this has been adopted by the NHS.

Note:
e-GIF and the Government Data Standards Catalogue have been archived and are available for reference only.

For the most part, the XML Schema applies the data specifications as authorised by the NHS and documented in the NHS Data Model and Dictionary.

The Issued Documentation

The Issued Documentation
The following XML Schema artifacts are issued:

  • The XML Schema Files (generated using ALTOVA XMLSPY ©)
    The XML Schema files consist of a series of interpretable XML/HTML statements which define the data structures and content rules for the use of the message. User systems use the XML Schema to either populate or interpret an 'XML Schema instance' that is the resultant XML formatted message file which carries the data.

The XML Schema therefore represents the 'design' of the message and it may be necessary therefore to interpret and understand the information inherent in the XML Schema file code.

  • The XML Schema Documentation (generated using ALTOVA XMLSPY ©)
    These files are generated using XMLSPY software and may be read in any browser, e.g. Microsoft Edge©. The files consist of a 'root' entry HTML formatted file and a (usually) large number of supporting .png graphic files used by the root HTML.

This documentation enables useful "drill down" functions for investigating structures and data items, but these features are not as powerful as when using a full XML Schema editor (see below).

Most browsers will support printing and thus the XML Schema details can be printed as required but users are warned that browser based prints often generate a large number of pages.

The CDS XML Schema generates approximately 450+ pages of details, printing is therefore not advised.

  • The XML Schema Release Notes
    This is a pdf document identifying the changes applied to the XML Schema release, from the previous release.
    References to Information Standards Notices and other technical change requirements are detailed.

Reading XML Schema

Reading XML Schema

Whilst XML Schemas can be read as HTML in most browsers, it may be difficult to fully interpret the XML Schema unless the reader has a detailed understanding of HTML.

It is recommended that XML Schemas are read using an XML interpreter (such as ALTOVA XMLSPY ©), many of these are freely available on the internet.

XML Schema technicians may prefer to use such software to examine XML Schemas more deeply as the interactive facilities provided are generally more powerful than browsing the XML/HTML supplied Schema code.

top


COMMISSIONING DATA SET XML SCHEMA OVERVIEW

Change to Supporting Information: Changed Description

The use of XML was mandated by the e-Government Interoperability Framework (e-GIF) programme as the standard to be used for messaging by government organisations and was adopted by the NHS for the submission of Commissioning Data Set data to the Secondary Uses Service.

The CDS XML Schema is supported and applied in the Secondary Uses Service to enforce a nationally agreed data specification and thus help protect the data quality and integrity of the data submitted to and stored within the Secondary Uses Service.

It should be noted that after accepting the XML Schema interchange data, the Secondary Uses Service then applies further logical data validations and may identify and report further data conditions.

For the most part, the XML Schema applies the data specifications as authorised by the NHS and documented in the NHS Data Model and Dictionary. However, as the NHS Data Model and Dictionary is updated on a continuous time basis and XML Schemas may be less dynamic and updated on a longer time cycle, there may be subtle differences in the data specifications applied in the XML Schema. For example, additional National Codes may be supported in one version of the Commissioning Data Set XML Schema but not in earlier versions. Where this is the case, information relating to the supported National Codes can be found on the CDS Version 6-2 XML Schema Constraints / CDS Version 6-3 XML Schema Constraints page and associated Attributes and/or Data Elements.

Additionally an XML Schema may deliberately retain historic National Codes as well as supporting the new National Codes in order to enable NHS users to be able to process historic data.

XML Schema Standards

XML Schema Standards
The overall standards applied and supported by the XML Schema are:

Note:
e-GIF and the Government Data Standards Catalogue have been archived and are available for reference only.

XML Schema Naming Conventions

XML Schema Naming Conventions

These are in CamelCase as accepted best practice. Wherever possible, XML Schema data item names are compliant (or intuitively identifiable) with the NHS Data Model and Dictionary naming conventions.

XML Schema Documentation

XML Schema Documentation
XML Schema documentation usually consists of several related publications:

  • Information Standards Notices (ISN) issued for NHS business, process and definition changes; these will usually include the Data Sets, Data Element definitions etc.
  • Information Standards Notices or Data Dictionary Change Notices issued to authorise the CDS XML Schema itself
  • The CDS XML Schema Release Notes which provides a technical overview of the release (in pdf)
  • The XMLSPY© generated XML Schema Documentation which is a large collection of HTML files.
XML Schema Components: Schema Root

XML Schema Components: Schema Root

The XML Schema root is the control section of the XML Schema and is the only entry point and uses the "XML Include" technique to call all XML Schema sub components:

  • The Standard Data Elements
  • The Standard Data Structures
  • All sub-component XML Schemas for CDS Types including the Commissioning Data Set Headers and Trailers

top


COMMISSIONING DATA SET XML SCHEMA VERSION NUMBERING

Change to Supporting Information: Changed Description

The XML Schema Version numbering format used in the Commissioning Data Sets.

The CDS XML Schema Version Number Format

The CDS XML Schema Version Number Format

The use of XML was mandated by the e-Government Interoperability Framework (e-GIF) programme as the standard to be used for messaging by government organisations and was adopted by the NHS.

Note:
e-GIF and the Government Data Standards Catalogue have been archived and are available for reference only.

The CDS XML Schema adopts version numbering techniques in line with published e-GOV best practice guidelines. All schema components are version numbered and date qualified; the following is an example of the adopted format:

CDS XML Message Root:

CDS XML Message Root:

Example: V6-0-2007-03-01 (Note that dash separators are used).
[Schema Filename] + [Major Version Number] + [Minor Version Number] + [Version Date]

VERSION NUMBER ELEMENT 

FORMAT 

EXAMPLE AND NOTES 

XML Schema File NameAs allocated during the XML Schema developmentCDS-XML_Message_Root-
Major Version Number
 
A maximum of 3 characters
incremented numerically
without leading zeros
V6-
Minor Version Number
 
A maximum of 3 characters
incremented numerically
without leading zeros
0-
Version Dateccyy-mm-dd2007-03-01

The Major Version Number:

The Major Version Number:

This is incremented when fundamental change has taken place such as:

  • Major addition / deletion / change of XML Schema business functionality
  • Major change to the technical design of the schema
  • Re-alignment of the XML Schema Version Number after cumulative changes

The Minor Version Number:

The Minor Version Number:

This is incremented for all XML Schema changes not warranting a Major Version Number increment (as above).
Examples are:

  • Minor changes to XML Schema business functionality
  • Minor changes to the XML Schema data structures that are not upwardly compatible*
  • Addition and/or deletion of data items that are not upwardly compatible*
  • Changes to data item facet definitions that are not upwardly compatible*

Version Date:

Version Date:

This may be adjusted as a defined reference point for a no risk XML Schema release to reflect minor changes and corrective releases.
Examples are:

  • Minor changes to the XML Schema data structures that are upwardly compatible* for instance the addition of an optional data item.
  • Changes to data item facet definitions that are upwardly compatible* for instance the addition (but not the deletion) of code values to a data item enumeration list.
  • Interim development versions, released for information only

* Upwardly Compatible:


* Upwardly Compatible:Minor changes and adjustments to the XML Schema which introduce little or no risk of increased data rejection are deemed upwardly compatible.

Minor changes and adjustments to the XML Schema which introduce little or no risk of increased data rejection are deemed upwardly compatible.

For example, corrective adjustments, which align the XML Schema to the authorised NHS Data Standards as published in the NHS Data Model and Dictionary often fall within this category.

The XML Schema Date:

The XML Schema Date:

All XML Schema releases have a designated SchemaDate XML Attribute.

XML Schema Version Control - The Schema Root:

XML Schema Version Control - The Schema Root:

The schema root is the single entry point to the XML Schema and XML Attributes for the following are validated:

  • SchemaVersion
  • SchemaDate

top


MAIN SPECIALTY AND TREATMENT FUNCTION CODES TABLE

Change to Supporting Information: Changed Description

Guidance Notes relating to MAIN SPECIALTY CODE and TREATMENT FUNCTION CODE.

For further information regarding the definition and use of MAIN SPECIALTY see the attribute MAIN SPECIALTY CODE.

For further information regarding the definition and use of TREATMENT FUNCTION see the attribute TREATMENT FUNCTION CODE.

Note:

Table 1 Main Specialty codes

Table 1 Main Specialty codes

 CodeMain Specialty TitleComments
Surgical Specialties
 100General SurgeryFor further information, see: Royal College of Surgeons - General Surgery
 101UrologyFor further information, see: Royal College of Surgeons - Urology
 107Vascular SurgeryFor further information, see: Royal College of Surgeons - Vascular Surgery
 110Trauma and OrthopaedicsFor further information, see: Royal College of Surgeons - Orthopaedic Surgery
 120Ear Nose and ThroatFormerly known as ENT.
For further information, see: Royal College of Surgeons - Ear, Nose and Throat (ENT)
 130OphthalmologyFor further information, see: The Royal College of Ophthalmologists
 140Oral SurgeryFor further information, see: Royal College of Surgeons - Oral and Maxillofacial Surgery
 141Restorative DentistryFor further information, see: The British Society for Restorative Dentistry (BSRD)
 142Paediatric DentistryFor further information, see: The British Society of Paediatric Dentistry
 143OrthodonticsFor further information, see: British Orthodontic Society
 145Oral and Maxillofacial SurgeryFor further information, see: Royal College of Surgeons - Oral and Maxillofacial Surgery
 146EndodonticsFor further information, see: British Endodontic Society
 147PeriodonticsFor further information, see: British Society of Periodontology
 148ProsthodonticsFor further information, see: The British Society of Prosthodontics (BSSPD)
 149Surgical DentistryFor further information, see: Royal College of Surgeons - Faculty of Dental Surgery (FDS)
 150NeurosurgeryFor further information, see: Royal College of Surgeons - Neurosurgery
 160Plastic SurgeryFor further information, see: Royal College of Surgeons - Plastic and Reconstructive
 170Cardiothoracic SurgeryFor further information, see: Royal College of Surgeons - Cardiothoracic Surgery
 171Paediatric SurgeryFor further information, see: Royal College of Surgeons - Paediatric Surgery
 191Pain Management (Retired 1 April 2004) 
Medical Specialties
 180Emergency MedicineFormerly known as Accident and Emergency.
For further information, see: The Royal College of Emergency Medicine
 190AnaestheticsFor further information, see: Royal College of Anaesthetists
 192Intensive Care MedicineFormerly known as Critical Care Medicine.
For further information, see: The Faculty of Intensive Care Medicine
 200Aviation and Space MedicineFor further information, see: Joint Royal Colleges of Physicians Training Board - Aviation and Space Medicine
 300General Internal MedicineFormerly known as General Medicine.
For further information, see: Joint Royal Colleges of Physicians Training Board - General Internal Medicine (GIM)
 301GastroenterologyFor further information, see: Joint Royal Colleges of Physicians Training Board - Gastroenterology
 302Endocrinology and DiabetesFormerly known as Endocrinology.
For further information, see: Joint Royal Colleges of Physicians Training Board - Endocrinology and Diabetes Mellitus
 303Clinical HaematologyFor further information, see: Joint Royal Colleges of Physicians Training Board - Haematology
 304Clinical PhysiologyFor further information, see: The Registration Council for Clinical Physiologists
 305Clinical PharmacologyFor further information, see: Joint Royal Colleges of Physicians Training Board - Clinical Pharmacology and Therapeutics (CPT)
 310Audio Vestibular MedicineFormerly known as Audiological Medicine.
For further information, see: Joint Royal Colleges of Physicians Training Board - Audio vestibular Medicine
 311Clinical GeneticsFor further information, see: Joint Royal Colleges of Physicians Training Board - Clinical Genetics
*312Clinical Cytogenetics and Molecular Genetics (Retired 1 April 2010) 
 313Clinical ImmunologyFormerly known as Clinical Immunology and Allergy.
For further information, see: Joint Royal Colleges of Physicians Training Board - Immunology
 314Rehabilitation MedicineFormerly known as Rehabilitation.
For further information, see: Joint Royal Colleges of Physicians Training Board - Rehabilitation Medicine
 315Palliative MedicineFor further information, see: Joint Royal Colleges of Physicians Training Board - Palliative Medicine
 317AllergyFor further information, see: Joint Royal Colleges of Physicians Training Board - Allergy
 320CardiologyFor further information, see: Joint Royal Colleges of Physicians Training Board - Cardiology
 321Paediatric CardiologyFor further information, see: Joint Royal Colleges of Physicians Training Board - Paediatric Cardiology
 325Sport and Exercise MedicineFor further information, see: Faculty of Sport and Exercise Medicine
 326Acute Internal MedicineFor further information, see: Joint Royal Colleges of Physicians Training Board - Acute Internal Medicine
 330DermatologyFor further information, see: Joint Royal Colleges of Physicians Training Board - Dermatology
 340Respiratory MedicineAlso known as Thoracic Medicine.
For further information, see: Joint Royal Colleges of Physicians Training Board - Respiratory Medicine
 350Infectious DiseasesFor further information, see: Joint Royal Colleges of Physicians Training Board - Infectious Diseases and Tropical Medicine
 352Tropical MedicineFor further information, see: Joint Royal Colleges of Physicians Training Board - Infectious Diseases and tropical Medicine
 360Genitourinary MedicineFor further information, see: Joint Royal Colleges of Physicians Training Board - Genitourinary Medicine
 361Renal MedicineFormerly known as Nephrology.
For further information, see: Joint Royal Colleges of Physicians Training Board - Renal Medicine
 370Medical OncologyFor further information, see: Joint Royal Colleges of Physicians Training Board - Medical Oncology
 371Nuclear MedicineFor further information, see: Joint Royal Colleges of Physicians Training Board - Nuclear Medicine
 400NeurologyFor further information, see: Joint Royal Colleges of Physicians Training Board - Neurology
 401Clinical NeurophysiologyFor further information, see: Joint Royal Colleges of Physicians Training Board - Clinical Neurophysiology
 410RheumatologyFor further information, see: British Society for Rheumatology
 420PaediatricsFor further information, see: Royal College of Paediatrics and Child Health - General Paediatrics
 421Paediatric NeurologyFor further information, see: Royal College of Paediatrics and Child Health - Neurology
 430Geriatric MedicineFor further information, see: Joint Royal Colleges of Physicians Training Board - Geriatric Medicine
 450Dental MedicineFormerly known as Dental Medicine Specialties.
For further information, see: Royal College of Surgeons - Faculty of Dental Surgery (FDS)
 451Special Care DentistryFor further information, see: Special Care Dentistry Association (SCDA)
 460Medical OphthalmologyFor further information, see: Joint Royal Colleges of Physicians Training Board - Medical Ophthalmology
500Obstetrics and GynaecologyFor further information, see: Royal College of Obstetricians and Gynaecologists
 501ObstetricsFor further information, see: Royal College of Obstetricians and Gynaecologists
 502GynaecologyFor further information, see: Royal College of Obstetricians and Gynaecologists
 504Community Sexual and Reproductive HealthFor further information, see: Faculty of Sexual & Reproductive Healthcare of the Royal College of Obstetricians & Gynaecologists
 510Antenatal Clinic (Retired 1 April 2004) 
 520Postnatal Clinic (Retired 1 April 2004) 
 600General Medical PracticeFor further information, see: Royal College of General Practitioners
 601General Dental PracticeFor further information, see: Royal College of Surgeons - Faculty of Dental Surgery (FDS)
 610Maternity Function (Retired 1 April 2004) 
 620Other Than Maternity (Retired 1 April 2004) 
 831Medical Microbiology and VirologyFor further information, see: The Royal College of Pathologists - Medical Microbiology and The Royal College of Pathologists - Virology
 833Medical MicrobiologyAlso known as Microbiology and Bacteriology.
For further information, see: The Royal College of Pathologists - Medical Microbiology
 834Medical VirologyFor further information, See: The Royal College of Pathologists - Medical Virology
Psychiatry
 700Learning DisabilityAlso known as Intellectual Disability.
For further information, see: Royal College of Psychiatrists - Faculty of the Psychiatry of Intellectual Disability and British Institute of Learning Disabilities
 710Adult Mental IllnessFor further information, see: NHS England - Adult and older adult mental health
 711Child and Adolescent PsychiatryFor further information, see: Royal College of Psychiatrists - Faculty of Child and Adolescent Psychiatry
 712Forensic PsychiatryFor further information, see: Royal College of Psychiatrists - Faculty of Forensic Psychiatry
 713Medical PsychotherapyFor further information, see: Royal College of Psychiatrists - Faculty of Medical Psychotherapy
 715Old Age PsychiatryFor further information, see: Royal College of Psychiatrists - Faculty of Old Age Psychiatry
Other
 560MidwiferyFormerly known as Midwife Episode.
For further information, see: Royal College of Midwives
 800Clinical OncologyFormerly known as Radiotherapy.
For further information, see: The Royal College of Radiologists - Clinical Oncology
 810RadiologyFor further information, see: The Royal College of Radiologists (RCR)
 820General PathologyFor further information, see: The Royal College of Pathologists
 821Blood TransfusionFor further information, see: The Royal College of Pathologists - Blood Transfusion
 822Chemical PathologyFor further information, see: The Royal College of Pathologists
 823HaematologyFor further information, see: The Royal College of Pathologists - Haematology
 824HistopathologyFor further information, see: The Royal College of Pathologists - Histopathology
 830ImmunopathologyFor further information, see: The Royal College of Pathologists - Immunology
 832Neuropathology (Retired 1 April 2004) 
 900Community MedicineFor further information, see: Faculty of Public Health
 901Occupational MedicineFor further information, see: Royal College of Physicians - Faculty of Occupational Medicine
 902Community Health Services DentalFor further information, see: Faculty of Public Health
 903Public Health MedicineFor further information, see: Faculty of Public Health
 904Public Health DentalFor further information, see: GOV.uk - Oral Health
 950NursingFormerly known as Nursing Episode.
For further information, see: Nursing & Midwifery Council
 960Allied Health ProfessionalFormerly known as Allied Health Professional Episode.
For further information, see: Health and Care Professions Council
 990Joint Consultant Clinics (Retired 1 April 2004) 

Notes:

Notes:

Code 500 is not acceptable for data sets/collections including Hospital Episode Statistics
*Code 312 is retained for CONSULTANTS qualified in this Main Specialty prior to 1 April 2010.

Table 2 Treatment Function codes

Table 2 Treatment Function codes

CodeTreatment Function TitleComments
Surgical Specialties
100General Surgery ServiceSERVICES delivering surgical ACTIVITY not covered by other subspecialty areas. The majority of elective procedures, about 80 per cent, fall outside subspecialty areas.
For further information, see: Royal College of Surgeons - Surgical Specialties
101Urology ServiceSurgical SERVICES for the treatment of disorders of the urinary system and male reproductive system. This includes surgery for gender dysphoria.
For further information, see: Royal College of Surgeons - Urology
102Transplant Surgery ServiceSERVICES for pre- and post-operative care for major organ transplants except heart and lung. Excludes Cardiothoracic Transplantation Service - see TREATMENT FUNCTION CODE 174, corneal grafts carried out by Ophthalmology Service - see TREATMENT FUNCTION CODE 130 and Blood and Bone Marrow Transplantation Service - see TREATMENT FUNCTION CODE 308.
For further information, see: Royal College of Surgeons - General Surgery
103Breast Surgery ServiceSERVICES which include surgical treatment for cancer, suspected neoplasms, indeterminate breast lesions, benign breast lumps, disorders of the nipple-areolar complex, cysts and post-cancer reconstructive, revision and symmetrising surgery. Includes breast surgery for gender dysphoria. Excludes cosmetic surgery.
For further information, see: Association of Breast Surgery
104Colorectal Surgery ServiceSERVICES for the surgical treatment of disorders of the lower intestine (colon, anus and rectum)
105Hepatobiliary and Pancreatic Surgery ServiceSpecialist surgical SERVICES for hepatobiliary and pancreatic (HPB) disorders. To be used by recognised specialist units and associated outreach SERVICES only. Excludes Transplant Surgery Service - see TREATMENT FUNCTION CODE 102.
For further information, see: NHS England: Hepatobiliary and Pancreas
106Upper Gastrointestinal Surgery ServiceSERVICES for surgical treatment of disorders of the upper parts of the gastrointestinal tract.
For further information, see: Royal College of Surgeons - General Surgery
107Vascular Surgery ServiceSERVICES for the surgical treatment of diseases of the vascular system.
For further information, see: Royal College of Surgeons - Vascular Surgery
108Spinal Surgery ServiceSurgery concentrating on specialised and complex treatment of issues of the back and spine. To be used by recognised specialist units and associated outreach SERVICES only. Excludes Trauma and Orthopaedic Service - see TREATMENT FUNCTION CODE 110, Orthopaedic Service - see TREATMENT FUNCTION CODE 111, Trauma Surgery Service - see TREATMENT FUNCTION CODE 115 and Spinal Injuries Service - see TREATMENT FUNCTION CODE 323.
For further information, see: British Association of Spine Surgeons
109Bariatric Surgery ServiceSERVICES assessing, managing and treating obesity, and specifically consideration of bariatric (weight loss) surgery. It includes PATIENTS who are obese and have, or are at risk of, other medical conditions. It does not cover preventing a PERSON from becoming overweight or obese, or lifestyle weight management programmes for a PERSON who is overweight or obese.
For further information, see: National Institute for Health and Care Excellence - Obesity
110Trauma and Orthopaedic ServiceSERVICES to treat injuries, congenital and acquired disorders of the bones, joints, and their associated soft tissues, including ligaments, nerves and muscles. Excludes Orthopaedic Surgery Service - TREATMENT FUNCTION CODE 111 and Spinal Surgery Service - see TREATMENT FUNCTION CODE 108. For major trauma centres use Trauma Surgery Service - see TREATMENT FUNCTION CODE 115.
For further information, see: Royal College of Surgeons - Major Trauma Surgery and Royal College of Surgeons - Orthopaedic Surgery
111Orthopaedic ServiceSERVICES for the elective or planned surgical assessment or treatment of the musculoskeletal system. Excludes Trauma Surgery Service - see TREATMENT FUNCTION CODE 115. Where there is no dedicated Orthopaedic Service use Trauma and Orthopaedic Service - see TREATMENT FUNCTION CODE 110.
For further information, see: Royal College of Surgeons - Orthopaedic Surgery
113Endocrine Surgery ServiceSERVICES for the surgical treatment of diseases of the thyroid and/or other endocrine glands.
For further information, see: Royal College of Surgeons - General Surgery
115Trauma Surgery ServiceMajor trauma specialist SERVICES at a designated unit, with the specific exclusion of Spinal Surgery Service - see TREATMENT FUNCTION CODE 108.
Excludes elective or planned Orthopaedic Surgery Service - see TREATMENT FUNCTION CODE 111. Where there is no major trauma centre use Trauma and Orthopaedics Service - see TREATMENT FUNCTION CODE 110.
For further information, see: Royal College of Surgeons - Major Trauma Surgery
120Ear Nose and Throat ServiceFormerly known as ENT.
Surgical SERVICES for the assessment, diagnosis, management and treatment of ear, nose and/or throat issues. Excludes Audiology Service - see TREATMENT FUNCTION CODE 840.
For further information, see: Royal College of Surgeons - Ear, Nose & Throat (ENT)
130Ophthalmology ServiceThe surgical treatment of disorders and diseases of the eye. Excludes Medical Ophthalmology Service - see TREATMENT FUNCTION CODE 460 and Ophthalmic and Vision Science Service - see TREATMENT FUNCTION CODE 461.
For further information, see: Royal College of Ophthalmologists
140Oral Surgery ServiceSERVICES for the diagnosis and surgical treatment of diseases, injuries and defects of hard and soft tissues of the mouth.
Excludes departments delivering a SERVICE where oral surgery and maxillofacial services are mixed (i.e. an out-patient clinic accepting oral surgery and maxillofacial surgery patients) – see TREATMENT FUNCTION CODE 145.
For further information, see: British Association of Oral Surgeons Specialty Training Curriculum – Oral Surgery
141Restorative Dentistry ServiceSERVICES providing examination and treatment of diseases of the oral cavity, the teeth and their supporting structures. Restorative Dentistry includes the dental specialties of Endodontics, Periodontics and Prosthodontics (including implantology), and its foundation is based upon how these interact in the management of cases requiring multifaceted care.
For further information, see: British Society for Restorative Dentistry
143Orthodontic ServiceSERVICES for the treatment of malocclusions (improper bites). Orthodontic treatment can focus on dental displacement only, or can deal with the control and modification of facial growth.
For further information, see: British Orthodontic Society
144Maxillofacial Surgery ServiceProfessional recommendation is to use Oral and Maxillofacial Surgery Service where this SERVICE is combined with oral surgery - see TREATMENT FUNCTION CODE 145. Alternatively, for oral surgery services only see TREATMENT FUNCTION CODE 140. This code has been retained for existing SERVICES which only provide maxillofacial surgery.
145Oral and Maxillofacial Surgery ServiceCombined SERVICES providing diagnosis and surgical treatment of diseases, injuries and defects involving hard and soft tissues of the mouth, jaws, and neck.
These SERVICES may have formerly been categorised as TREATMENT FUNCTION CODE 140 (Oral Surgery Service) or TREATMENT FUNCTION CODE 144 (Maxillofacial Surgery Service).
For further information, see: British Association of Oral & Maxillofacial Surgeons
149not a Treatment Function 
150Neurosurgical ServiceSurgical SERVICES for the treatment of disorders of the nervous system including the brain, spinal cord, peripheral nerves, and extra-cranial cerebrovascular system. Excludes Spinal Surgery Service - see TREATMENT FUNCTION CODE 108. For major trauma centres use Trauma Surgery Service – see TREATMENT FUNCTION CODE 115.
For further information, see: Royal College of Surgeons - Neurosurgery
160Plastic Surgery ServiceSERVICES to correct or restore form and function. In addition to cosmetic or aesthetic surgery, plastic surgery includes many types of reconstructive surgery, and the treatment of burns. For care given within specialist burn services, use Burns Care Service - see TREATMENT FUNCTION CODE 161. Excludes breast surgery for gender dysphoria, use Breast Surgery Service - see TREATMENT FUNCTION CODE 103.
For further information, see: Royal College of Surgeons - Plastic and Reconstructive
161Burns Care ServiceSERVICES for the surgical and non-surgical treatment of burns within recognised specialist burns units and associated outreach SERVICES only. Whilst this does not signify the CRITICAL CARE LEVEL, many PATIENTS will also come within the scope of the Critical Care Minimum Data Set.
For further information, see: British Burn Association
170Cardiothoracic Surgery ServiceSERVICES delivering surgical treatment of diseases affecting the heart and organs inside the thorax (the chest). Should only be used where there are no separate SERVICES for Cardiac Surgery and Thoracic Surgery.
For further information, see: Royal College of Surgeons - Cardiothoracic Surgery
172Cardiac Surgery ServiceSERVICES delivering surgical treatment of diseases affecting the heart. Procedures are often lengthy and complex, requiring support from advanced forms of technology during surgery and CRITICAL CARE LEVEL 2 and 3 for the PATIENT after surgery.
For further information, see: Royal College of Surgeons - Cardiothoracic Surgery
173Thoracic Surgery ServiceSERVICES providing surgical treatment of diseases affecting organs inside the thorax (the chest). Generally, treatment of conditions of the lungs, chest wall, and diaphragm. Predominantly this is surgical treatment of malignant disease or its effects.
For further information, see: Royal College of Surgeons - Cardiothoracic Surgery
174Cardiothoracic Transplantation ServiceSERVICES for pre- and post-operative care for heart and lung transplants. To be used by recognised specialist units and associated outreach services only.
For further information, see: Royal College of Surgeons - Cardiothoracic Surgery
Other Children's Specialist Services - The Paediatric TREATMENT FUNCTION CODES represent CLINICS OR FACILITIES intended to provide dedicated SERVICES to children with appropriate facilities and support staff, i.e. they are designed for children only. If a CLINIC OR FACILITY provides this but also treats adult PATIENTS as part of the SERVICE then a Paediatric TREATMENT FUNCTION CODE may not be appropriate. The age of the PATIENT attending does not initiate a change to the TREATMENT FUNCTION CODE for the ACTIVITY.
142Paediatric Dentistry ServiceDedicated children's SERVICES for dentistry with appropriate facilities and support staff.
For further information, see: The British Society of Paediatric Dentistry
171Paediatric Surgery ServiceDedicated children's SERVICES for general surgery.
For further information, see: Royal College of Surgeons - Paediatric Surgery
211Paediatric Urology ServiceDedicated children's SERVICES for surgical treatment of disorders of the urinary system and male reproductive system.
For further information, see: British Association of Paediatric Surgeons - Urology
212Paediatric Transplantation Surgery ServiceDedicated children's SERVICES for pre- and post-operative care for major organ transplants except heart and lung. Excludes Paediatric Cardiac Surgery Service - see TREATMENT FUNCTION CODE 221, Paediatric Thoracic Surgery Service - see TREATMENT FUNCTION CODE 222, corneal grafts carried out by Paediatric Ophthalmology Service - see TREATMENT FUNCTION CODE 216 and Blood and Bone Marrow Transplantation Service - see TREATMENT FUNCTION CODE 308.
For further information, see: Royal College of Surgeons - General Surgery
213Paediatric Gastrointestinal Surgery ServiceDedicated children's SERVICES for surgical treatment of disorders of the gastrointestinal tract.
For further information, see: British Association of Paediatric Surgeons - Gastrointestinal
214Paediatric Trauma and Orthopaedic ServiceDedicated children's SERVICES to treat injuries, congenital and acquired disorders of the bones, joints, and their associated soft tissues, including ligaments, nerves and muscles. Excludes Trauma Surgery Service - see TREATMENT FUNCTION CODE 115 and Spinal Surgery Service - see TREATMENT FUNCTION CODE 108
For further information, see: British Society for Children's Orthopaedic Surgery (BSCOS)
215Paediatric Ear Nose and Throat ServiceDedicated children's surgical SERVICES for the assessment, diagnosis, management and treatment of ear, nose and/or throat issues. Excludes Audiology Service - see TREATMENT FUNCTION CODE 840.
For further information, see: British Association for Paediatric Otolaryngology
216Paediatric Ophthalmology ServiceDedicated children's SERVICES for the surgical treatment of disorders and diseases of the eye.
For further information, see: British & Irish Paediatric Ophthalmology and Strabismus Association
217Paediatric Oral and Maxillofacial Surgery ServiceDedicated children’s SERVICES providing diagnosis and surgical treatment of diseases, injuries and defects involving hard and soft tissues of the mouth, jaws, and neck.
Excludes Paediatric Dentistry Services - see TREATMENT FUNCTION CODE 142.
For further information, see: British Association of Oral & Maxillofacial Surgeons
218Paediatric Neurosurgery ServiceDedicated children's SERVICES for the surgical treatment of disorders which affect any portion of the nervous system including the brain, spinal cord, peripheral nerves, and extra-cranial cerebrovascular system.
For further information, see: Royal College of Surgeons - Neurosurgery
219Paediatric Plastic Surgery ServiceDedicated children's SERVICES for correction or to restore form and function. In addition to cosmetic or aesthetic surgery, plastic surgery includes many types of reconstructive surgery, and the treatment of burns. For care given within specialist paediatric burn services, use Paediatric Burns Care Service - see TREATMENT FUNCTION CODE 220.
For further information, see: NHS England: Specialised surgery in children
220Paediatric Burns Care ServiceDedicated children's SERVICES for the surgical and non-surgical treatment of burns within recognised specialist burns units and associated outreach SERVICES only. Whilst this does not signify the CRITICAL CARE LEVEL, many PATIENTS will also come within the scope of the Critical Care Minimum Data Set.
For further information, see: British Burn Association
221Paediatric Cardiac Surgery ServiceDedicated children's SERVICES for the surgical treatment of the heart or great vessels.
For further information, see: NHS England: E05. Congenital Heart Services
222Paediatric Thoracic Surgery ServiceDedicated children's SERVICES for the surgical treatment of diseases affecting organs inside the thorax (the chest). Generally, treatment of conditions of the lungs, chest wall, and diaphragm.
For further information, see: British Association of Paediatric Surgeons - Thoracic
223Paediatric Epilepsy ServiceDedicated children's SERVICES by CONSULTANT paediatrician with expertise in epilepsy supported by specialist staff.
For further information, see: Royal College of Paediatrics and Child Health - Epilepsy
230Paediatric Clinical Pharmacology ServiceDedicated children's SERVICES providing advice and support locally and nationally regarding the introduction of new medicines, adverse drug reactions, poisoning and toxicity, and prescribing policies.
For further information, see: Royal College of Paediatrics and Child Health - Drugs and medicines
240Paediatric Palliative Medicine ServiceDedicated children's SERVICES improving the quality of life of PATIENTS and their families facing the problems associated with life-limiting illness. Prevention and relief of suffering by means of early identification, assessment and treatment of pain and other problems, physical, psychosocial and spiritual.
For further information, see: Royal College of Paediatrics and Child Health - Palliative care
241Paediatric Pain Management ServiceDedicated children's SERVICES for complex pain disorders requiring diagnosis and treatment by a specialist Multidisciplinary Team.
For further information, see: Royal College of Paediatrics and Child Health - Pain management
242Paediatric Intensive Care ServiceDedicated children's SERVICES only to be used by designated Paediatric Intensive Care Units.
For further information, see: Royal College of Paediatrics and Child Health - Intensive care medicine
250Paediatric Hepatology ServiceDedicated children's SERVICES for the treatment of disease of the liver.
For further information, see: Royal College of Paediatrics and Child Health - Hepatology
251Paediatric Gastroenterology ServiceDedicated children's SERVICES for the treatment of disorders of the digestive system.
For further information, see: Royal College of Paediatrics and Child Health - Gastroenterology
252Paediatric Endocrinology ServiceDedicated children's SERVICES for the treatment of disorders of the endocrine system. Excludes Paediatric Diabetes Service - see TREATMENT FUNCTION CODES 263.
For further information, see: British Society for Paediatric Endocrinology and Diabetes
253Paediatric Clinical Haematology ServiceDedicated children's SERVICES contributing to the diagnosis and management of diseases of the blood and bone marrow. May be consultative in other specialties including intensive care. Excludes Anticoagulant Service - see TREATMENT FUNCTION CODE 324.
For further information, see: NHS England: Paediatric haematology
254Paediatric Audio Vestibular Medicine ServiceDedicated children's SERVICES for the investigation, diagnosis and management of patients with disorders of balance, hearing, tinnitus and auditory communication. Excludes Audiology Service - see TREATMENT FUNCTION CODE 840.
For further information, see: British Association of Paediatricians in Audiology
255Paediatric Clinical Immunology and Allergy ServiceDedicated children's SERVICES for the treatment of disorders of the immune system and allergic disease.
For further information, see: Royal College of Paediatrics and Child Health - Paediatric allergy, immunology and infectious diseases - sub-specialty
256Paediatric Infectious Diseases ServiceDedicated children's SERVICES for the diagnosis and treatment of contagious or communicable diseases.
For further information, see: Royal College of Paediatrics and Child Health - Paediatric allergy, immunology and infectious diseases - sub-specialty
257Paediatric Dermatology ServiceDedicated children's SERVICES for the treatment of diseases of the skin.
For further information, see: The British Society for Paediatric Dermatology (BSPD)
258Paediatric Respiratory Medicine ServiceDedicated children's SERVICES for the diagnosis and treatment of respiratory conditions.
Also known as Thoracic Medicine and Pulmonary Medicine.
For further information, see: Royal College of Paediatrics and Child Health - Paediatric respiratory medicine - sub-specialty
259Paediatric Nephrology ServiceDedicated children's SERVICES for the diagnosis and treatment of kidney conditions and abnormalities.
Also known as Renal Medicine.
For further information, see: Royal College of Paediatrics and Child Health - Nephrology
260Paediatric Medical Oncology ServiceDedicated children's SERVICES for the diagnosis and treatment, typically with Chemotherapy, of PATIENTS with cancer.
For further information, see: Royal College of Paediatrics and Child Health - Oncology
261Paediatric Inherited Metabolic Medicine ServiceFormerly known as Paediatric Metabolic Disease.
Dedicated children's SERVICES for the diagnosis and management of inherited metabolic conditions utilising biochemistry and metabolic characteristics requiring the expertise of both the physician and chemical pathologist.
For further information, see: Royal College of Paediatrics and Child Health - Inherited metabolic medicine
262Paediatric Rheumatology ServiceDedicated children's SERVICES incorporating the investigation, multidisciplinary holistic management and rehabilitation of PATIENTS with a wide spectrum of disorders of the musculoskeletal system encompassing the locomotor apparatus, bone and connective tissues and blood vessels.
For further information, see: Royal College of Paediatrics and Child Health - Rheumatology
263Paediatric Diabetes ServiceFormerly known as Paediatric Diabetes Medicine.
Dedicated children's SERVICES for the diagnosis, treatment and support of PATIENTS with diabetes.
For further information, see: Royal College of Paediatrics and Child Health - Diabetes
264Paediatric Cystic Fibrosis ServiceDedicated multidisciplinary children's SERVICES concerned with the diagnosis, assessment and management of PATIENTS with cystic fibrosis. This TREATMENT FUNCTION CODE should be used by recognised specialist centres only.
For further information, see: NHS England: Specialised respiratory
270Paediatric Emergency Medicine ServiceDedicated children's SERVICES to care for PATIENTS with urgent problems delivered as part of an Emergency Care Attendance. Excludes Trauma Surgery Service - see TREATMENT FUNCTION CODE 115.
For further information, see: Royal College of Paediatrics and Child Health - Emergency Medicine
280Paediatric Interventional Radiology ServiceDedicated children's SERVICES for the diagnosis and treatment of diseases utilising minimally invasive image-guided procedures. Not to be used for Diagnostic Imaging Service - see TREATMENT FUNCTION CODE 812.
For further information, see: British Society of Interventional Radiology - What is Interventional Radiology
290Community Paediatric ServiceSERVICES providing assessment and care to vulnerable children, including those with developmental disorders and disabilities, complex behavioural presentations, and those at risk of abuse or are being abused. Excludes Paediatric Neurodisability Service - see TREATMENT FUNCTION CODE 291.
For further information, see: Royal College of Paediatrics and Child Health - Community child health - sub-specialty
291Paediatric Neurodisability ServiceDedicated children's SERVICES for the diagnosis and treatment of Cerebral Palsy and non-progressive handicapping neurological conditions, with or without Learning Disability/Intellectual Disability.
For further information, see: Royal College of Paediatrics and Child Health - Neurodisability
321Paediatric Cardiology ServiceDedicated children's SERVICES for diseases and abnormalities of the heart. Excludes Congenital Heart Disease Service - see TREATMENT FUNCTION CODE 331.
For further information, see: Joint Royal Colleges of Physicians Training Board – Paediatric Cardiology
421Paediatric Neurology ServiceDedicated children's SERVICES for diagnosis, management and medical treatment of conditions and diseases of the central nervous system, with appropriate facilities and support staff. Excludes Paediatric Epilepsy Service - see TREATMENT FUNCTION CODE 223.
For further information, see: Royal College of Paediatrics and Child Health - Neurology
Medical Specialties
180Emergency Medicine ServiceFormerly known as Accident & Emergency.
SERVICES to care for PATIENTS with urgent problems delivered as part of an Emergency Care Attendance. Excludes Trauma Surgery Service - see TREATMENT FUNCTION CODE 115.
For further information, see: The Royal College of Emergency Medicine
190Anaesthetic ServiceSERVICES for PATIENTS being assessed for anaesthesia, as well as the provision of sedation and anaesthesia for patients undergoing interventional radiology and radiotherapy.
This can be used in out-patients only. Pain Management Service should be recorded in TREATMENT FUNCTION CODE 191. Intensive Care Medicine Service should be recorded in TREATMENT FUNCTION CODE 192.
For further information, see: Royal college of Anaesthetists - Anaesthetists
191Pain Management ServiceSERVICES for complex pain disorders requiring diagnosis and treatment by a specialist Multidisciplinary Team
192Intensive Care Medicine ServiceFormerly known as Critical Care Medicine.
SERVICES using a body of specialist knowledge and practice concerned with the treatment of PATIENTS, with, at risk of, or recovering from potentially life-threatening failure of one or more of the body’s organ systems. It includes the provision of organ system support, the investigation, diagnosis, and treatment of acute illness, systems management and PATIENT safety, ethics, end-of-life care, and the support of families. Typically, this will refer to CRITICAL CARE LEVEL 2 and 3 beds within the scope of the Critical Care Minimum Data Set.
For further information, see: Faculty of Intensive Care Medicine
200Aviation and Space Medicine ServiceAlso known as Aerospace Medicine Services.
Aviation and Space Medicine SERVICES study all factors affecting the PERSON in flight. This may include pre-flight preparation and checks as well as inflight care to minimise the potentially harmful effects of their abnormal environment.
For further information, see: Royal College of Physicians - Aviation and Space Medicine
300General Internal Medicine ServiceFormerly known as General Medicine.
SERVICES include adults admitted as emergencies with acute medical problems, including multiple disorders. PATIENTS with problems that are not clearly within the remit of a particular medical specialty are referred for the opinion of a general physician.
For further information, see: Joint Royal Colleges of Physicians Training Board - General Internal Medicine (GIM)
301Gastroenterology ServiceScreening, diagnostic and therapeutic endoscopy SERVICES including upper and lower gastrointestinal (GI) endoscopy and hepatobiliary endoscopy. Excludes Hepatology Service - see TREATMENT FUNCTION CODE 306.
302Endocrinology ServiceThe treatment of disorders of the endocrine system, excluding specific Diabetes Services - see TREATMENT FUNCTION CODE 307.
For further information, see: Joint Royal Colleges of Physicians Training Board - Endocrinology and Diabetes Mellitus
303Clinical Haematology ServiceSERVICES contributing to the diagnosis and management of diseases of the blood and bone marrow. May be consultative in other specialties including intensive care. Excludes Anticoagulant Service - see TREATMENT FUNCTION CODE 324.
For further information, see: Joint Royal Colleges of Physicians Training Board - Haematology
304Clinical Physiology ServicePhysiological measurement. Excludes Clinical Neurophysiology Service - see TREATMENT FUNCTION CODE 401, Audiology Service - see TREATMENT FUNCTION CODE 840, Respiratory Physiology Service - see TREATMENT FUNCTION CODE 341, Cardiac Physiology Service - see TREATMENT FUNCTION CODE 675, Gastrointestinal Physiology Service - see TREATMENT FUNCTION CODE 677, Urological Physiology Service - see TREATMENT FUNCTION CODE 670, Vascular Physiology Service - see TREATMENT FUNCTION CODE 673 and Ophthalmic and Vision Science - see TREATMENT FUNCTION CODE 461.
For further information, see: The Registration Council for Clinical Physiologists
305Clinical Pharmacology ServiceSERVICES undertaking and interpreting clinical investigations including clinical trials; optimising the therapeutic use of drugs; detection and analysis of adverse drug effects; contribution to medicines evaluation and management of poisoning.
For further information, see: Joint Royal Colleges of Physicians Training Board - Clinical Pharmacology and Therapeutics (CPT)
306Hepatology ServiceMedical SERVICES for the diagnosis and treatment of liver disease. Also known as liver medicine. For hepatobiliary endoscopy, use Gastroenterology Service - see TREATMENT FUNCTION CODE 301
307Diabetes ServiceFormerly known as Diabetes Medicine.
SERVICES to diagnose, treat and support PATIENTS with diabetes.
For further information, see: Joint Royal Colleges of Physicians Training Board - Endocrinology and Diabetes Mellitus
308Blood and Marrow Transplantation ServiceSERVICES recognised as specialist units and associated outreach services only. Includes pre- and post-operative specialised services for autologous, allogeneic or syngeneic Blood and Marrow Transplantation.
For further information, see: British Society of Blood and Marrow Transplantation
309Haemophilia ServiceSpecialist SERVICES for the diagnosis, treatment and management of haemophilia.
For further information, see: NHS England: Blood and infection
310Audio Vestibular Medicine ServiceFormerly known as Audiological Medicine.
SERVICES concerned with the diagnosis and management of hearing and balance disorders, for example tinnitus, dysacusis and communication disorders. Rehabilitative/habilitative care is delivered by Multidisciplinary Teams and is aimed at improving the well-being and quality of life of the PATIENT concerned.
Excludes Audiology Service - see TREATMENT FUNCTION CODE 840.
For further information, see: Joint Royal College of Physicians Training Board - Audio vestibular Medicine
311Clinical Genetics ServiceSERVICES for the diagnosis and management of genetic disorders affecting individuals and their families.
For further information, see: Clinical Genetics
312not a Treatment Function 
313Clinical Immunology and Allergy ServiceSERVICES for the diagnosis and management of PATIENTS with diseases resulting from disordered immunological mechanisms, and allergic disease (abnormal immune responses to external substances). Should only be used where there are no separate SERVICES for Clinical Immunology and Allergy.
For separate services - See Clinical Immunology Service - TREATMENT FUNCTION CODE 316 and Allergy Service - TREATMENT FUNCTION CODE 317.
For further information, see: Welcome to the British Society for Allergy & Clinical Immunology (BSACI)
314Rehabilitation Medicine ServiceFormerly known as Rehabilitation Service.
SERVICES for the prevention, diagnosis, treatment and rehabilitation management of disabling conditions. Rehabilitation medicine is broadly divided into neurological rehabilitation, spinal cord injury, limb loss and prosthetics and/or musculoskeletal rehabilitation.
Excludes Mental Health Recovery and Rehabilitation Service - see TREATMENT FUNCTION CODE 725, Cardiac Rehabilitation Service - see TREATMENT FUNCTION CODE 327, Pulmonary Rehabilitation Service - see TREATMENT FUNCTION CODE 342, Orthotics Service - See TREATMENT FUNCTION CODE 658 or Prosthetics Service - see TREATMENT FUNCTION CODE 657.
For further information, see: Joint Royal Colleges of Physicians Training Board - Rehabilitation medicine
315Palliative Medicine ServiceSERVICES improving the quality of life of PATIENTS and their families facing the problems associated with life-limiting illness and end of life care. Prevention and relief of suffering by means of early identification, assessment and treatment of pain and other physical, psychosocial and spiritual problems.
For further information, see: Joint Royal Colleges of Physicians Training Board - Palliative Medicine
316Clinical Immunology ServiceSERVICES for the diagnosis and management of PATIENTS with diseases resulting from disordered immunological mechanisms, and conditions in which immunological manipulations form an important part of therapy.
Allergy SERVICES should be recorded against Allergy Service - see TREATMENT FUNCTION CODE 317.
For further information, see: Joint Royal College of Physicians Training Board - Immunology
317Allergy ServiceSERVICES for the diagnosis and management of allergic disease (abnormal immune responses to external substances) and the exclusion of allergic causes in other conditions.
For further information, see: Joint Royal College of Physicians Training Board - Allergy
318Intermediate Care ServiceSERVICES encompassing a range of multidisciplinary approaches, designed to safeguard independence by maximising rehabilitation and recovery after illness or injury.
For further information, see: National Institute for Health and Care Excellence - Understanding intermediate care, including reablement
319Respite Care ServiceSERVICES providing temporary care of a dependant PERSON, providing relief for their usual caregivers
320Cardiology ServiceSERVICES for PATIENTS with heart disease covering a wide range of clinical activities. Management can involve interventional treatment, cardiac imaging, preventative and therapeutic options. This includes both diagnostic and interventional procedures in the cardiac catheterisation laboratory.
For further information, see: Royal College of Physicians - Cardiology
322Clinical Microbiology ServiceSERVICES for the diagnosis, management and treatment of PATIENTS with diseases caused by bacteria, viruses, fungi and parasites.
323Spinal Injuries ServiceSERVICES for non-surgical management of issues of the back and spine. To be used by recognised specialist units and associated outreach SERVICES only.
Excludes Spinal Surgery Service - see TREATMENT FUNCTION CODE 108
324Anticoagulant ServiceSERVICES providing the monitoring and control of anticoagulant therapy, including the initiation and/or supervision of oral anticoagulant therapy and the determination of anticoagulant dosage.
This can be used in out-patients only
325Sport and Exercise Medicine ServiceSpecific SERVICES providing diagnosis and management of medical problems caused by physical activity, the prevention of related injury and disease and the role of exercise in disease treatment. Excludes Trauma and Orthopaedic Service - see TREATMENT FUNCTION CODE 110, Orthopaedic Surgery Service - see TREATMENT FUNCTION CODE 111, and Trauma Surgery Service - see TREATMENT FUNCTION CODE 115.
For further information, see: Joint Royal Colleges of Physicians Training Board - Sport and Exercise Medicine
326Acute Internal Medicine ServiceSERVICES concerned with the assessment, diagnosis and management of adults presenting to secondary care with acute medical illness.
For further information, see: Acute Internal Medicine
327Cardiac Rehabilitation ServiceSERVICES for PATIENTS recovering from heart-related conditions such as heart attacks or procedures such as coronary artery bypass surgery to ensure that they achieve their full potential in terms of physical and psychological health
328Stroke Medicine ServiceSERVICES for diagnosis, investigation, treatment and care of stroke PATIENTS. Excludes out-patients for Transient Ischaemic Attack Service - see TREATMENT FUNCTION CODE 329.
For further information, see: Joint Royal Colleges of Physicians Training Board - Stroke Medicine (sub-specialty)
329Transient Ischaemic Attack ServiceA multidisciplinary out-patient SERVICE for rapid diagnosis and treatment of PATIENTS presenting with suspected Transient Ischaemic Attack and mini-strokes to minimise the chance of a full stroke occurring and maximise the chances of independent living after a stroke.
For further information, see: National Institute for Health and Care Excellence - Stroke and transient ischaemic attack
330Dermatology ServiceSERVICES for the treatment of diseases of the skin.
For further information, see: Joint Royal Colleges of Physicians Training Board - Dermatology
331Congenital Heart Disease ServiceThe management and treatment of congenital heart disease, including the ongoing care of children into adulthood.
For further information, see: Joint Royal Colleges of Physicians Training Board - Paediatric cardiology
333Rare Disease ServiceSERVICES for rare diseases, many of which are present at birth and are either caused by a genetic problem or deficiencies or exposures to substances around the time of conception or during pregnancy. This TREATMENT FUNCTION CODE should be used by designated specialist centres only.
For further information, see: National Congenital Anomaly and Rare Disease Registration Service
335Inherited Metabolic Medicine ServiceSERVICES for the diagnosis and management of inherited metabolic conditions utilising biochemistry and metabolic characteristics requiring the expertise of both the physician and chemical pathologist.
For further information, see: Joint Royal Colleges of Physicians Training Board - Metabolic Medicine
340Respiratory Medicine ServiceRespiratory Medicine is also known as Thoracic Medicine and Pulmonary Medicine.
SERVICES for the investigation, diagnosis, management and treatment of PATIENTS with respiratory complaints. Excludes acute respiratory failure and adult respiratory distress syndrome (ARDS) - see Intensive Care Medicine Service TREATMENT FUNCTION CODE 192 and Respiratory Physiology Service - see TREATMENT FUNCTION CODE 341.
For further information, see: Joint Royal Colleges of Physicians Training Board - Respiratory Medicine
341Respiratory Physiology ServiceSERVICES for the physiological measurement of the function of the respiratory system. Excludes Sleep Medicine Service - see TREATMENT FUNCTION CODE 347.
For further information, see: Association for Respiratory Technology & Physiology
342Pulmonary Rehabilitation ServiceFormerly known as Programmed Pulmonary Rehabilitation.
A multidisciplinary SERVICE for PATIENTS with chronic respiratory impairment.
For further information, see: NHS England: Pulmonary rehabilitation
343Adult Cystic Fibrosis ServiceMultidisciplinary SERVICE concerned with the diagnosis, assessment and management of PATIENTS with cystic fibrosis. This TREATMENT FUNCTION CODE should be used by designated specialist centres only.
For further information, see: NHS England: Specialised Respiratory
344Complex Specialised Rehabilitation ServiceThis TREATMENT FUNCTION CODE will be removed from use in a future release of the Information Standard. No new services should use this code in submissions.

Complex specialised rehabilitation SERVICE which meets the NHS Specialised Services Rehabilitation Services' criteria and is registered as a Level 1 service
345Specialist Rehabilitation ServiceThis TREATMENT FUNCTION CODE will be removed from use in a future release of the Information Standard. No new services should use this code in submissions.

Specialist rehabilitation SERVICE which meets the NHS Specialised Services Rehabilitation Services' criteria and is registered as a Level 2a service.
346Local Specialist Rehabilitation ServiceThis TREATMENT FUNCTION CODE will be removed from use in a future release of the Information Standard. No new services should use this code in submissions.

Local specialist rehabilitation SERVICE which meets the NHS Specialised Services Rehabilitation Services' criteria and is registered as a Level 2b service.
347Sleep Medicine ServiceSERVICES providing diagnosis and management of sleep disorders including parasomnias, excessive daytime sleepiness and sleep apnoea.
For further information, see: Royal Society of Medicine - Sleep Medicine Section
348Post-COVID-19 Syndrome ServiceMultidisciplinary SERVICES for PATIENTS experiencing long-term health effects following COVID-19 infection, whether or not this was diagnosed at the time of acute illness or the patient was initially asymptomatic. Post-COVID-19 syndrome has also been known as ‘long COVID’.
For further information, see: National Institute for Health and Care Excellence - COVID-19 guideline: management of the long-term effects of COVID-19 and NHS England and NHS Improvement coronavirus - National guidance for post-COVID syndrome assessment clinics
350Infectious Diseases ServiceSERVICES for the diagnosis, management and treatment of infectious diseases. Excludes Tropical Medicine Service - see TREATMENT FUNCTION CODE 352.
For further information, see: Joint Royal Colleges of Physicians Training Board - Infectious Diseases
352Tropical Medicine ServiceSERVICES for the diagnosis, management and treatment of diseases that are found most often in tropical or sub-tropical regions. This TREATMENT FUNCTION CODE should be used by designated specialist centres only. Excludes Infectious Diseases Service - see TREATMENT FUNCTION CODE 350.
For further information, see: Joint Royal Colleges of Physicians Training Board - Infectious Diseases and Tropical Medicine
360Genitourinary Medicine ServiceSERVICES for the investigation and management of sexually transmitted infections and HIV.
For further information, see: Joint Royal Colleges of Physicians Training Board - Genitourinary Medicine (GUM)
361Renal Medicine ServiceFormerly known as Nephrology.
SERVICES for PATIENTS with acute renal failure and chronic kidney disease requiring long term care with the help of a Multidisciplinary Team. Most general medical problems in PATIENTS with kidney disease are managed by the Renal Medicine Service.
Excludes acute renal replacement therapy in the critical care setting, see Intensive Care Medicine Service - TREATMENT FUNCTION CODE 192.
For further information, see: Joint Royal Colleges of Physicians Training Board - Renal Medicine
370Medical Oncology ServiceSERVICES for the specialised assessment and management of PATIENTS with cancer using chemotherapy. Includes treatment option discussions with PATIENTS, supervision of therapy and management of any complications of disease and/or treatment that may arise.
For further information, see: Joint Royal Colleges of Physicians Training Board - Medical Oncology
371Nuclear Medicine ServiceSERVICES responsible for administration of unsealed radioactive substances to PATIENTS for the purposes of diagnosis, therapy or research.
For further information, see: Joint Royal Colleges of Physicians Training Board - Nuclear Medicine
400Neurology ServiceSERVICES for the diagnosis, management and medical treatment of neurological conditions. Excludes Stroke Medicine Service - TREATMENT FUNCTION CODE 328, out-patients for Transient Ischaemic Attack Service – see TREATMENT FUNCTION CODE 329.
For further information, see: Joint Royal Colleges of Physicians Training Board - Neurology
401Clinical Neurophysiology ServicePrimarily diagnostic SERVICE concerned with recording electrical activity from the nervous system to aid diagnosis, classification and management of neurological disease. Includes Electroencephalogram (EEG) and Electromyography (EMG).
For further information, see: Joint Royal College of Physicians - Clinical Neurophysiology
410Rheumatology ServiceSERVICES incorporating the investigation, holistic management and rehabilitation of PATIENTS with a wide spectrum of disorders of the musculoskeletal system encompassing the locomotor apparatus, bone and connective tissues and blood vessels.
For further information, see: Joint Royal College of Physicians - Rheumatology
420Paediatric ServiceDedicated children's SERVICES for the treatment of patients typically aged 0 to 18 for medical conditions, however the environments and other members of the multidisciplinary service are likely to care for surgical PATIENTS too.
For further information, see: Royal College of Paediatrics and Child Health - General paediatrics - specialty level training
422Neonatal Critical Care ServiceFormerly known as Neonatology.
SERVICES providing care for all babies that require on-going, enhanced medical care following birth. Neonatal critical care SERVICES are provided in a variety of settings dependent upon the interventions required for the baby and with dedicated transport services to support babies being transferred to and from neonatal care units. Use when NEONATAL LEVEL OF CARE = 1, 2 or 3. Includes Special Care Baby Units (SCBU), Local Neonatal Units (LNU) and Neonatal Intensive Care Units (NICU).
Any readmission would be to Paediatric Service - see TREATMENT FUNCTION CODE 420, or Paediatric Intensive Care Service - see TREATMENT FUNCTION CODE 242.
For further information, see: Royal College of Paediatrics and Child Health - Neonatal medicine - sub-specialty and NHS England - E08. Neonatal Critical Care
424Well Baby ServiceSERVICES for healthy infants born and referenced by the Maternity record who do not require any intervention other than health screening and prophylactic healthcare. General care given by the mother/substitute with healthcare education if needed.
Use when NEONATAL LEVEL OF CARE = 0 - Normal Care.
Excludes Neonatal Critical Care Service - see TREATMENT FUNCTION CODE 422
430Elderly Medicine ServiceFormerly known as Geriatric Medicine.
SERVICES to treat diseases and disabilities in older adults, particularly those with multiple morbidities. There is no set age at which PATIENTS may be under the care of the Elderly Medicine Service, this decision should be determined by the individual PATIENT's needs.
For further information, see: Joint Royal Colleges of Physicians Training Board - Geriatric Medicine
431Orthogeriatric Medicine ServiceMultidisciplinary SERVICES addressing clinical and social needs in the management of PATIENTS with fragility fractures, including hip fractures. The care provided aims to be holistic and to include secondary prevention of fractures as well as acute care.
For further information, see: GM - Orthogeriatrics
450Dental Medicine ServiceSERVICES for dental treatment carried out in a hospital setting. Includes Oral Medicine.
For further information, see: British Dental Association
451Special Care Dentistry ServiceSERVICES concerned with the improvement of the oral health of PATIENTS and groups in society who have a physical, sensory, intellectual, mental, medical, emotional or social impairment or DISABILITY or, more often, a combination of these factors. The specialty focuses on adolescents and adults only and includes the important period of transition as the adolescent moves into adulthood.
For further information, see: Special Care Dentistry Association (SCDA)
460Medical Ophthalmology ServiceMedically-led SERVICES including assessment, investigation, diagnosis and management of inflammatory, vascular and neurological disorders affecting vision. May include public health screening, for example diabetic retinopathy screening.
For further information, see: Joint Royal Colleges of Physicians Training Board - Medical Ophthalmology
461Ophthalmic and Vision Science ServiceSERVICES providing physiological measurement of the function of the eye and vision. Includes diagnostic electrophysiology of vision, imaging and biometry.
For further information, see: NHS Health Education England: Ophthalmic and vision science
500not a Treatment Function 
501Obstetrics ServiceSERVICES managing high risk pregnancy and childbirth including miscarriages and stillbirths but specifically excluding planned terminations. Excludes Midwifery Service - see TREATMENT FUNCTION CODE 560.
For further information, see: Royal College of Obstetricians & Gynaecologists - Obstetrics and Gynaecology
502Gynaecology ServiceSERVICES for the diagnosis, management and treatment of disorders of the female reproductive system. Includes planned terminations of pregnancy.
For further information, see: Royal College of Obstetricians & Gynaecologists - Obstetrics and Gynaecology
503Gynaecological Oncology ServiceSERVICES to treat cancers of the female reproductive system, principally involving surgical members of the Multidisciplinary Team.
For further information, see: British Gynaecological Cancer Society
504Community Sexual and Reproductive Health ServiceSERVICES supporting people to have a positive and respectful approach to sexuality and sexual relationships and to have pleasurable and safe sexual experiences, free of infection, coercion, discrimination and violence. The SERVICE also provides access to contraception and signposts Maternity Services to support pregnancy and childbirth.
Excludes Genitourinary Medicine Service - see TREATMENT FUNCTION CODE 360 and Midwifery Service - see TREATMENT FUNCTION CODE 560.
For further information, see: Faculty of Sexual and Reproductive Healthcare (FSRH)
505Fetal Medicine ServiceSERVICES providing specialist care at a designated centre for the fetus or fetuses and mother. This includes assessment of fetal growth and wellbeing; the diagnosis and management of identified fetal disorders (including fetal abnormalities); prenatal fetal intervention and surgery; and counselling and support for parents. Excludes routine maternity screening activities - see Midwifery Service TREATMENT FUNCTION CODE 560.
510RetiredRecord as Obstetrics, antenatal clinic can be used as a local sub-specialty if required
520RetiredRecord as Obstetrics, postnatal clinic can be used as a local sub-specialty if required
600not a Treatment Function 
610RetiredRecord as Obstetrics
620RetiredUse the appropriate function under which the patient is treated
834Medical Virology ServiceClinical SERVICES for the diagnosis, management and prevention of blood-borne and/or airborne viral infections. For further information, see: Royal College of Pathologists - MEDICAL VIROLOGY
Mental Health Services
656Clinical Psychology ServiceMental Health Services for the assessment, management and treatment of problems including addiction, anxiety, depression, behavioural difficulties and relationship issues. Methods of assessment include psychometric tests, interviews and direct observation of behaviour. Assessment may lead to advice, counselling or therapy.
For further information, see: The British Psychological Society
700Learning Disability ServiceAlso known as Intellectual Disability Service.
Mental Health Services provided to PATIENTS with a Learning Disability.
For further information, see: Royal College of Psychiatrists - Faculty of the Psychiatry of Intellectual Disability and British Institute of Learning Disabilities
710Adult Mental Health ServiceMental Health Services provided to adult PATIENTS for the assessment, diagnosis and treatment of mental illness and maintenance of mental health.
For further information, see: Royal College of Psychiatrists - Faculty of General Adult Psychiatry
711Child and Adolescent Psychiatry ServiceMental Health Services for children and young people with somatisation and complex presentations, behavioural challenges, eating disorders, mood disorders, anxiety, and other mental health presentations. Excludes Paediatric Neurodisability Service - see TREATMENT FUNCTION CODE 291 and specialist Eating Disorders Service - see TREATMENT FUNCTION CODE 720.
For further information, see: Royal College of Psychiatrists - Faculty of Child and Adolescent Psychiatry
712Forensic Psychiatry ServiceMental Health Services for the assessment, management and treatment of PATIENTS who are being held in high, medium and low secure units or prisons. This includes prevention of further harm in the community or to the individual themselves.
For further information, see: Royal College of Psychiatrists - Faculty of Forensic Psychiatry
713Medical Psychotherapy ServiceFormerly known as Psychotherapy.
Multidisciplinary Mental Health Services to assess, manage and treat children and adults with mental health problems using talking therapies and other psychotherapeutic techniques.
For further information, see: Faculty of Medical Psychotherapy
715Old Age Psychiatry ServiceMental Health Services providing the specialised assessment, treatment and continuing care for older adults suffering a range of mental illnesses, including dementia, depression or schizophrenia. Excludes specific Dementia Assessment Service - see TREATMENT FUNCTION CODE 727.
For further information, see: Royal College of Psychiatrists - Faculty of Old Age Psychiatry
720Eating Disorders ServiceA specialist SERVICE for the diagnosis and treatment of eating disorders including anorexia, bulimia and compulsive overeating. This is usually a multidisciplinary service which needs to consider both physical and mental health aspects of the PATIENT's care.
For further information, see: Royal College of Psychiatrists - Faculty of Eating Disorders Psychiatry
721Addiction ServiceMental Health Services for the treatment of addictive behaviour, including substance misuse, drugs, alcohol, tobacco and gambling. Excludes PATIENTS with both severe mental illness and problematic substance misuse, see Mental Health Dual Diagnosis Service - TREATMENT FUNCTION CODE 726.
For further information, see: Royal College of Psychiatrists - Faculty of Addictions Psychiatry
722Liaison Psychiatry ServiceMental Health Services for the provision of psychiatric treatment to PATIENTS attending acute hospitals including Out-Patient ClinicsEmergency Care Departments and admission to WARDS. Deals with the interface between physical and psychological health.
For further information, see: Royal College of Psychiatrists - Faculty of Liaison Psychiatry
723Psychiatric Intensive Care ServiceMental Health Services provided to vulnerable individuals with severe disturbances who are admitted to Psychiatric Intensive Care Units from mental health acute wards and forensic settings.
For further information, see: Royal College of Psychiatrists - Quality Network for Psychiatric Intensive Care Units
724Perinatal Mental Health ServiceFormerly known as Perinatal Psychiatry.
Specialist Mental Health Services for the assessment, management and treatment of pre-existing or new mental health issues during pregnancy or after delivery.
For further information, see: Royal College of Psychiatrists - Faculty of Perinatal Psychiatry
725Mental Health Recovery and Rehabilitation ServiceMental Health Services provided to support recovery from mental illness that maximises the PATIENTS' quality of life and social inclusion by encouraging their skills, promoting independence and autonomy.
For further information, see: Faculty of Rehabilitation and Social Psychiatry
726Mental Health Dual Diagnosis ServiceMental Health Services to provide support to PATIENTS with both severe mental illness and substance misuse problems.
For further information, see: Mind: Recreational drugs, alcohol and addiction
727Dementia Assessment ServiceDesignated Mental Health Services for the assessment of PATIENTS who have or are suspected to have dementia. Dementia complicates care giving and can occur at any stage of the illness and at any age. In addition to memory impairment, dementia may include behavioural and psychological problems. For non-specific Old Age Psychiatry Service - see TREATMENT FUNCTION CODE 715.
For further information, see: Royal College of Psychiatrists - Dementia pathway
730Neuropsychiatry ServiceMental Health Services for brain disorders and integration of psychiatry within clinical neurosciences.
For further information, see: Royal College of Psychiatrists - Faculty of Neuropsychiatry
Other Services
560Midwifery ServiceSERVICES for managing antenatal and perinatal care during pregnancy, and postnatal care following delivery, provided under the direct care of a MIDWIFE. Excludes Obstetrics Service - see TREATMENT FUNCTION CODE 501.
For further information, see: Royal College of Midwives
650Physiotherapy ServiceSERVICES helping PATIENTS affected by injury, illness or DISABILITY through movement and exercise, manual therapy, education and advice to manage pain and prevent disease. To encourage development and facilitate recovery, enabling maintenance of work and independence for as long as possible.
For further information, see: Chartered Society of Physiotherapy (CSP) - Physiotherapy
651Occupational Therapy ServiceSERVICES using specific activities to limit the effects of DISABILITY and promote independence in all aspects of daily life
652Speech and Language Therapy ServiceSERVICES providing assessment, management and treatment of speech, language, communication and swallowing issues in PATIENTS of all ages.
For further information, see: Royal College of Speech & Language Therapists - Speech and language therapy
653Podiatry ServiceAlso known as Chiropody.
SERVICES for the diagnosis and treatment of disorders, diseases and deformities of the feet. Excludes Podiatric Surgery Service - see TREATMENT FUNCTION CODE 663.
For further information, see: The College of Podiatry
654Dietetics ServiceSERVICES applying the science of nutrition to improve health and treat diseases/conditions by educating and giving practical, personalised advice to PATIENTS, Patient Proxies and other members of the Multidisciplinary Team. They advise on and help to maintain nutritional status during dietary interventions such as exclusion diets and to recommend nutritional supplements.
For further information, see: British Dietetic Association
655Orthoptics ServiceSERVICES providing the diagnosis and treatment of visual problems involving eye movement and alignment.
For further information, see: British and Irish Orthoptic Society
657Prosthetics ServiceSERVICES providing gait analysis and engineering solutions to patients with limb loss. They design and provide prostheses that replicate the structural or functional characteristics of the PATIENTS absent limb. They often work autonomously or part of Multidisciplinary Teams working closely with Physiotherapists and Occupational Therapists as part of multidisciplinary amputee rehabilitation teams.
For further information, see: British Association of Prosthetists and Orthotists (BAPO) - Prosthetists
658Orthotics ServiceSERVICES providing gait analysis and engineering solutions to PATIENTS with needs of the neuro, muscular and skeletal systems. They design and provide orthoses that modify the structural or functional characteristics of the PATIENTS neuro-muscular and skeletal systems enabling patients to mobilise, eliminate gait deviations, reduce falls, reduce pain, prevent and facilitate healing of ulcers. They often work autonomously or part of Multidisciplinary Teams such as within the diabetic foot team or neuro-rehabilitation team.
For further information, see: The British Association of Prosthetists and Orthotists (BAPO) - Orthotists
659Dramatherapy ServiceSERVICES providing dramatherapy which is a form of psychological therapy focussing on the use of performance arts within the therapeutic relationship.
For further information, see: British Association of Dramatherapists
660Art Therapy ServiceSERVICES delivering a form of psychotherapy that uses art media as its primary mode of expression and communication. Within this context, art is not used as diagnostic tool but as a medium to address emotional issues which may be confusing and distressing.
For further information, see: British Association of Art Therapists
661Music Therapy ServiceSERVICES delivering a form of psychotherapy that uses music to support psychological, emotional, cognitive, physical, communicative and/or social needs.
For further information, see: British Association for Music Therapy
662Optometry ServiceSERVICES providing the diagnosis and non-surgical treatment of disorders of the eye and vision care
663Podiatric Surgery ServiceSERVICES involved in the complex management of the foot and ankle involving surgery under both local and general anaesthetic. Excludes Podiatry Service - see TREATMENT FUNCTION CODE - 653.
For further information, see: The College of Podiatry
670Urological Physiology ServiceDiagnostic SERVICES for the study of erectile, upper and lower urinary tract function, including urodynamics.
For further information, see: The British Association of Urological Surgeons
673Vascular Physiology ServiceDiagnostic SERVICES for the study of arterial and venous circulation primarily using Doppler ultrasound but including tests such as pressure measurement and plethysmography. Excludes Cardiac Physiology Service - see TREATMENT FUNCTION CODE 675.
For further information, see: The Society for Vascular Technology
675Cardiac Physiology ServiceSERVICES providing physiological measurements of the heart structure/function and response to therapeutic/surgical intervention through the means of a wide spectrum of non-invasive and invasive cardiac diagnostic testing. Examples include echocardiography, cardiac device management.
For further information, see: Society for Cardiological Science and Technology (SCST)
677Gastrointestinal Physiology ServiceSERVICES providing physiological measurement of the gastrointestinal tract. This includes standard catheter based oesophageal pH studies, oesophageal pH impedance, oesophageal manometry, ano-rectal manometry, wireless capsule studies. Excludes Gastroenterology Service - see TREATMENT FUNCTION CODE 301.
For further information, see: AGIP – Association of GI Physiologists
800Clinical Oncology ServiceFormerly known as Radiotherapy.
The diagnosis and treatment, typically with Radiotherapy, of PATIENTS with cancer.
For further information, see: Royal College of Radiologists - Clinical oncology
810not a Treatment Function 
811Interventional Radiology ServiceSERVICES delivering a range of techniques using radiological image guidance including X-ray fluoroscopy, ultrasound, Computerised Tomography Scan, or Magnetic Resonance Imaging Scan (MRI) to precisely target therapy. Excludes Interventional Cardiology - see Cardiology Service TREATMENT FUNCTION CODE 320, and Diagnostic Imaging Service - see TREATMENT FUNCTION CODE 812.
For further information, see: British Society of Interventional Radiology - What is Interventional Radiology
812Diagnostic Imaging ServiceSERVICES providing medical imaging, especially X-ray based examinations, Ultrasound scan, MRI Scan, PET Scan or CT Scan. Diagnostic imaging is used to confirm, assess and document diseases, as well as to assess responses to treatment.
For further information, see: WHO: Diagnostic imaging
820not a Treatment Function 
821not a Treatment Function 
822Chemical Pathology ServiceSERVICES interpreting biochemical investigation results to assess, diagnose and treat diseases. To be used for the clinical management of PATIENTS by chemical pathology only.
For further information, see: Royal College of Pathologists - CHEMICAL PATHOLOGY
823not a Treatment FunctionSee Clinical Haematology
824not a Treatment Function 
830not a Treatment FunctionSee Clinical Immunology
831not a Treatment FunctionSee Clinical Microbiology
832Retired 
840Audiology ServiceSERVICES providing physiological measurement and diagnosis of hearing disorders, and the rehabilitation of PATIENTS with hearing loss. Include hearing services activity, such as hearing tests and the fitting of hearing aids.
For further information, see: British Society of Audiology
900not a Treatment Function 
901not a Treatment Function 
902not a Treatment Function 
903not a Treatment Function 
904not a Treatment Function 
920Diabetic Education ServiceSERVICES providing dedicated small group education courses regarding self-management for diabetic PATIENTS
950not a Treatment FunctionUse the appropriate function under which the patient is treated
960not a Treatment FunctionUse the appropriate function under which the patient is treated
990Retired 

Notes:

Notes:

Code 500 is not acceptable for data sets/collections including Hospital Episode Statistics
 TREATMENT FUNCTION CODES should be used for all data sets/collections unless otherwise stated e.g. National Workforce Data Set uses MAIN SPECIALTY CODES
 GENERAL MEDICAL PRACTITIONER, NURSE and ALLIED HEALTH PROFESSIONAL/ Biomedical Scientist/ Clinical Scientist ACTIVITY should be recorded against the TREATMENT FUNCTION under which the PATIENT is treated
 Joint Consultant Clinic ACTIVITY should be recorded against the TREATMENT FUNCTION which best describes the specialised service

top


NATIONAL CANCER WAITING TIMES MONITORING DATA SET SCENARIOS

Change to Supporting Information: Changed Description

National Cancer Waiting Times Monitoring Data Set: Concept of Operation and Patient Pathway Scenarios.

National Cancer Waiting Times Monitoring Data Set: Concept of Operation and Patient Pathway Scenarios.

The National Cancer Waiting Times Monitoring Data Set is a generic data set designed to support the monitoring of waiting times for a variety of different pathways of cancer care. For the purpose of this data collection cancer is defined using the International Classification of Diseases (ICD) codes. The full list of International Classification of Diseases (ICD) diagnosis codes is available on the NHS England website at: Cancer Waiting Times.

Collection and submission of the National Cancer Waiting Times Monitoring Data Set is to be managed according to the maximum waiting time and information requirements of the pathway of care for each individual PATIENT. These requirements for providers of cancer SERVICES to return data to the Cancer Waiting Times Database are defined using different scenarios.

Scenarios

The columns in the table below show which data items are required for a range of health care scenarios:

Data Set Notation:

Data Set Notation:

  • M = Mandatory: the Standard Contract Schedule 5 requires NHS provider ORGANISATIONS to submit this information on a monthly basis. NHS England require the data to be submitted a number of working days after the end of each month or quarter. This submission schedule is set out on the NHS England website at: Cancer Waiting Times Data Collection (CWT).
  • M* = Mandatory if applicable: the Standard Contract Schedule 5 requires NHS provider ORGANISATIONS to submit this information on a monthly basis, where collection of the item was applicable to them. NHS England require the data to be submitted a number of working days after the end of each month or quarter. This submission schedule is set out on the NHS England website at: Cancer Waiting Times Data Collection (CWT).
  • O = Optional
  • O* = Optional if applicable: These optional fields should only be populated if they relate to the PATIENT PATHWAY identified in the scenarios and the conditions required for their use are met.
  • N/A = Not Applicable

Note: Inter-Provider Transfers:

Note: Inter-Provider Transfers:

Data ItemScenario 1aScenario 1bScenario 1cScenario 1dScenario 1eScenario 1fScenario 1gScenario 2aScenario 2bScenario 3Scenario 4Scenario 5Scenario 6Scenario 7
NHS NUMBERMMMMMMMMMMMMMM
NHS NUMBER STATUS INDICATOR CODEMMMMMMMMMMMMMM
PATIENT PATHWAY IDENTIFIERMMMMMMMM*M*M*M*M*M*M*
ORGANISATION IDENTIFIER (PATIENT PATHWAY IDENTIFIER ISSUER)MMMMMMMM*M*M*M*M*M*M*
SOURCE OF REFERRAL FOR OUT-PATIENTSMMMMMN/AMN/AN/AN/AMN/AON/A
PRIORITY TYPE CODEMMMMMN/AMN/AN/AN/AMN/AON/A
DECISION TO REFER DATE (CANCER OR BREAST SYMPTOMS)M*M*M*M*M*N/AM*N/AN/AN/AN/AN/AON/A
CANCER REFERRAL TO TREATMENT PERIOD START DATEMMMMMN/AMMN/AN/AON/AON/A
TWO WEEK WAIT CANCER OR SYMPTOMATIC BREAST REFERRAL TYPEMMMMMN/AMN/AN/AN/AN/AN/AON/A
CONSULTANT UPGRADE DATEN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AMN/AON/A
ORGANISATION SITE IDENTIFIER (OF PROVIDER CONSULTANT UPGRADE)N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AMN/AON/A
DATE FIRST SEENMMMMMN/AMN/AN/AN/AMN/AON/A
ORGANISATION SITE IDENTIFIER (OF PROVIDER FIRST SEEN)MMMMMN/AMN/AN/AN/AMN/AN/AN/A
WAITING TIME ADJUSTMENT (FIRST SEEN)M*M*M*M*M*N/AM*N/AN/AN/AO*N/AN/AN/A
WAITING TIME ADJUSTMENT REASON (FIRST SEEN)M*M*M*M*M*N/AM*N/AN/AN/AO*N/AN/AN/A
CANCER CARE SPELL DELAY REASON (FIRST SEEN)M*M*M*M*M*N/AM*N/AN/AN/AN/AN/AN/AN/A
CANCER CARE SPELL DELAY REASON COMMENT (FIRST SEEN)O*O*O*O*O*N/AO*N/AN/AN/AN/AN/AN/AN/A
CANCER DIAGNOSTIC REFERRAL ROUTEO*O*M*O*O*N/AO*O*N/AN/AN/AN/AO*N/A
RAPID DIAGNOSTIC CENTRE PATHWAY COMPLIANCE INDICATORO*O*O*O*O*N/AO*O*N/AN/AN/AN/AO*N/A
CANCER OR SYMPTOMATIC BREAST REFERRAL PATIENT STATUSMMMMMMMMMMMMMM
PRIMARY DIAGNOSIS (ICD)N/AM*N/AM*N/AN/AN/AMMMMMMM
TUMOUR LATERALITYN/AM*N/AM*N/AN/AN/AMMMMMMM
CANCER TREATMENT PERIOD START DATEN/AN/AN/AMN/AN/AN/AMMMMMMM
ORGANISATION SITE IDENTIFIER (OF PROVIDER CANCER DECISION TO TREAT)N/AN/AN/AMN/AN/AN/AMMMMMMM
REFERRAL REQUEST RECEIVED DATE (INTER-PROVIDER TRANSFER) #N/AN/AN/AN/AN/AMN/AN/AMN/AN/AN/AN/AN/A
PROSTATE CANCER CLINICAL RISK CATEGORYM*M*M*M*M*N/AM*M*M*M*M*M*M*M*
CANCER FASTER DIAGNOSIS PATHWAY END REASONN/AMN/AMN/AN/AMMMM*N/AN/AN/AN/A
PRIMARY CANCER SITE (CANCER FASTER DIAGNOSIS PATHWAY)N/AMN/AMN/AN/AN/AMMN/AN/AN/AN/AN/A
CANCER FASTER DIAGNOSIS PATHWAY END DATEN/AMN/AMN/AN/AMMMM*N/AN/AN/AN/A
CANCER CARE SPELL DELAY REASON (OUTCOME COMMUNICATION CANCER FASTER DIAGNOSIS PATHWAY)N/AM*N/AM*N/AN/AN/AM*M*N/AN/AN/AN/AN/A
CANCER CARE SPELL DELAY REASON COMMENT (OUTCOME COMMUNICATION CANCER FASTER DIAGNOSIS PATHWAY)N/AO*N/AO*N/AN/AN/AO*O*N/AN/AN/AN/AN/A
CANCER FASTER DIAGNOSIS PATHWAY EXCLUSION REASONN/AN/AN/AN/AN/AN/AMN/AN/AM*N/AN/AN/AN/A
CARE PROFESSIONAL TYPE (OUTCOME COMMUNICATION CANCER FASTER DIAGNOSIS PATHWAY)N/AO*N/AO*N/AN/AN/AO*O*N/AN/AN/AN/AN/A
METHOD OF COMMUNICATION (END OF CANCER FASTER DIAGNOSIS PATHWAY)N/AO*N/AO*N/AN/AN/AO*O*N/AN/AN/AN/AN/A
ORGANISATION SITE IDENTIFIER (OF CANCER FASTER DIAGNOSIS PATHWAY END DATE)N/AMN/AMN/AN/AMMMM*N/AN/AN/AN/A
SERVICE REQUESTED DATE (INTER-PROVIDER TRANSFER) #N/AN/AN/AN/AMN/AN/AN/AN/AN/AN/AN/AN/AN/A
ORGANISATION IDENTIFIER (REFERRING) #N/AN/AN/AN/AMMN/AN/AMN/AN/AN/AN/AN/A
ORGANISATION IDENTIFIER (RECEIVING) #N/AN/AN/AN/AMMN/AN/AMN/AN/AN/AN/AN/A
CANCER TRANSFER REFERRING REASON (INTER-PROVIDER TRANSFER) #N/AN/AN/AN/AON/AN/AN/AN/AN/AN/AN/AN/AN/A
CANCER TRANSFER RECEIVING REASON (INTER-PROVIDER TRANSFER) #N/AN/AN/AN/AN/AON/AN/AON/AN/AN/AN/AN/A
REFERRAL REQUEST RECEIVED DATE (INTER-PROVIDER TRANSFER) ##N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A
SERVICE REQUESTED DATE (INTER-PROVIDER TRANSFER) ##N/AN/AN/AN/AN/AMN/AN/AN/AN/AN/AN/AN/AN/A
ORGANISATION IDENTIFIER (REFERRING) ##N/AN/AN/AN/AN/AMN/AN/AN/AN/AN/AN/AN/AN/A
ORGANISATION IDENTIFIER (RECEIVING) ##N/AN/AN/AN/AN/AMN/AN/AN/AN/AN/AN/AN/AN/A
CANCER TRANSFER REFERRING REASON (INTER-PROVIDER TRANSFER) ##N/AN/AN/AN/AN/AON/AN/AN/AN/AN/AN/AN/AN/A
CANCER TRANSFER RECEIVING REASON (INTER-PROVIDER TRANSFER) ##N/AN/AN/AN/AN/AON/AN/AN/AN/AN/AN/AN/AN/A
TREATMENT START DATE (CANCER)N/AN/AN/AN/AN/AN/AN/AMMMMMMM
ORGANISATION SITE IDENTIFIER (OF PROVIDER CANCER TREATMENT START DATE)N/AN/AN/AN/AN/AN/AN/AMMMMMMM
CANCER TREATMENT EVENT TYPEN/AN/AN/AN/AN/AN/AN/AMMMMMMM
CANCER TREATMENT MODALITYN/AN/AN/AN/AN/AN/AN/AMMMMMMM
CLINICAL TRIAL INDICATORN/AN/AN/AN/AN/AN/AN/AMMMMMMM
CANCER CARE SETTING (TREATMENT)N/AN/AN/AN/AN/AN/AN/AMMMMMMM
CANCER CARE SPELL DELAY REASON (DECISION TO TREATMENT)N/AN/AN/AN/AN/AN/AN/AM*M*M*M*M*M*M*
CANCER CARE SPELL DELAY REASON COMMENT (DECISION TO TREATMENT)N/AN/AN/AN/AN/AN/AN/AO*O*O*O*O*O*O*
WAITING TIME ADJUSTMENT (TREATMENT)N/AN/AN/AN/AN/AN/AN/AM*M*M*M*M*M*M*
WAITING TIME ADJUSTMENT REASON (TREATMENT)N/AN/AN/AN/AN/AN/AN/AM*M*M*M*M*M*M*
CANCER CARE SPELL DELAY REASON (REFERRAL TO TREATMENT)N/AN/AN/AN/AN/AN/AN/AM*M*N/AM*N/AO*N/A
CANCER CARE SPELL DELAY REASON COMMENT (REFERRAL TO TREATMENT)N/AN/AN/AN/AN/AN/AN/AO*O*N/AO*

O*

O*N/A
CANCER CARE SPELL DELAY REASON (CONSULTANT UPGRADE)N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AM*N/AO*N/A
CANCER CARE SPELL DELAY REASON COMMENT (CONSULTANT UPGRADE)N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AO*N/AO*N/A

Full details of the validation rules and processes are available on the NHS England website at: Cancer Waiting Times.

top


OPCS CLASSIFICATION OF INTERVENTIONS AND PROCEDURES

Change to Supporting Information: Changed Description

The OPCS Classification of Interventions and Procedures (OPCS-4) is a Fundamental Information Standard which is revised periodically.  The classification is used by Health Care Providers and national and regional ORGANISATIONS.

OPCS-4 is used to support operational and strategic planning, resource utilisation, performance management, reimbursement, research and epidemiology.  It is used by NHS suppliers to build/update software to support NHS business functions and interoperability.

The classification consists of two volumes; Tabular List and Alphabetical Index. It is accessible in the Classifications Browser at https://classbrowser.nhs.uk which also contains links to the National Clinical Coding Standards.

The classification is also available for purchase in paper format from The Stationary Office at www.tsoshop.co.uk

National information standards and data collections, such as Commissioning Data Sets requiring OPCS-4 coding should use the latest mandated version of the OPCS-4 as given in the table below:

Year Version of OPCS-4* 
Up to 31 March 2006OPCS-4.2
01-Apr-2006 to 31-Mar-2007OPCS-4.3
01-Apr-2007 to 31-Mar-2009OPCS-4.4
01-Apr-2009 to 31-Mar-2011OPCS-4.5
01-Apr-2011 to 31-Mar-2014OPCS-4.6
01-Apr-2014 to 31-Mar-2017OPCS-4.7
01-Apr-2017 to 31-Mar-2020OPCS-4.8
01-Apr-2020 to 31-Mar-2023OPCS-4.9
01-Apr-2023 until further notificationOPCS-4.10

*Tables of Coding Equivalences are issued for mapping back to previous versions and are available from Technology Reference Update Distribution (TRUD).

For further information see the NHS England website at: Terminology and Classifications.

OPCS-4 Requests Portal

OPCS-4 Requests Portal

The OPCS-4 Requests Portal allows stakeholders to submit change requests to the Terminology and Classifications Delivery Service all year round. A cut-off date for receipt of change requests for consideration in the next release is published on the Requests Portal.  Requests received after the cut-off date will be considered in a subsequent release.

For further information and access to the OPCS-4 Requests Portal, see the NHS England website at: Clinical Classifications.

High Cost Drugs and Chemotherapy Regimens

High Cost Drugs and Chemotherapy Regimens

The listings of High Cost Drugs and Chemotherapy Regimens which are mapped to OPCS-4 codes are provided as look-up tables downloadable from Delen at Publications & Resources.

top


ORGANISATION MERGERS

Change to Supporting Information: Changed Description

This guidance explains the circumstances under which Hospital Provider Spells should close and reopen as a result of a merger or demerger, in terms of NHS Information Standards.

It specifies which ORGANISATION CODES / ORGANISATION IDENTIFIERS should be used for Hospital Provider Spells which must be closed and reopened for:

When Hospital Provider Spells Should be Closed and ReopenedMergers

Mergers

Demergers

Demergers

The National Codes Used when Hospital Provider Spells are Closed and Reopened

If Hospital Provider Spells are to be closed and reopened only as a result of Organisation Mergers or demergers, for most cases the codes below should be used.

DESTINATION OF DISCHARGE

This depends on the type of WARD the PATIENT is in, but will be either:

METHOD OF DISCHARGE

  • 1   PATIENT discharged on clinical advice or with clinical consent

METHOD OF ADMISSION

Note that this ADMISSION METHOD is classed under "Other Admission". It is not elective and the PATIENT does therefore not have an entry on an Elective Admission List.
ADMISSION SOURCE

Again, this depends on the type of WARD the PATIENT is in, but will be either:

REFERRER CODE

This will be the referrer to the Hospital Provider Spell within which the PATIENT was receiving care before the merger, i.e. the "original" Hospital Provider Spell.

Guidance for Merging Organisations to support Sending of Commissioning Data Sets to the Secondary Uses Service

Guidance for Merging Organisations to support Sending of Commissioning Data Sets to the Secondary Uses Service

top


SECURITY ISSUES AND PATIENT CONFIDENTIALITY

Change to Supporting Information: Changed Description

Data senders are directly responsible for the integrity of the data they submit. This means that data senders must not flow legally restricted or identifiable information using data items that are not designed for this purpose.

  • A. Removal of name and address where the NHS Number is present
  • A. Removal of name and address where the NHS Number is present

    B. Sensitive data

    • The Human Fertilisation and Embryology Act 1990 as amended by the Human Fertilisation and Embryology (Disclosure of Information) Act 1992 imposes statutory restrictions on the disclosure of information about identifiable individuals in connection with certain infertility treatments.

    • The latest approved list of codes which can be used to identify the relevant PATIENT record in which the patient-identifiable data are to be omitted from the CDS Types can be accessed via the Secondary Uses Service website.  In these cases the NHS NUMBER, LOCAL PATIENT IDENTIFIER/LOCAL PATIENT IDENTIFIER (EXTENDED), PATIENT NAMES, POSTCODE OF USUAL ADDRESS and PERSON BIRTH DATE should be omitted from the Commissioning Data Set submission.

    • From Commissioning Data Set Version 6-2 onwards, records where the patient-identifiable data has been withheld should be submitted using the PATIENT IDENTITY - WITHHELD IDENTITY STRUCTURE data group in the Commissioning Data Set XML schema.  This data group allows only the NHS NUMBER STATUS INDICATOR CODE (the actual value held on source systems should be used), ORGANISATION CODE (RESIDENCE RESPONSIBILITY)/ORGANISATION IDENTIFIER (RESIDENCE RESPONSIBILITY) and WITHHELD IDENTITY REASON to flow.  The WITHHELD IDENTITY REASON allows Health Care Providers to inform their Commissioners why a record has been anonymised.  Note that the same rules apply to the additional PATIENT IDENTITY structures relating to Mother and Baby in the Delivery and Birth CDS types.

    • Other statutory restrictions on the disclosure of PATIENT information do not prohibit the disclosure to individuals involved with the treatment and prevention of certain specific diseases (HIV/AIDS and venereal diseases) in the population.

    • All records containing patient identifiable information, other than those covered by the Sensitive Data section, should be treated as sensitive. ORGANISATIONS may continue to exchange records containing NHS NUMBER, POSTCODE OF USUAL ADDRESS and PERSON BIRTH DATE in these cases, but receiving ORGANISATIONS must ensure that only those staff with legitimate need have access to this information, e.g. public health departments, and strictly on a need to know basis. No-one should have unrestricted access unless fully justified in accordance with the Caldicott Principles.

    • Where PATIENT level data is required for other purposes within an ORGANISATION, it should be anonymised/aggregated prior to disclosure by someone with legitimate access. If this is not practicable, local protocols defining which CDS Types are particularly sensitive (including, but not necessarily restricted to HIV/AIDS and venereal disease) agreed by the ORGANISATION Caldicott Guardian, should be put in place and identifiers stripped from these records.

    • Your Caldicott Guardian will be able to advise you further on all issues relating to patient confidentiality.

    • Where appropriate, further information about confidentiality is contained within the notes for individual data items.

top


SUPPORTING DATA SETS MESSAGE DOCUMENTATION

Change to Supporting Information: Changed Description

top


SUPPORTING INFORMATION INTRODUCTION

Change to Supporting Information: Changed Description


Supporting Information provides information to help users understand and use the NHS Data Model and Dictionary.

Use the links below to access more detailed information:

 

Coding and Classifications:Organisation Information:

Coding and Classifications:

Organisation Information:

NHS Data Model and Dictionary Information:Contacts / Links: 

NHS Data Model and Dictionary Information:

Contacts / Links:

Archived Publications

top


XML SCHEMA AND DATA SET CONSTRAINTS

Change to Supporting Information: Changed Description

This item is being used for development purposes and has not yet been approved.Constraints applied in the NHS Data Model and Dictionary to XML Schemas and Data Sets.

  • XML Schema Constraints pages:
    • Show any differences between the data elements as described in the NHS Data Model and Dictionary and required constraints to these which have been coded into the XML Schema for a specific data set. This may include differing format/lengths of data elements, constrained lists of allowed National Codes, or additional validation to allow a constrained range of values or a specific data pattern.
  • Data Set Constraints pages:
    • Show the same information, but the constraints are not applied in the XML Schema which is used to submit data (or the submission is not in XML format). In these cases the validation of allowed data would take place at the data landing stage.

XML Schema Constraints:

Data Set Constraints:

top


XML SCHEMA TRUD DOWNLOAD

Change to Supporting Information: Changed Description

XML Schemas and Release Notes can be downloaded from Technology Reference Update Distribution (TRUD).

Background:

Background:

In order to access the XML Schemas and Release Notes on Technology Reference Update Distribution (TRUD), users will be required to:

Once an XML Schema has been added to TRUD, users who have subscribed to that item will be automatically notified by email of any updates to that area, for example, new versions, retirements etc.

XML Schema Download:

XML Schema Download:

XML Schemas and Release Notes for the following Data Sets in the NHS Data Model and Dictionary can be downloaded from Technology Reference Update Distribution (TRUD) at: NHS Data Model and Dictionary XML Schemas.

For supplementary information on the XML Schema Publication and Download, see the NHS Data Model and Dictionary Service part of the NHS England website at: Policies: XML Schema Publication and Download guidance.

top


TREATMENT FUNCTION CODE

Change to Attribute: Changed Description

A unique identifier for a TREATMENT FUNCTION.

A TREATMENT FUNCTION CODE is recorded to report the specialised service within which the PATIENT is treated.

It is based on MAIN SPECIALTY but also includes approved sub-specialties and treatment specialties used by lead CARE PROFESSIONALS including CONSULTANTS.

TREATMENT FUNCTION, rather than the Royal College or Faculty specialty, is required on most activity returns and in the Commissioning Data Sets.

TREATMENT FUNCTION CODES should be used for all data sets/collections unless otherwise stated e.g. National Workforce Data Set uses MAIN SPECIALTY CODES.

GENERAL MEDICAL PRACTITIONER, NURSE and Allied Health Professional/ Biomedical Scientist/ Clinical Scientist ACTIVITY should be recorded against the TREATMENT FUNCTION under which the PATIENT is treated.

Joint Consultant Clinic ACTIVITY should be recorded against the TREATMENT FUNCTION which best describes the specialised service.

Assigning a Treatment Function Code:

Further information on the groupings and scope of each TREATMENT FUNCTION CODE is provided at: Main Specialty and Treatment Function Codes Table.

Assigning a Treatment Function Code:

Note:

Further information on the groupings and scope of each TREATMENT FUNCTION CODE is provided at: Main Specialty and Treatment Function Codes Table.

National Codes:

100General Surgery Service
101Urology Service
102Transplant Surgery Service
103Breast Surgery Service
104Colorectal Surgery Service
105Hepatobiliary and Pancreatic Surgery Service
106Upper Gastrointestinal Surgery Service
107Vascular Surgery Service
108Spinal Surgery Service
109Bariatric Surgery Service
110Trauma and Orthopaedic Service
111Orthopaedic Service
113Endocrine Surgery Service
115Trauma Surgery Service
120Ear Nose and Throat Service
130Ophthalmology Service
140Oral Surgery Service
141Restorative Dentistry Service
143Orthodontic Service
144Maxillofacial Surgery Service
145Oral and Maxillofacial Surgery Service
150Neurosurgical Service
160Plastic Surgery Service
161Burns Care Service
170Cardiothoracic Surgery Service
172Cardiac Surgery Service
173Thoracic Surgery Service
174Cardiothoracic Transplantation Service
191Pain Management Service
142Paediatric Dentistry Service
171Paediatric Surgery Service
211Paediatric Urology Service
212Paediatric Transplantation Surgery Service
213Paediatric Gastrointestinal Surgery Service
214Paediatric Trauma and Orthopaedic Service
215Paediatric Ear Nose and Throat Service
216Paediatric Ophthalmology Service
217Paediatric Oral and Maxillofacial Surgery Service
218Paediatric Neurosurgery Service
219Paediatric Plastic Surgery Service
220Paediatric Burns Care Service
221Paediatric Cardiac Surgery Service
222Paediatric Thoracic Surgery Service
223Paediatric Epilepsy Service
230Paediatric Clinical Pharmacology Service
240Paediatric Palliative Medicine Service
241Paediatric Pain Management Service
242Paediatric Intensive Care Service
250Paediatric Hepatology Service
251Paediatric Gastroenterology Service
252Paediatric Endocrinology Service
253Paediatric Clinical Haematology Service
254Paediatric Audio Vestibular Medicine Service
255Paediatric Clinical Immunology and Allergy Service
256Paediatric Infectious Diseases Service
257Paediatric Dermatology Service
258Paediatric Respiratory Medicine Service
259Paediatric Nephrology Service
260Paediatric Medical Oncology Service
261Paediatric Inherited Metabolic Medicine Service
262Paediatric Rheumatology Service
263Paediatric Diabetes Service
264Paediatric Cystic Fibrosis Service
270Paediatric Emergency Medicine Service
280Paediatric Interventional Radiology Service
290Community Paediatric Service
291Paediatric Neurodisability Service
321Paediatric Cardiology Service
421Paediatric Neurology Service
180Emergency Medicine Service
190Anaesthetic Service
192Intensive Care Medicine Service
200Aviation and Space Medicine Service
300General Internal Medicine Service
301Gastroenterology Service
302Endocrinology Service
303Clinical Haematology Service
304Clinical Physiology Service
305Clinical Pharmacology Service
306Hepatology Service
307Diabetes Service
308Blood and Marrow Transplantation Service
309Haemophilia Service
310Audio Vestibular Medicine Service
311Clinical Genetics Service
313Clinical Immunology and Allergy Service
314Rehabilitation Medicine Service
315Palliative Medicine Service
316Clinical Immunology Service
317Allergy Service
318Intermediate Care Service
319Respite Care Service
320Cardiology Service
322Clinical Microbiology Service
323Spinal Injuries Service
324Anticoagulant Service
325Sport and Exercise Medicine Service
326Acute Internal Medicine Service
327Cardiac Rehabilitation Service
328Stroke Medicine Service
329Transient Ischaemic Attack Service
330Dermatology Service
331Congenital Heart Disease Service
333Rare Disease Service
335Inherited Metabolic Medicine Service
340Respiratory Medicine Service
341Respiratory Physiology Service
342Pulmonary Rehabilitation Service
343Adult Cystic Fibrosis Service
344Complex Specialised Rehabilitation Service
345Specialist Rehabilitation Service
346Local Specialist Rehabilitation Service
347Sleep Medicine Service
348Post-COVID-19 Syndrome Service
350Infectious Diseases Service
352Tropical Medicine Service
360Genitourinary Medicine Service
361Renal Medicine Service
370Medical Oncology Service
371Nuclear Medicine Service
400Neurology Service
401Clinical Neurophysiology Service
410Rheumatology Service
420Paediatric Service
422Neonatal Critical Care Service
424Well Baby Service
430Elderly Medicine Service
431Orthogeriatric Medicine Service
450Dental Medicine Service
451Special Care Dentistry Service
460Medical Ophthalmology Service
461Ophthalmic and Vision Science Service
501Obstetrics Service
502Gynaecology Service
503Gynaecological Oncology Service
504Community Sexual and Reproductive Health Service
505Fetal Medicine Service
510Retired but retained for historical purposes
520Retired but retained for historical purposes
560Midwifery Service
610Retired but retained for historical purposes
620Retired but retained for historical purposes
656Clinical Psychology Service
700Learning Disability Service
710Adult Mental Health Service
711Child and Adolescent Psychiatry Service
712Forensic Psychiatry Service
713Medical Psychotherapy Service
715Old Age Psychiatry Service
720Eating Disorders Service
721Addiction Service
722Liaison Psychiatry Service
723Psychiatric Intensive Care Service
724Perinatal Mental Health Service
725Mental Health Recovery and Rehabilitation Service
726Mental Health Dual Diagnosis Service
727Dementia Assessment Service
730Neuropsychiatry Service
800Clinical Oncology Service
811Interventional Radiology Service
812Diagnostic Imaging Service
822Chemical Pathology Service
832Retired but retained for historical purposes
834Medical Virology Service
650Physiotherapy Service
651Occupational Therapy Service
652Speech and Language Therapy Service
653Podiatry Service
654Dietetics Service
655Orthoptics Service
657Prosthetics Service
658Orthotics Service
659Dramatherapy Service
660Art Therapy Service
661Music Therapy Service
662Optometry Service
663Podiatric Surgery Service
670Urological Physiology Service
673Vascular Physiology Service
675Cardiac Physiology Service
677Gastrointestinal Physiology Service
840Audiology Service
920Diabetic Education Service
990Retired but retained for historical purposes
 

top


CANCER OUTCOMES AND SERVICES DATA SET XML SCHEMA CONSTRAINTS

Change to XML Schema Constraint: Changed Description

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

Key to XML Schema Constraint Column Headings:

Key to XML Schema Constraint Column Headings:

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

XML Schema Constraints:

XML Schema Constraints:

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

top


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

Change to XML Schema Constraint: Changed Description

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

Key to XML Schema Constraint Column Headings:

Key to XML Schema Constraint Column Headings:

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

XML Schema Constraints:

XML Schema Constraints:

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

top


COMMISSIONING DATA SET VERSION 6-2 XML SCHEMA CONSTRAINTS

Change to XML Schema Constraint: Changed Description

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

Key to XML Schema Constraint Column Headings:

Key to XML Schema Constraint Column Headings:

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

XML Schema Constraints:

XML Schema Constraints:

Note:

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

top


COMMISSIONING DATA SET VERSION 6-3 XML SCHEMA CONSTRAINTS

Change to XML Schema Constraint: Changed Description

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

Key to XML Schema Constraint Column Headings:

Key to XML Schema Constraint Column Headings:

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

XML Schema Constraints:

XML Schema Constraints:

Data ElementXML Schema Format/LengthAllowed ValuesRangePattern MatchReason / Comment / XML Choice
ACTIVITY LOCATION TYPE CODENone
Removed
None
None
National Codes not enumerated in XML schema
ACTIVITY TREATMENT FUNCTION CODENone
Removed
None
None
National Codes not enumerated in XML schema
ASSESSMENT TOOL (SNOMED CT EXPRESSION)min an6 max an4000
None
None
None
SNOMED CT EXPRESSION data item constrained to recommended length 
CARE PROFESSIONAL MAIN SPECIALTY CODENone
Removed
None
None
National Codes not enumerated in XML schema
CDS BULK REPLACEMENT GROUP CODENone
010,020,030,040,060
None
None
Commissioning Data Set version 6-3 only allows these CDS BULK REPLACEMENT GROUP CODES
CDS INTERCHANGE TEST INDICATORNone
1,0
None
None
Commissioning Data Set version 6-3 allows a Null field to be submitted
CDS MESSAGE VERSION NUMBERNone
CDS063
None
None
Message version is hard coded in the XML schema
CDS TYPE CODENone
020,120,130,140,150,160,180,190,200
None
None
Commissioning Data Set version 6-3 only allows these CDS Types
COMORBIDITY (SNOMED CT EXPRESSION)min an6 max an4000
None
None
None
SNOMED CT EXPRESSION data item constrained to recommended length
CRITICAL CARE ACTIVITY CODENone
Removed
None
None
National Codes not enumerated in XML schema
DIAGNOSIS (SNOMED CT EXPRESSION)min an6 max an4000
None
None
None
SNOMED CT EXPRESSION data item constrained to recommended length
EMED3 FIT NOTE CONDITION (SNOMED CT EXPRESSION)min an6 max an4000
None
None
None
SNOMED CT EXPRESSION data item constrained to recommended length
ETHNIC CATEGORYmax an2
None
None
None
Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Second character can be for local use.
Format/Length amended to max an2
FINDING (SNOMED CT EXPRESSION)min an6 max an4000
None
None
None
SNOMED CT EXPRESSION data item constrained to recommended length
GENERAL MEDICAL PRACTITIONER (SPECIFIED)None
Removed
None
None
National Codes and default codes not enumerated in the XML Schema
GESTATION LENGTH (ASSESSMENT)
None
10,11,12,13,14,15,16,17,18,19,20,21,22,23,
24,25,26,27,28,29,30,31,32,33,34,35,36,37,
38,39,40,41,42,43,44,45,46,47,48,49,99
None
None
Gestation lengths between 10 and 49 weeks, and default code 99, are enumerated in the XML schema
GESTATION LENGTH (AT DELIVERY)
None
10,11,12,13,14,15,16,17,18,19,20,21,22,23,
24,25,26,27,28,29,30,31,32,33,34,35,36,37,
38,39,40,41,42,43,44,45,46,47,48,49,99
None
None
Gestation lengths between 10 and 49, and default code 99, are enumerated in the XML schema weeks
GESTATION LENGTH (LABOUR ONSET)
None
10,11,12,13,14,15,16,17,18,19,20,21,22,23,
24,25,26,27,28,29,30,31,32,33,34,35,36,37,
38,39,40,41,42,43,44,45,46,47,48,49,99
None
None
Gestation lengths between 10 and 49, and default code 99, are enumerated in the XML schema weeks
MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION CODE (ON ADMISSION)None
Removed
None
None
National Codes not enumerated in XML schema
OBSERVATION (SNOMED CT EXPRESSION)min an6 max an4000
None
None
None
SNOMED CT EXPRESSION data item constrained to recommended length
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.
an6 is not applicable.
ORGANISATION IDENTIFIER (LOCAL PATIENT IDENTIFIER)None
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION IDENTIFIER (LOCAL PATIENT IDENTIFIER (BABY))None
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION IDENTIFIER (LOCAL PATIENT IDENTIFIER (MOTHER))None
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION IDENTIFIER (PATIENT PATHWAY IDENTIFIER ISSUER)None
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION IDENTIFIER (REFERRING ORGANISATION)None
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 (OF TREATMENT)None
Removed
None
None
Default Codes not enumerated in the XML schema
OVERSEAS VISITOR CHARGING CATEGORY AT CDS ACTIVITY DATENone
A,B,C,D,E,F,P,9
None
None
National Code X is not valid in Commissioning Data Set version 6-3
REFERRER CODENone
Removed
None
None
Default Codes not enumerated in the XML schema
PROCEDURE (SNOMED CT EXPRESSION)min an6 max an4000
None
None
None
Default Codes not enumerated in the XML schema
SOCIAL AND PERSONAL CIRCUMSTANCE (SNOMED CT EXPRESSION)min an6 max an4000
None
None
None
SNOMED CT EXPRESSION data item constrained to recommended length

top


COMMUNITY SERVICES DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set Constraints applied to the Community Services Data Set.

Key to Data Set Constraint Column Headings:

Key to Data Set Constraint Column Headings:

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

Data Set Constraints:

Data Set Constraints:

Data ElementFormat/LengthRangePattern MatchReason / Comment
ETHNIC CATEGORYmax an2NoneNoneExisting Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Data Set allows max an2

top


CRITICAL CARE MINIMUM DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set Constraints applied to the Critical Care Minimum Data Set.

Key to Data Set Constraint Column Headings:

Key to Data Set Constraint Column Headings:

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

Data Set Constraints:

Data Set Constraints:

Data ElementFormat/LengthRangePattern MatchReason / Comment
CRITICAL CARE DISCHARGE DESTINATIONn2NoneNoneExisting Format/Length states max an3 -Data Set allows n2

top


DEVICES PATIENT LEVEL CONTRACT MONITORING DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set Constraints applied to the Devices Patient Level Contract Monitoring Data Set.

Key to Data Set Constraint Column Headings:

Key to Data Set Constraint Column Headings:

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

Data Set Constraints:

Data Set Constraints:

Data ElementFormat/LengthRangePattern MatchReason / Comment
ETHNIC CATEGORYmax an2NoneNoneExisting Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Data Set allows max an2

top


DIAGNOSTIC IMAGING DATA SET XML SCHEMA CONSTRAINTS

Change to XML Schema Constraint: Changed Description

XML Schema Constraints applied to the Diagnostic Imaging Data Set.

Key to XML Schema Constraint Column Headings:

Key to XML Schema Constraint Column Headings:

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

XML Schema Constraints:

XML Schema Constraints:

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

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

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

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

top


DRUGS PATIENT LEVEL CONTRACT MONITORING DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set Constraints applied to the Drugs Patient Level Contract Monitoring Data Set.

Key to Data Set Constraint Column Headings:

Key to Data Set Constraint Column Headings:

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

Data Set Constraints:

Data Set Constraints:

Data ElementFormat/LengthRangePattern MatchReason / Comment
ETHNIC CATEGORYmax an2NoneNoneExisting Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Data Set allows max an2

top


ELECTRONIC PRESCRIBING AND MEDICINES ADMINISTRATION DATA SET XML SCHEMA CONSTRAINTS

Change to XML Schema Constraint: Changed Description

XML Schema Constraints applied to the Electronic Prescribing and Medicines Administration Data Sets.

Key to XML Schema Constraint Column Headings:

Key to XML Schema Constraint Column Headings:

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

XML Schema Constraints:

XML Schema Constraints:

Data ElementXML Schema Format/LengthAllowed ValuesRangePattern MatchReason / Comment / XML Choice
PRESCRIBED MEDICATION DOSE REPEAT PERIOD UNIT OF MEASUREMENT (FHIR R4)None
s,min,h,d,wk,mo,a
None
None
Allowed value set defined in FHIR R4 vocabulary - not enumerated in NHS Data Model and Dictionary
PRESCRIBED MEDICATION DOSE DAY OF WEEK (FHIR R4)None
mon,tue,wed,thu,fri,sat,sun
None
None
Allowed value set defined in FHIR R4 vocabulary - not enumerated in NHS Data Model and Dictionary

top


EMERGENCY CARE DATA SET VERSION 4 XML SCHEMA CONSTRAINTS

Change to XML Schema Constraint: Changed Description

XML Schema Constraints applied to the Emergency Care Data Set.

Key to XML Schema Constraint Column Headings:

Key to XML Schema Constraint Column Headings:

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

XML Schema Constraints:

XML Schema Constraints:

Data ElementXML Schema Format/LengthAllowed ValuesRangePattern MatchReason / Comment / XML Choice
ACTIVITY TREATMENT FUNCTION CODE (DECISION TO ADMIT)None
Removed
None
None
National Codes not enumerated in the XML Schema
AGE AT CDS ACTIVITY DATENone
Removed
None
None
Default codes not enumerated in the XML Schema
CDS BULK REPLACEMENT GROUP CODENone
160
None
None
ECDS V4 only allows submission of data relating to CDS BULK REPLACEMENT GROUP CODE 'Urgent and Emergency Care Activity'
CDS INTERCHANGE TEST INDICATORNone
0,1
None
None
The ECDS V4 XML schema allows a null field to be submitted
CDS MESSAGE VERSION NUMBERan6
ECDS04
None
None
Message version is hard coded in the XML Schema
CDS TYPE CODENone
011
None
None
ECDS V4 only allows submission of data relating to CDS TYPE CODE 'Urgent and Emergency Care Activity'
COMMISSIONER REFERENCE IDENTIFIERNone
None
None
None
Default codes not enumerated in the XML Schema
EMED3 FIT NOTE DURATIONNone
None
None
None
Default codes not enumerated in the XML Schema
EMERGENCY CARE PLACE OF INJURY (LATITUDE)None
None
-90.000000-90.000000
None
Range applied to allow correct reporting of EMERGENCY CARE PLACE OF INJURY (LATITUDE)
EMERGENCY CARE PLACE OF INJURY (LONGITUDE)None
None
-180.000000-180.000000
None
Range applied to allow correct reporting of EMERGENCY CARE PLACE OF INJURY (LONGITUDE)
ETHNIC CATEGORYmax an2
None
None
None
Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Second character can be for local use.
Format/Length amended to max an2
GENERAL MEDICAL PRACTICE (PATIENT REGISTRATION)None
Removed
None
None
Default codes not enumerated in the XML Schema
GENERAL MEDICAL PRACTITIONER (SPECIFIED)None
Removed
None
None
Default codes not enumerated in the XML Schema
MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION CODENone
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 (CDS RECIPIENT)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 URGENT AND EMERGENCY CARE)None
Removed
None
None
Default codes not enumerated in the XML Schema
ORGANISATION SITE IDENTIFIER (URGENT AND 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
POSTCODE OF USUAL ADDRESSmin an2 max an8
None
None
None
Existing Format/Length states max an8 - XML Schema allows min an2 max an8
PROFESSIONAL REGISTRATION ENTRY IDENTIFIERmin an1 max an32
None
None
None
Existing Format/Length states max an32 - XML Schema allows min an1 max an32
PROFESSIONAL REGISTRATION ISSUER CODENone
None
None
None
National Codes not enumerated in the XML Schema
UNIT OF MEASUREMENT (UCUM)max an20
None
None
None
The format/length of the UNIT OF MEASUREMENT (UCUM) is unconstrained in the NHS Data Model and Dictionary.  ECDS V4 constrains the format/length to max an20

top


HIV AND AIDS REPORTING DATA SET XML SCHEMA CONSTRAINTS

Change to XML Schema Constraint: Changed Description

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

Key to XML Schema Constraint Column Headings:

Key to XML Schema Constraint Column Headings:

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

XML Schema Constraints:

XML Schema Constraints:

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

top


IMPROVING ACCESS TO PSYCHOLOGICAL THERAPIES DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set Constraints applied to the Improving Access to Psychological Therapies Data Set.

Key to Data Set Constraint Column Headings:

Key to Data Set Constraint Column Headings:

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

Data Set Constraints:

Data Set Constraints:

Data ElementFormat/LengthRangePattern MatchReason / Comment
CODED PROCEDURE AND PROCEDURE STATUS (SNOMED CT)min an6 max an56NoneNoneThe SNOMED CT EXPRESSION base data element is not defined with a maximum length.
This data item constraint has been set to min an6 max an56 as required by the Information Standard owner.
ETHNIC CATEGORYmax an2NoneNoneExisting Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Data Set allows max an2

top


MENTAL HEALTH SERVICES DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

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

Key to Data Set Constraint Column Headings:

Key to Data Set Constraint Column Headings:

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

Data Set Constraints:

Data Set Constraints:

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

top


NATIONAL CANCER WAITING TIMES MONITORING DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set Constraints applied to the National Cancer Waiting Times Monitoring Data Set.

Key to Data Set Constraint Column Headings:

Key to Data Set Constraint Column Headings:

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

Data Set Constraints:

Data Set Constraints:

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

top


NATIONAL NEONATAL DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set Constraints applied to the National Neonatal Data Set.

Key to Data Set Constraint Column Headings:

Key to Data Set Constraint Column Headings:

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

Data Set Constraints:

Data Set Constraints:

Data ElementFormat/LengthRangePattern MatchReason / Comment
BIRTH WEIGHTn4NoneNoneExisting Format/Length states max an4 - Data Set allows n4
GESTATION LENGTH (AT DELIVERY)n2NoneNoneExisting Format/Length states an2 - Data Set allows n2

top


PATIENT LEVEL CONTRACT MONITORING DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set Constraints applied to the Patient Level Contract Monitoring Data Set.

Key to Data Set Constraint Column Headings:

Key to Data Set Constraint Column Headings:

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

Data Set Constraints:

Data Set Constraints:

Data ElementFormat/LengthRangePattern MatchReason / Comment
ETHNIC CATEGORYmax an2NoneNoneExisting Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets.
Data Set allows max an2

top


RADIOTHERAPY DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set Constraints applied to the Radiotherapy Data Set.

Key to Data Set Constraint Column Headings:

Key to Data Set Constraint Column Headings:

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

Data Set Constraints:

Data Set Constraints:

Data ElementFormat/LengthRangePattern MatchReason / Comment
LOCAL PATIENT IDENTIFIER (EXTENDED)min an1 max an20NoneNoneExisting Format/Length is max an20. Unable to change this as it is used in other data sets.
Data Set allows min an1 max an20
ORGANISATION IDENTIFIER (CODE OF PROVIDER)min an3 max an5NoneNonean6 is not applicable for the Radiotherapy Data Set.
RADIOTHERAPY ACTUAL PROCEDURE (SNOMED CT EXPRESSION)max an100NoneNoneThe SNOMED CT EXPRESSION base data element is not defined with a maximum length.
This data item constraint has been set to max an100 as required by the Information Standard owner.
RADIOTHERAPY PLAN PROCEDURE (SNOMED CT EXPRESSION)max an100NoneNoneThe SNOMED CT EXPRESSION base data element is not defined with a maximum length.
This data item constraint has been set to max an100 as required by the Information Standard owner.

top


SYSTEMIC ANTI-CANCER THERAPY DATA SET CONSTRAINTS

Change to XML Schema Constraint: Changed Description

Data Set Constraints applied to the Systemic Anti-Cancer Therapy Data Set.

Key to Data Set Constraint Column Headings:

Key to Data Set Constraint Column Headings:

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

Data Set Constraints:

Data Set Constraints:

Data ElementFormat/LengthRangePattern MatchReason / Comment
LOCAL PATIENT IDENTIFIER (EXTENDED)min an1 max an20NoneNoneExisting Format/Length is max an20. Unable to change this as it is used in other data sets.
Data Set allows min an1 max an20
ORGANISATION IDENTIFIER (CODE OF PROVIDER)min an3 max an5NoneNonean6 is not applicable for the Systemic Anti-Cancer Therapy Data Set.
Format pattern applied to allow correct reporting of ORGANISATION IDENTIFIER (CODE OF PROVIDER).

top


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