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:
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.
Change to Supporting Information: Changed Description
- International Classification of Diseases (ICD)
- International Classification of Diseases for Oncology (ICD-O)
- National Interim Clinical Imaging Procedure Code Set (NICIP Code Set)
- NHS dictionary of medicines and devices (dm+d)
- OPCS Classification of Interventions and Procedures
- Read Coded Clinical Terms
- SNOMED CT®
- SNOMED CT Refset
Requests for Change:
Requests for Change:
- Change requests for CLINICAL TERMINOLOGY CODES and CLINICAL CLASSIFICATION CODES released by NHS England should be made through the Request Submission Portal on the NHS England website at: Welcome to the Request Submission Portal.
- Requests for medicines or devices terminologies should be made via the Service Desk at: information.standards@nhs.net.
Change to Supporting Information: Changed Description
XML Schema Download:XML Schema Download:
- XML Schema TRUD Download
XML Schema Constraints:- Cancer Outcomes and Services Data Set XML Schema Constraints
- Diagnostic Imaging Data Set XML Schema Constraints
- Electronic Prescribing and Medicines Administration Data Set XML Schema Constraints
- Emergency Care Data Set Version 4 XML Schema Constraints
- HIV and AIDS Reporting Data Set XML Schema Constraints
Data Set Constraints:- Community Services Data Set Constraints
- Improving Access to Psychological Therapies Data Set Constraints
- Mental Health Services Data Set Constraints
- National Neonatal Data Set Constraints
- Radiotherapy Data Set Constraints
- Systemic Anti-Cancer Therapy Data Set Constraints
XML Schema Constraints:
Data Set Constraints:
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:
- 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.
- Note that if two recipients are identical for example, the ORGANISATION CODE (RESIDENCE RESPONSIBILITY) may be the same as the ORGANISATION CODE (CODE OF COMMISSIONER), only one entry for that ORGANISATION should be made for that recipient.
- Specialised service ACTIVITY commissioned by a regional Specialised Commissioning Hub should include their ORGANISATION CODE as a CDS COPY RECIPIENT IDENTITY.
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
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.
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 H = Healthcare Resource Group Business Rules.
- Prefix I = CDS-XML Schema notes, anomalies and issues.
- Prefix N = NHS Data Standards and Policy Rules
- Prefix S = Secondary Uses Service Business Rules
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. |
I4 | From 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 |
I5 | From 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 |
N1 | Psychiatric 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. |
S5 | These 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 |
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.
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.
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:
STATUS | MEANING | DESCRIPTION |
M | MANDATORY | This 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. |
R | REQUIRED | This 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. |
O | OPTIONAL | This 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. |
X | Not yet authorised | This 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:
REPEATS | DESCRIPTION | |
0..1 | This 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..9 | This 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..1 | This 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..97 | This 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:
The following data structure is one of three options when completing the Patient Identity Data Group: |
1..1 | DATA GROUP: VERIFIED IDENTITY STRUCTURE Must be used where the NHS NUMBER STATUS INDICATOR CODE National Code = 01 (Number present and verified) | ||||
R | 0..1 | DATA GROUP: LOCAL IDENTIFIER STRUCTURE | Rules | ||
M | 1..1 | LOCAL PATIENT IDENTIFIER (EXTENDED) | F S3 | ||
M | 1..1 | ORGANISATION IDENTIFIER (LOCAL PATIENT IDENTIFIER) | F | ||
M | 1..1 | Data Element Components | Rules | ||
M | 1..1 | NHS NUMBER | F S3 | ||
M | 1..1 | NHS NUMBER STATUS INDICATOR CODE | V | ||
M | 1..1 | POSTCODE OF USUAL ADDRESS | F S3 | ||
R | 0..1 | ORGANISATION IDENTIFIER (RESIDENCE RESPONSIBILITY) | F | ||
R | 0..1 | PERSON BIRTH DATE | F 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. |
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:
|
Notation | DATA 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. |
M | 1..1 | Data Element Components | Rules | ||
M | 1..1 | DIAGNOSIS SCHEME IN USE | V | ||
M | 1..1 | DATA GROUP: PRIMARY DIAGNOSIS | Rules | ||
M | 1..1 | PRIMARY DIAGNOSIS (ICD) | F H4 | ||
R | 0..* | DATA GROUP: SECONDARY DIAGNOSIS | Rules | ||
M | 1..1 | SECONDARY 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. |
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:
|
Notation | DATA GROUP: PATIENT PATHWAY | ||
Group Status O | Group Repeats 0..1 | FUNCTION: To carry the details of the Patient Pathway. |
M | 1..1 | DATA GROUP: PATIENT PATHWAY IDENTITY | Rules | |||
M Or M | 1..1 1..1 | UNIQUE BOOKING REFERENCE NUMBER (CONVERTED) Or PATIENT PATHWAY IDENTIFIER | F F I2 | |||
M | 1..1 | ORGANISATION IDENTIFIER (PATIENT PATHWAY IDENTIFIER ISSUER) | F I2 | |||
M | 1..1 | DATA GROUP: REFERRAL TO TREATMENT PERIOD CHARACTERISTICS | Rules | |||
M | 1..1 | REFERRAL TO TREATMENT PERIOD STATUS | V | |||
M | 1..1 | WAITING TIME MEASUREMENT TYPE (COMMISSIONING DATA SET) | V | |||
O | 0..1 | REFERRAL TO TREATMENT PERIOD START DATE | F S13 | |||
O | 0..1 | REFERRAL TO TREATMENT PERIOD END DATE | F 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). |
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:
- Commissioning Data Set Business Rules
- Referral To Treatment Clock Stop Administrative Event
- Security Issues and Patient Confidentiality
CDS XML Schema:CDS XML Schema:
- Commissioning Data Set XML Schema Overview
- Commissioning Data Set XML Schema Design
- Commissioning Data Set XML Schema Version Numbering
- Commissioning Data Set XML Schema Documentation
- XML Schema TRUD Download
XML Schema Constraints:XML Schema Constraints:
- Commissioning Data Set Version 6-2 XML Schema Constraints
- Commissioning Data Set Version 6-2-3 XML Schema Constraints
- Commissioning Data Set Version 6-3 XML Schema Constraints
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:
- monitoring and managing NHS SERVICE CONTRACTS
- developing commissioning plans
- supporting the National Tariff Payment System
- underpinning clinical governance
- understanding the health needs of the population
- reporting waiting time measurement
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 Activity, Care 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).
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:
- CDS SENDER IDENTITY/ORGANISATION IDENTIFIER (CDS SENDER)
- CDS UNIQUE IDENTIFIER
- CDS APPLICABLE DATE
- CDS APPLICABLE TIME
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 Trust, NHS 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:
- CDS SENDER IDENTITY/ORGANISATION IDENTIFIER (CDS SENDER)
- CDS BULK REPLACEMENT GROUP CODE
- CDS EXTRACT DATE
- CDS EXTRACT TIME
- CDS REPORT PERIOD START DATE
- CDS REPORT PERIOD END DATE
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.
Change to Supporting Information: Changed Description
The Commissioning Data Set versions since 2001.
Current versions:
Current versions:
- April 2021: CDS Version 6-2-3
- April 2022: CDS Version 6-3 Type List
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.
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:
W3C schema standards- W3C schema standards
- e-Government Interoperability Framework (e-GIF)
- e-GOV Best Practice guidelines for XML Schema
- The NHS Data Model and Dictionary
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
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
- SchemaVersion
- SchemaDate
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.
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.
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:
- W3C schema standards
- e-Government Interoperability Framework (e-GIF)
- e-GOV Best Practice guidelines for XML Schema
- The NHS Data Model and Dictionary
Note:
e-GIF and the Government Data Standards Catalogue have been archived and are available for reference only.
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
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
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 Name | As allocated during the XML Schema development | CDS-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 Date | ccyy-mm-dd | 2007-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
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:
- New National Codes for MAIN SPECIALTY CODE and TREATMENT FUNCTION CODE were introduced from 2 April 2020 as part of the update to the DCB0028: Treatment Function and Main Specialty Standard. Submission of these codes for the Commissioning Data Sets is only possible where the healthcare provider has updated their CDS-XML schema version to CDS-XML version 6-2-0. Users of the original CDS-XML schema version 6-2 will be unable to submit the new codes introduced in the release of DCB0028: Treatment Function and Main Specialty Standard in April 2020 or the addendum to DCB0028 released in January 2021 to add a new TREATMENT FUNCTION CODE to represent Post-COVID-19 Syndrome Services.
Table 1 Main Specialty codes
Table 1 Main Specialty codes
Code | Main Specialty Title | Comments | |
---|---|---|---|
Surgical Specialties | |||
100 | General Surgery | For further information, see: Royal College of Surgeons - General Surgery | |
101 | Urology | For further information, see: Royal College of Surgeons - Urology | |
107 | Vascular Surgery | For further information, see: Royal College of Surgeons - Vascular Surgery | |
110 | Trauma and Orthopaedics | For further information, see: Royal College of Surgeons - Orthopaedic Surgery | |
120 | Ear Nose and Throat | Formerly known as ENT. For further information, see: Royal College of Surgeons - Ear, Nose and Throat (ENT) | |
130 | Ophthalmology | For further information, see: The Royal College of Ophthalmologists | |
140 | Oral Surgery | For further information, see: Royal College of Surgeons - Oral and Maxillofacial Surgery | |
141 | Restorative Dentistry | For further information, see: The British Society for Restorative Dentistry (BSRD) | |
142 | Paediatric Dentistry | For further information, see: The British Society of Paediatric Dentistry | |
143 | Orthodontics | For further information, see: British Orthodontic Society | |
145 | Oral and Maxillofacial Surgery | For further information, see: Royal College of Surgeons - Oral and Maxillofacial Surgery | |
146 | Endodontics | For further information, see: British Endodontic Society | |
147 | Periodontics | For further information, see: British Society of Periodontology | |
148 | Prosthodontics | For further information, see: The British Society of Prosthodontics (BSSPD) | |
149 | Surgical Dentistry | For further information, see: Royal College of Surgeons - Faculty of Dental Surgery (FDS) | |
150 | Neurosurgery | For further information, see: Royal College of Surgeons - Neurosurgery | |
160 | Plastic Surgery | For further information, see: Royal College of Surgeons - Plastic and Reconstructive | |
170 | Cardiothoracic Surgery | For further information, see: Royal College of Surgeons - Cardiothoracic Surgery | |
171 | Paediatric Surgery | For further information, see: Royal College of Surgeons - Paediatric Surgery | |
191 | Pain Management (Retired 1 April 2004) | ||
Medical Specialties | |||
180 | Emergency Medicine | Formerly known as Accident and Emergency. For further information, see: The Royal College of Emergency Medicine | |
190 | Anaesthetics | For further information, see: Royal College of Anaesthetists | |
192 | Intensive Care Medicine | Formerly known as Critical Care Medicine. For further information, see: The Faculty of Intensive Care Medicine | |
200 | Aviation and Space Medicine | For further information, see: Joint Royal Colleges of Physicians Training Board - Aviation and Space Medicine | |
300 | General Internal Medicine | Formerly known as General Medicine. For further information, see: Joint Royal Colleges of Physicians Training Board - General Internal Medicine (GIM) | |
301 | Gastroenterology | For further information, see: Joint Royal Colleges of Physicians Training Board - Gastroenterology | |
302 | Endocrinology and Diabetes | Formerly known as Endocrinology. For further information, see: Joint Royal Colleges of Physicians Training Board - Endocrinology and Diabetes Mellitus | |
303 | Clinical Haematology | For further information, see: Joint Royal Colleges of Physicians Training Board - Haematology | |
304 | Clinical Physiology | For further information, see: The Registration Council for Clinical Physiologists | |
305 | Clinical Pharmacology | For further information, see: Joint Royal Colleges of Physicians Training Board - Clinical Pharmacology and Therapeutics (CPT) | |
310 | Audio Vestibular Medicine | Formerly known as Audiological Medicine. For further information, see: Joint Royal Colleges of Physicians Training Board - Audio vestibular Medicine | |
311 | Clinical Genetics | For further information, see: Joint Royal Colleges of Physicians Training Board - Clinical Genetics | |
* | 312 | Clinical Cytogenetics and Molecular Genetics (Retired 1 April 2010) | |
313 | Clinical Immunology | Formerly known as Clinical Immunology and Allergy. For further information, see: Joint Royal Colleges of Physicians Training Board - Immunology | |
314 | Rehabilitation Medicine | Formerly known as Rehabilitation. For further information, see: Joint Royal Colleges of Physicians Training Board - Rehabilitation Medicine | |
315 | Palliative Medicine | For further information, see: Joint Royal Colleges of Physicians Training Board - Palliative Medicine | |
317 | Allergy | For further information, see: Joint Royal Colleges of Physicians Training Board - Allergy | |
320 | Cardiology | For further information, see: Joint Royal Colleges of Physicians Training Board - Cardiology | |
321 | Paediatric Cardiology | For further information, see: Joint Royal Colleges of Physicians Training Board - Paediatric Cardiology | |
325 | Sport and Exercise Medicine | For further information, see: Faculty of Sport and Exercise Medicine | |
326 | Acute Internal Medicine | For further information, see: Joint Royal Colleges of Physicians Training Board - Acute Internal Medicine | |
330 | Dermatology | For further information, see: Joint Royal Colleges of Physicians Training Board - Dermatology | |
340 | Respiratory Medicine | Also known as Thoracic Medicine. For further information, see: Joint Royal Colleges of Physicians Training Board - Respiratory Medicine | |
350 | Infectious Diseases | For further information, see: Joint Royal Colleges of Physicians Training Board - Infectious Diseases and Tropical Medicine | |
352 | Tropical Medicine | For further information, see: Joint Royal Colleges of Physicians Training Board - Infectious Diseases and tropical Medicine | |
360 | Genitourinary Medicine | For further information, see: Joint Royal Colleges of Physicians Training Board - Genitourinary Medicine | |
361 | Renal Medicine | Formerly known as Nephrology. For further information, see: Joint Royal Colleges of Physicians Training Board - Renal Medicine | |
370 | Medical Oncology | For further information, see: Joint Royal Colleges of Physicians Training Board - Medical Oncology | |
371 | Nuclear Medicine | For further information, see: Joint Royal Colleges of Physicians Training Board - Nuclear Medicine | |
400 | Neurology | For further information, see: Joint Royal Colleges of Physicians Training Board - Neurology | |
401 | Clinical Neurophysiology | For further information, see: Joint Royal Colleges of Physicians Training Board - Clinical Neurophysiology | |
410 | Rheumatology | For further information, see: British Society for Rheumatology | |
420 | Paediatrics | For further information, see: Royal College of Paediatrics and Child Health - General Paediatrics | |
421 | Paediatric Neurology | For further information, see: Royal College of Paediatrics and Child Health - Neurology | |
430 | Geriatric Medicine | For further information, see: Joint Royal Colleges of Physicians Training Board - Geriatric Medicine | |
450 | Dental Medicine | Formerly known as Dental Medicine Specialties. For further information, see: Royal College of Surgeons - Faculty of Dental Surgery (FDS) | |
451 | Special Care Dentistry | For further information, see: Special Care Dentistry Association (SCDA) | |
460 | Medical Ophthalmology | For further information, see: Joint Royal Colleges of Physicians Training Board - Medical Ophthalmology | |
† | 500 | Obstetrics and Gynaecology | For further information, see: Royal College of Obstetricians and Gynaecologists |
501 | Obstetrics | For further information, see: Royal College of Obstetricians and Gynaecologists | |
502 | Gynaecology | For further information, see: Royal College of Obstetricians and Gynaecologists | |
504 | Community Sexual and Reproductive Health | For further information, see: Faculty of Sexual & Reproductive Healthcare of the Royal College of Obstetricians & Gynaecologists | |
510 | Antenatal Clinic (Retired 1 April 2004) | ||
520 | Postnatal Clinic (Retired 1 April 2004) | ||
600 | General Medical Practice | For further information, see: Royal College of General Practitioners | |
601 | General Dental Practice | For further information, see: Royal College of Surgeons - Faculty of Dental Surgery (FDS) | |
610 | Maternity Function (Retired 1 April 2004) | ||
620 | Other Than Maternity (Retired 1 April 2004) | ||
831 | Medical Microbiology and Virology | For further information, see: The Royal College of Pathologists - Medical Microbiology and The Royal College of Pathologists - Virology | |
833 | Medical Microbiology | Also known as Microbiology and Bacteriology. For further information, see: The Royal College of Pathologists - Medical Microbiology | |
834 | Medical Virology | For further information, See: The Royal College of Pathologists - Medical Virology | |
Psychiatry | |||
700 | Learning Disability | Also 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 | |
710 | Adult Mental Illness | For further information, see: NHS England - Adult and older adult mental health | |
711 | Child and Adolescent Psychiatry | For further information, see: Royal College of Psychiatrists - Faculty of Child and Adolescent Psychiatry | |
712 | Forensic Psychiatry | For further information, see: Royal College of Psychiatrists - Faculty of Forensic Psychiatry | |
713 | Medical Psychotherapy | For further information, see: Royal College of Psychiatrists - Faculty of Medical Psychotherapy | |
715 | Old Age Psychiatry | For further information, see: Royal College of Psychiatrists - Faculty of Old Age Psychiatry | |
Other | |||
560 | Midwifery | Formerly known as Midwife Episode. For further information, see: Royal College of Midwives | |
800 | Clinical Oncology | Formerly known as Radiotherapy. For further information, see: The Royal College of Radiologists - Clinical Oncology | |
810 | Radiology | For further information, see: The Royal College of Radiologists (RCR) | |
820 | General Pathology | For further information, see: The Royal College of Pathologists | |
821 | Blood Transfusion | For further information, see: The Royal College of Pathologists - Blood Transfusion | |
822 | Chemical Pathology | For further information, see: The Royal College of Pathologists | |
823 | Haematology | For further information, see: The Royal College of Pathologists - Haematology | |
824 | Histopathology | For further information, see: The Royal College of Pathologists - Histopathology | |
830 | Immunopathology | For further information, see: The Royal College of Pathologists - Immunology | |
832 | Neuropathology (Retired 1 April 2004) | ||
900 | Community Medicine | For further information, see: Faculty of Public Health | |
901 | Occupational Medicine | For further information, see: Royal College of Physicians - Faculty of Occupational Medicine | |
902 | Community Health Services Dental | For further information, see: Faculty of Public Health | |
903 | Public Health Medicine | For further information, see: Faculty of Public Health | |
904 | Public Health Dental | For further information, see: GOV.uk - Oral Health | |
950 | Nursing | Formerly known as Nursing Episode. For further information, see: Nursing & Midwifery Council | |
960 | Allied Health Professional | Formerly known as Allied Health Professional Episode. For further information, see: Health and Care Professions Council | |
990 | Joint Consultant Clinics (Retired 1 April 2004) |
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
Code | Treatment Function Title | Comments |
---|---|---|
Surgical Specialties | ||
100 | General Surgery Service | SERVICES 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 |
101 | Urology Service | Surgical 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 |
102 | Transplant Surgery Service | SERVICES 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 |
103 | Breast Surgery Service | SERVICES 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 |
104 | Colorectal Surgery Service | SERVICES for the surgical treatment of disorders of the lower intestine (colon, anus and rectum) |
105 | Hepatobiliary and Pancreatic Surgery Service | Specialist 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 |
106 | Upper Gastrointestinal Surgery Service | SERVICES for surgical treatment of disorders of the upper parts of the gastrointestinal tract. For further information, see: Royal College of Surgeons - General Surgery |
107 | Vascular Surgery Service | SERVICES for the surgical treatment of diseases of the vascular system. For further information, see: Royal College of Surgeons - Vascular Surgery |
108 | Spinal Surgery Service | Surgery 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 |
109 | Bariatric Surgery Service | SERVICES 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 |
110 | Trauma and Orthopaedic Service | SERVICES 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 |
111 | Orthopaedic Service | SERVICES 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 |
113 | Endocrine Surgery Service | SERVICES for the surgical treatment of diseases of the thyroid and/or other endocrine glands. For further information, see: Royal College of Surgeons - General Surgery |
115 | Trauma Surgery Service | Major 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 |
120 | Ear Nose and Throat Service | Formerly 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) |
130 | Ophthalmology Service | The 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 |
140 | Oral Surgery Service | SERVICES 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 |
141 | Restorative Dentistry Service | SERVICES 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 |
143 | Orthodontic Service | SERVICES 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 |
144 | Maxillofacial Surgery Service | Professional 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. |
145 | Oral and Maxillofacial Surgery Service | Combined 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 |
149 | not a Treatment Function | |
150 | Neurosurgical Service | Surgical 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 |
160 | Plastic Surgery Service | SERVICES 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 |
161 | Burns Care Service | 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 |
170 | Cardiothoracic Surgery Service | SERVICES 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 |
172 | Cardiac Surgery Service | SERVICES 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 |
173 | Thoracic Surgery Service | SERVICES 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 |
174 | Cardiothoracic Transplantation Service | SERVICES 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. | ||
142 | Paediatric Dentistry Service | Dedicated children's SERVICES for dentistry with appropriate facilities and support staff. For further information, see: The British Society of Paediatric Dentistry |
171 | Paediatric Surgery Service | Dedicated children's SERVICES for general surgery. For further information, see: Royal College of Surgeons - Paediatric Surgery |
211 | Paediatric Urology Service | Dedicated 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 |
212 | Paediatric Transplantation Surgery Service | Dedicated 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 |
213 | Paediatric Gastrointestinal Surgery Service | Dedicated children's SERVICES for surgical treatment of disorders of the gastrointestinal tract. For further information, see: British Association of Paediatric Surgeons - Gastrointestinal |
214 | Paediatric Trauma and Orthopaedic Service | Dedicated 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) |
215 | Paediatric Ear Nose and Throat Service | Dedicated 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 |
216 | Paediatric Ophthalmology Service | Dedicated 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 |
217 | Paediatric Oral and Maxillofacial Surgery Service | Dedicated 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 |
218 | Paediatric Neurosurgery Service | Dedicated 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 |
219 | Paediatric Plastic Surgery Service | Dedicated 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 |
220 | Paediatric Burns Care Service | Dedicated 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 |
221 | Paediatric Cardiac Surgery Service | Dedicated children's SERVICES for the surgical treatment of the heart or great vessels. For further information, see: NHS England: E05. Congenital Heart Services |
222 | Paediatric Thoracic Surgery Service | Dedicated 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 |
223 | Paediatric Epilepsy Service | Dedicated 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 |
230 | Paediatric Clinical Pharmacology Service | Dedicated 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 |
240 | Paediatric Palliative Medicine Service | Dedicated 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 |
241 | Paediatric Pain Management Service | Dedicated 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 |
242 | Paediatric Intensive Care Service | Dedicated 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 |
250 | Paediatric Hepatology Service | Dedicated children's SERVICES for the treatment of disease of the liver. For further information, see: Royal College of Paediatrics and Child Health - Hepatology |
251 | Paediatric Gastroenterology Service | Dedicated children's SERVICES for the treatment of disorders of the digestive system. For further information, see: Royal College of Paediatrics and Child Health - Gastroenterology |
252 | Paediatric Endocrinology Service | Dedicated 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 |
253 | Paediatric Clinical Haematology Service | Dedicated 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 |
254 | Paediatric Audio Vestibular Medicine Service | Dedicated 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 |
255 | Paediatric Clinical Immunology and Allergy Service | Dedicated 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 |
256 | Paediatric Infectious Diseases Service | Dedicated 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 |
257 | Paediatric Dermatology Service | Dedicated children's SERVICES for the treatment of diseases of the skin. For further information, see: The British Society for Paediatric Dermatology (BSPD) |
258 | Paediatric Respiratory Medicine Service | Dedicated 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 |
259 | Paediatric Nephrology Service | Dedicated 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 |
260 | Paediatric Medical Oncology Service | Dedicated 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 |
261 | Paediatric Inherited Metabolic Medicine Service | Formerly 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 |
262 | Paediatric Rheumatology Service | Dedicated 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 |
263 | Paediatric Diabetes Service | Formerly 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 |
264 | Paediatric Cystic Fibrosis Service | Dedicated 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 |
270 | Paediatric Emergency Medicine Service | Dedicated 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 |
280 | Paediatric Interventional Radiology Service | Dedicated 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 |
290 | Community Paediatric Service | SERVICES 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 |
291 | Paediatric Neurodisability Service | Dedicated 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 |
321 | Paediatric Cardiology Service | Dedicated 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 |
421 | Paediatric Neurology Service | Dedicated 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 | ||
180 | Emergency Medicine Service | Formerly 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 |
190 | Anaesthetic Service | SERVICES 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 |
191 | Pain Management Service | SERVICES for complex pain disorders requiring diagnosis and treatment by a specialist Multidisciplinary Team |
192 | Intensive Care Medicine Service | Formerly 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 |
200 | Aviation and Space Medicine Service | Also 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 |
300 | General Internal Medicine Service | Formerly 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) |
301 | Gastroenterology Service | Screening, diagnostic and therapeutic endoscopy SERVICES including upper and lower gastrointestinal (GI) endoscopy and hepatobiliary endoscopy. Excludes Hepatology Service - see TREATMENT FUNCTION CODE 306. |
302 | Endocrinology Service | The 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 |
303 | Clinical Haematology Service | 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: Joint Royal Colleges of Physicians Training Board - Haematology |
304 | Clinical Physiology Service | Physiological 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 |
305 | Clinical Pharmacology Service | SERVICES 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) |
306 | Hepatology Service | Medical 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 |
307 | Diabetes Service | Formerly 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 |
308 | Blood and Marrow Transplantation Service | SERVICES 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 |
309 | Haemophilia Service | Specialist SERVICES for the diagnosis, treatment and management of haemophilia. For further information, see: NHS England: Blood and infection |
310 | Audio Vestibular Medicine Service | Formerly 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 |
311 | Clinical Genetics Service | SERVICES for the diagnosis and management of genetic disorders affecting individuals and their families. For further information, see: Clinical Genetics |
312 | not a Treatment Function | |
313 | Clinical Immunology and Allergy Service | SERVICES 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) |
314 | Rehabilitation Medicine Service | Formerly 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 |
315 | Palliative Medicine Service | SERVICES 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 |
316 | Clinical Immunology Service | SERVICES 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 |
317 | Allergy Service | SERVICES 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 |
318 | Intermediate Care Service | SERVICES 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 |
319 | Respite Care Service | SERVICES providing temporary care of a dependant PERSON, providing relief for their usual caregivers |
320 | Cardiology Service | SERVICES 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 |
322 | Clinical Microbiology Service | SERVICES for the diagnosis, management and treatment of PATIENTS with diseases caused by bacteria, viruses, fungi and parasites. |
323 | Spinal Injuries Service | SERVICES 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 |
324 | Anticoagulant Service | SERVICES 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 |
325 | Sport and Exercise Medicine Service | Specific 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 |
326 | Acute Internal Medicine Service | SERVICES concerned with the assessment, diagnosis and management of adults presenting to secondary care with acute medical illness. For further information, see: Acute Internal Medicine |
327 | Cardiac Rehabilitation Service | SERVICES 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 |
328 | Stroke Medicine Service | SERVICES 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) |
329 | Transient Ischaemic Attack Service | A 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 |
330 | Dermatology Service | SERVICES for the treatment of diseases of the skin. For further information, see: Joint Royal Colleges of Physicians Training Board - Dermatology |
331 | Congenital Heart Disease Service | The 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 |
333 | Rare Disease Service | SERVICES 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 |
335 | Inherited Metabolic Medicine Service | 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: Joint Royal Colleges of Physicians Training Board - Metabolic Medicine |
340 | Respiratory Medicine Service | Respiratory 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 |
341 | Respiratory Physiology Service | SERVICES 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 |
342 | Pulmonary Rehabilitation Service | Formerly known as Programmed Pulmonary Rehabilitation. A multidisciplinary SERVICE for PATIENTS with chronic respiratory impairment. For further information, see: NHS England: Pulmonary rehabilitation |
343 | Adult Cystic Fibrosis Service | Multidisciplinary 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 |
344 | Complex Specialised Rehabilitation Service | This 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 |
345 | Specialist Rehabilitation Service | This 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. |
346 | Local Specialist Rehabilitation Service | This 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. |
347 | Sleep Medicine Service | SERVICES 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 |
348 | Post-COVID-19 Syndrome Service | Multidisciplinary 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 |
350 | Infectious Diseases Service | SERVICES 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 |
352 | Tropical Medicine Service | SERVICES 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 |
360 | Genitourinary Medicine Service | SERVICES 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) |
361 | Renal Medicine Service | Formerly 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 |
370 | Medical Oncology Service | SERVICES 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 |
371 | Nuclear Medicine Service | SERVICES 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 |
400 | Neurology Service | SERVICES 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 |
401 | Clinical Neurophysiology Service | Primarily 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 |
410 | Rheumatology Service | SERVICES 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 |
420 | Paediatric Service | Dedicated 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 |
422 | Neonatal Critical Care Service | Formerly 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 |
424 | Well Baby Service | SERVICES 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 |
430 | Elderly Medicine Service | Formerly 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 |
431 | Orthogeriatric Medicine Service | Multidisciplinary 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 |
450 | Dental Medicine Service | SERVICES for dental treatment carried out in a hospital setting. Includes Oral Medicine. For further information, see: British Dental Association |
451 | Special Care Dentistry Service | SERVICES 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) |
460 | Medical Ophthalmology Service | Medically-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 |
461 | Ophthalmic and Vision Science Service | SERVICES 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 |
500 | not a Treatment Function | |
501 | Obstetrics Service | SERVICES 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 |
502 | Gynaecology Service | SERVICES 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 |
503 | Gynaecological Oncology Service | SERVICES to treat cancers of the female reproductive system, principally involving surgical members of the Multidisciplinary Team. For further information, see: British Gynaecological Cancer Society |
504 | Community Sexual and Reproductive Health Service | SERVICES 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) |
505 | Fetal Medicine Service | SERVICES 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. |
510 | Retired | Record as Obstetrics, antenatal clinic can be used as a local sub-specialty if required |
520 | Retired | Record as Obstetrics, postnatal clinic can be used as a local sub-specialty if required |
600 | not a Treatment Function | |
610 | Retired | Record as Obstetrics |
620 | Retired | Use the appropriate function under which the patient is treated |
834 | Medical Virology Service | Clinical 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 | ||
656 | Clinical Psychology Service | Mental 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 |
700 | Learning Disability Service | Also 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 |
710 | Adult Mental Health Service | Mental 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 |
711 | Child and Adolescent Psychiatry Service | Mental 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 |
712 | Forensic Psychiatry Service | Mental 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 |
713 | Medical Psychotherapy Service | Formerly 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 |
715 | Old Age Psychiatry Service | Mental 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 |
720 | Eating Disorders Service | A 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 |
721 | Addiction Service | Mental 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 |
722 | Liaison Psychiatry Service | Mental Health Services for the provision of psychiatric treatment to PATIENTS attending acute hospitals including Out-Patient Clinics, Emergency 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 |
723 | Psychiatric Intensive Care Service | Mental 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 |
724 | Perinatal Mental Health Service | Formerly 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 |
725 | Mental Health Recovery and Rehabilitation Service | Mental 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 |
726 | Mental Health Dual Diagnosis Service | Mental 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 |
727 | Dementia Assessment Service | Designated 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 |
730 | Neuropsychiatry Service | Mental 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 | ||
560 | Midwifery Service | SERVICES 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 |
650 | Physiotherapy Service | SERVICES 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 |
651 | Occupational Therapy Service | SERVICES using specific activities to limit the effects of DISABILITY and promote independence in all aspects of daily life |
652 | Speech and Language Therapy Service | SERVICES 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 |
653 | Podiatry Service | Also 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 |
654 | Dietetics Service | SERVICES 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 |
655 | Orthoptics Service | SERVICES providing the diagnosis and treatment of visual problems involving eye movement and alignment. For further information, see: British and Irish Orthoptic Society |
657 | Prosthetics Service | SERVICES 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 |
658 | Orthotics Service | SERVICES 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 |
659 | Dramatherapy Service | SERVICES 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 |
660 | Art Therapy Service | SERVICES 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 |
661 | Music Therapy Service | SERVICES 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 |
662 | Optometry Service | SERVICES providing the diagnosis and non-surgical treatment of disorders of the eye and vision care |
663 | Podiatric Surgery Service | SERVICES 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 |
670 | Urological Physiology Service | Diagnostic SERVICES for the study of erectile, upper and lower urinary tract function, including urodynamics. For further information, see: The British Association of Urological Surgeons |
673 | Vascular Physiology Service | Diagnostic 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 |
675 | Cardiac Physiology Service | SERVICES 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) |
677 | Gastrointestinal Physiology Service | SERVICES 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 |
800 | Clinical Oncology Service | Formerly known as Radiotherapy. The diagnosis and treatment, typically with Radiotherapy, of PATIENTS with cancer. For further information, see: Royal College of Radiologists - Clinical oncology |
810 | not a Treatment Function | |
811 | Interventional Radiology Service | SERVICES 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 |
812 | Diagnostic Imaging Service | SERVICES 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 |
820 | not a Treatment Function | |
821 | not a Treatment Function | |
822 | Chemical Pathology Service | SERVICES 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 |
823 | not a Treatment Function | See Clinical Haematology |
824 | not a Treatment Function | |
830 | not a Treatment Function | See Clinical Immunology |
831 | not a Treatment Function | See Clinical Microbiology |
832 | Retired | |
840 | Audiology Service | SERVICES 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 |
900 | not a Treatment Function | |
901 | not a Treatment Function | |
902 | not a Treatment Function | |
903 | not a Treatment Function | |
904 | not a Treatment Function | |
920 | Diabetic Education Service | SERVICES providing dedicated small group education courses regarding self-management for diabetic PATIENTS |
950 | not a Treatment Function | Use the appropriate function under which the patient is treated |
960 | not a Treatment Function | Use the appropriate function under which the patient is treated |
990 | Retired |
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 |
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
- Scenario 1a:
The Health Care Provider where the PATIENT is first seen following a REFERRAL REQUEST with PRIORITY TYPE 'Two Week Wait', or where an urgent referral is from an NHS Cancer Screening Programme, and where the PATIENT has not had a Decision To Treat, has not had the diagnosis outcome communicated, and the PATIENT has not been excluded from the Cancer Faster Diagnosis Pathway. No inter-provider transfers are in progress. - Scenario 1b:
The Health Care Provider where the PATIENT is first seen following a REFERRAL REQUEST with PRIORITY TYPE 'Two Week Wait', or where an urgent referral is from an NHS Cancer Screening Programme, and where the PATIENT has not had a Decision To Treat, has had the diagnosis outcome communicated, and the PATIENT has not been excluded from the Cancer Faster Diagnosis Pathway. No inter-provider transfers are in progress. - Scenario 1c:
The Health Care Provider where the PATIENT is first seen following a direct access diagnostic test result that suggested an urgent suspected cancer referral with PRIORITY TYPE 'Two Week Wait' was required, and where a locally agreed escalation process to secondary care has been followed (as defined in National Cancer Waiting Times Monitoring Data Set - A Guide), where the PATIENT has not had the Decision To Treat, and has not had the diagnosis outcome communicated, and the PATIENT has not been excluded from the Cancer Faster Diagnosis Pathway. No inter provider transfers are in progress. - Scenario 1d:
The Health Care Provider where the PATIENT is first seen following a REFERRAL REQUEST with PRIORITY TYPE 'Two Week Wait', or where an urgent referral is from an NHS Cancer Screening Programme, and where the PATIENT has had the Decision To Treat, has had the diagnosis outcome communicated, and the PATIENT has not been excluded from the Cancer Faster Diagnosis Pathway. No inter-provider transfers are in progress. - Scenario 1e:
The Health Care Provider where the PATIENT is first seen following a REFERRAL REQUEST with PRIORITY TYPE 'Two Week Wait', or where an urgent referral is from an NHS Cancer Screening Programme, and where the PATIENT has not had a Decision To Treat, has not had the diagnosis outcome communicated, and the PATIENT has not been excluded from the Cancer Faster Diagnosis Pathway. The Health Care Provider sends the PATIENT to another Health Care Provider, that is, makes an inter-provider transfer. - Scenario 1f:
The Health Care Provider receiving an inter-provider transfer of a PATIENT, where the PATIENT is first seen at a different Health Care Provider, and where the PATIENT has not had a Decision To Treat, has not had the diagnosis outcome communicated, and the PATIENT has not been excluded from the Cancer Faster Diagnosis Pathway. The Health Care Provider then subsequently sends the PATIENT to another Health Care Provider, that is, makes a further inter-provider transfer. - Scenario 1g:
The Health Care Provider where the PATIENT is first seen following a REFERRAL REQUEST with PRIORITY TYPE 'Two Week Wait', or where an urgent referral is from an NHS Cancer Screening Programme, and where the PATIENT has not had a Decision To Treat, has not had the diagnosis outcome communicated, and the PATIENT has been excluded from the Cancer Faster Diagnosis Pathway. No inter-provider transfers are in progress. - Scenario 2a:
The Health Care Provider where the PATIENT receives First Definitive Treatment for cancer following a REFERRAL REQUEST with PRIORITY TYPE 'Two Week Wait', or where an urgent referral is from an NHS Cancer Screening Programme, and where the PATIENT has had the Decision To Treat, has had the diagnosis outcome communicated, and the PATIENT has not been excluded from the Cancer Faster Diagnosis Pathway. No inter-provider transfers are in progress. - Scenario 2b:
The Health Care Provider where the PATIENT receives First Definitive Treatment for cancer following an inter-provider transfer, and where the PATIENT has had the Decision To Treat, and has had the diagnosis outcome communicated, and the PATIENT has not been excluded from the Cancer Faster Diagnosis Pathway. - Scenario 3:
The Health Care Provider where the PATIENT receives second or subsequent treatment for cancer following a REFERRAL REQUEST with PRIORITY TYPE 'Two Week Wait', or where an urgent referral is from an NHS Cancer Screening Programme. No inter-provider transfers are in progress. - Scenario 4:
The Health Care Provider where the PATIENT receives First Definitive Treatment for cancer following a consultant upgrade onto a 62 day PATIENT PATHWAY. No inter-provider transfers are in progress. - Scenario 5:
The Health Care Provider where the PATIENT receives second or subsequent treatment for cancer following a consultant upgrade onto a 62 day PATIENT PATHWAY. No inter-provider transfers are in progress. - Scenario 6:
The Health Care Provider where the PATIENT receives First Definitive Treatment for cancer following a REFERRAL REQUEST from another SOURCE OF REFERRAL FOR OUT-PATIENTS or a different PRIORITY TYPE. No inter-provider transfers are in progress. - Scenario 7:
The Health Care Provider where the PATIENT receives second or subsequent treatment for cancer following a REFERRAL REQUEST from another SOURCE OF REFERRAL FOR OUT-PATIENTS or a different PRIORITY TYPE. No inter-provider transfers are in progress.
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:
- # First transfer involving the Health Care Provider
- ## Second transfer involving the Health Care Provider. There can be up to ten inter-provider transfers involving many ORGANISATIONS, but an individual ORGANISATION can only be involved in two transfers of a PATIENT.
Full details of the validation rules and processes are available on the NHS England website at: Cancer Waiting Times.
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 2006 | OPCS-4.2 |
01-Apr-2006 to 31-Mar-2007 | OPCS-4.3 |
01-Apr-2007 to 31-Mar-2009 | OPCS-4.4 |
01-Apr-2009 to 31-Mar-2011 | OPCS-4.5 |
01-Apr-2011 to 31-Mar-2014 | OPCS-4.6 |
01-Apr-2014 to 31-Mar-2017 | OPCS-4.7 |
01-Apr-2017 to 31-Mar-2020 | OPCS-4.8 |
01-Apr-2020 to 31-Mar-2023 | OPCS-4.9 |
01-Apr-2023 until further notification | OPCS-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.
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:
- DISCHARGE DESTINATION etc, for the closing Hospital Provider Spell and
- SOURCE OF ADMISSION etc, for the new Hospital Provider Spell.
- A Hospital Provider Spell is provided by one ORGANISATION acting as a Health Care Provider. This means that the Hospital Provider Spell is linked to the ORGANISATION CODE / ORGANISATION IDENTIFIER of the Health Care Provider.
- If the ORGANISATION CODE / ORGANISATION IDENTIFIER changes, the spell must end and another begin with the new ORGANISATION CODE / ORGANISATION IDENTIFIER.
- If the Hospital Provider Spell does end, the Care Professional Admitted Care Episode within the Hospital Provider Spell must also end.
The following scenarios explain what this means in terms of ORGANISATION mergers or demergers. Note that these assume that nothing changes other than the fact that the ORGANISATIONS merge or demerge, e.g. the CONSULTANT stays the same, etc.
Mergers
- Trust A merges with Trust B to produce Trust C, which has a new ORGANISATION CODE / ORGANISATION IDENTIFIER.
- The ORGANISATION CODE / ORGANISATION IDENTIFIER will change for both Trust A and B.
- Therefore Hospital Provider Spells in both Trust A and B should close, and new Hospital Provider Spells should be opened using the new ORGANISATION CODE / ORGANISATION IDENTIFIER for Trust C.
- Trust A merges with Trust B to produce an ORGANISATION which uses Trust A's ORGANISATION CODE / ORGANISATION IDENTIFIER.
- For those Hospital Provider Spells in Trust A, the ORGANISATION CODE will not change. Therefore Trust A's Hospital Provider Spells should not be closed just as a result of the merger. However, for Trust B the ORGANISATION CODE / ORGANISATION IDENTIFIER will change.
- Therefore Hospital Provider Spells in Trust B should close, and new Hospital Provider Spells should be opened using the new ORGANISATION CODE / ORGANISATION IDENTIFIER for Trust A.
Demergers
- Trust A splits into Trust B and Trust C, both of which have a new ORGANISATION CODE / ORGANISATION IDENTIFIER.
- The ORGANISATION CODE / ORGANISATION IDENTIFIER will change for both Trust B and C.
- Therefore all Hospital Provider Spells in Trust A should close, and new Hospital Provider Spells should be opened in Trust B and C using the new ORGANISATION CODES / ORGANISATION IDENTIFIERS for each.
- Trust A splits into Trust B and C. Trust B retains Trust A's ORGANISATION CODE / ORGANISATION IDENTIFIER and Trust C is issued with a new one.
- The ORGANISATION CODE / ORGANISATION IDENTIFIER for Hospital Provider Spells in Trust A which are taken over by Trust B will not change.
- Therefore they should not be closed just as a result of the merger.
- However, Trust A's Hospital Provider Spells which are taken over by Trust C should close, and new Hospital Provider Spells should be opened using the new ORGANISATION CODE / ORGANISATION IDENTIFIER for Trust C.
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.
- The CLOSED Hospital Provider Spell
This depends on the type of WARD the PATIENT is in, but will be either:
53 NHS other Hospital Provider - WARD for PATIENTS who are mentally ill or have Learning Disabilities
1 PATIENT discharged on clinical advice or with clinical consent
- The REOPENED Hospital Provider Spell
81 Transfer of any admitted PATIENT from other Hospital Provider other than in an emergencyNote 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 SOURCEAgain, this depends on the type of WARD the PATIENT is in, but will be either:
51 NHS other Hospital Provider - WARD for general PATIENTS or the younger physically disabled or Emergency Care Department- 52 NHS other Hospital Provider - WARD for maternity PATIENTS or Neonates
- 53 NHS other Hospital Provider - WARD for PATIENTS who are mentally ill or have Learning Disabilities
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
- The Secondary Uses Service have published information regarding issues that may affect the approach to submitting data to the Secondary Uses Service.
- The guidance is available on the NHS England website at: Secondary Uses Service (SUS) Guidance: Sending data.
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 presentFrom 1 April 1999, PATIENT NAME and PATIENT USUAL ADDRESS (not POSTCODE OF USUAL ADDRESS) must be removed from all Commissioning Data Sets where a valid NHS NUMBER is present. This applies to all nationally defined Commissioning Data Set data and any additional locally agreed flows from service providers to commissioning bodies.
A valid NHS NUMBER is one that has passed the check digit calculation on entry into the source system. If an NHS NUMBER is not valid (i.e. does not conform with the check digit algorithm) then PATIENT NAMES and PATIENT USUAL ADDRESSES should not be removed, as the reliability of the NHS NUMBER will not be known.
TheNHS NUMBER STATUS INDICATOR CODEis a mandatory part of the Commissioning Data Set.PATIENT NAMEandPATIENT USUAL ADDRESSshould be removed when a validNHS NUMBERis present, even if theNHS NUMBER STATUS INDICATOR CODEdoes not have a status of 01,Number present and verified.B. Sensitive dataThe NHS NUMBER STATUS INDICATOR CODE is a mandatory part of the Commissioning Data Set. PATIENT NAME and PATIENT USUAL ADDRESS should be removed when a valid NHS NUMBER is present, even if the NHS NUMBER STATUS INDICATOR CODE does not have a status of 01, Number present and verified.
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.
A. Removal of name and address where the NHS Number is present
B. Sensitive data
Change to Supporting Information: Changed Description
XML Schema Download:XML Schema Download:
- XML Schema TRUD Download
Data Set Constraints:- Critical Care Minimum Data Set Constraints
- Devices Patient Level Contract Monitoring Data Set Constraints
- Drugs Patient Level Contract Monitoring Data Set Constraints
- Patient Level Contract Monitoring Data Set Constraints
Data Set Constraints:
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: |
NHS Data Model and Dictionary Information: | Contacts / Links: |
Archived Publications |
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:
- Community Services Data Set Constraints
- Critical Care Minimum Data Set Constraints
- Devices Patient Level Contract Monitoring Data Set Constraints
- Drugs Patient Level Contract Monitoring Data Set Constraints
- Improving Access to Psychological Therapies Data Set Constraints
- Mental Health Services Data Set Constraints
- National Neonatal Data Set Constraints
- Patient Level Contract Monitoring Data Set Constraints
- Radiotherapy Data Set Constraints
- Systemic Anti-Cancer Therapy Data Set Constraints
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:
- Create a TRUD account at: TRUD: Account Creation (if an account does not currently exist. This only has to be done once to access any XML Schema)
- Log into TRUD at: TRUD: Log in
- Access NHS Data Model and Dictionary XML Schemas and subscribe to the XML Schema to be downloaded
- Accept the licence and request the subscription (an email will be sent immediately to confirm that the request has been accepted and the files can be downloaded, which avoids any delays)
- Once the "Subscription accepted" email has been received, download the zip file from NHS Data Model and Dictionary XML Schemas.
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.
- Commissioning Data Set (CDS) V6-2 and V6-2-0
- Commissioning Data Set (CDS) V6-2-3
- Commissioning Data Set (CDS) V6-3
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.
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:
- Assigning a TREATMENT FUNCTION CODE for a SERVICE is a decision which must be made locally. For national reporting purposes, only the TREATMENT FUNCTION CODES listed in the table below must be used.
- Recording of activity according to TREATMENT FUNCTION CODES is not on the basis of the procedure carried out, but should be allocated according to whether a specialised SERVICE exists within the Health Care Provider for that TREATMENT FUNCTION CODE, such as a CLINIC OR FACILITY.
- TREATMENT FUNCTION CODES have not been mapped to procedures or MAIN SPECIALTY.
- TREATMENT FUNCTION CODE should be assigned irrespective of the type of CARE PROFESSIONAL responsible. This is also applicable where the name of the TREATMENT FUNCTION CODE suggests it is limited for use by a particular Healthcare Profession.
- A change in TREATMENT FUNCTION CODE, but no change in responsible CARE PROFESSIONAL, does not initiate a new episode of care. For the Commissioning Data Sets, the ACTIVITY TREATMENT FUNCTION CODE reported should be that which is recorded at the CDS ACTIVITY DATE.
Note:
- New National Codes for TREATMENT FUNCTION CODE were introduced from 2 April 2020 as part of the update to the DCB0028: Treatment Function and Main Specialty Standard. Submission of these codes for the Commissioning Data Sets is only possible where the healthcare provider has updated their CDS-XML schema version to CDS-XML version 6-2-0. Users of the original CDS-XML schema version 6-2 will be unable to submit the new codes introduced in the release of DCB0028: Treatment Function and Main Specialty Standard in April 2020 or the addendum to DCB0028 released in January 2021 to add a new TREATMENT FUNCTION CODE to represent Post-COVID-19 Syndrome Services.
Further information on the groupings and scope of each TREATMENT FUNCTION CODE is provided at: Main Specialty and Treatment Function Codes Table.
National Codes:
100 | General Surgery Service |
101 | Urology Service |
102 | Transplant Surgery Service |
103 | Breast Surgery Service |
104 | Colorectal Surgery Service |
105 | Hepatobiliary and Pancreatic Surgery Service |
106 | Upper Gastrointestinal Surgery Service |
107 | Vascular Surgery Service |
108 | Spinal Surgery Service |
109 | Bariatric Surgery Service |
110 | Trauma and Orthopaedic Service |
111 | Orthopaedic Service |
113 | Endocrine Surgery Service |
115 | Trauma Surgery Service |
120 | Ear Nose and Throat Service |
130 | Ophthalmology Service |
140 | Oral Surgery Service |
141 | Restorative Dentistry Service |
143 | Orthodontic Service |
144 | Maxillofacial Surgery Service |
145 | Oral and Maxillofacial Surgery Service |
150 | Neurosurgical Service |
160 | Plastic Surgery Service |
161 | Burns Care Service |
170 | Cardiothoracic Surgery Service |
172 | Cardiac Surgery Service |
173 | Thoracic Surgery Service |
174 | Cardiothoracic Transplantation Service |
191 | Pain Management Service |
142 | Paediatric Dentistry Service |
171 | Paediatric Surgery Service |
211 | Paediatric Urology Service |
212 | Paediatric Transplantation Surgery Service |
213 | Paediatric Gastrointestinal Surgery Service |
214 | Paediatric Trauma and Orthopaedic Service |
215 | Paediatric Ear Nose and Throat Service |
216 | Paediatric Ophthalmology Service |
217 | Paediatric Oral and Maxillofacial Surgery Service |
218 | Paediatric Neurosurgery Service |
219 | Paediatric Plastic Surgery Service |
220 | Paediatric Burns Care Service |
221 | Paediatric Cardiac Surgery Service |
222 | Paediatric Thoracic Surgery Service |
223 | Paediatric Epilepsy Service |
230 | Paediatric Clinical Pharmacology Service |
240 | Paediatric Palliative Medicine Service |
241 | Paediatric Pain Management Service |
242 | Paediatric Intensive Care Service |
250 | Paediatric Hepatology Service |
251 | Paediatric Gastroenterology Service |
252 | Paediatric Endocrinology Service |
253 | Paediatric Clinical Haematology Service |
254 | Paediatric Audio Vestibular Medicine Service |
255 | Paediatric Clinical Immunology and Allergy Service |
256 | Paediatric Infectious Diseases Service |
257 | Paediatric Dermatology Service |
258 | Paediatric Respiratory Medicine Service |
259 | Paediatric Nephrology Service |
260 | Paediatric Medical Oncology Service |
261 | Paediatric Inherited Metabolic Medicine Service |
262 | Paediatric Rheumatology Service |
263 | Paediatric Diabetes Service |
264 | Paediatric Cystic Fibrosis Service |
270 | Paediatric Emergency Medicine Service |
280 | Paediatric Interventional Radiology Service |
290 | Community Paediatric Service |
291 | Paediatric Neurodisability Service |
321 | Paediatric Cardiology Service |
421 | Paediatric Neurology Service |
180 | Emergency Medicine Service |
190 | Anaesthetic Service |
192 | Intensive Care Medicine Service |
200 | Aviation and Space Medicine Service |
300 | General Internal Medicine Service |
301 | Gastroenterology Service |
302 | Endocrinology Service |
303 | Clinical Haematology Service |
304 | Clinical Physiology Service |
305 | Clinical Pharmacology Service |
306 | Hepatology Service |
307 | Diabetes Service |
308 | Blood and Marrow Transplantation Service |
309 | Haemophilia Service |
310 | Audio Vestibular Medicine Service |
311 | Clinical Genetics Service |
313 | Clinical Immunology and Allergy Service |
314 | Rehabilitation Medicine Service |
315 | Palliative Medicine Service |
316 | Clinical Immunology Service |
317 | Allergy Service |
318 | Intermediate Care Service |
319 | Respite Care Service |
320 | Cardiology Service |
322 | Clinical Microbiology Service |
323 | Spinal Injuries Service |
324 | Anticoagulant Service |
325 | Sport and Exercise Medicine Service |
326 | Acute Internal Medicine Service |
327 | Cardiac Rehabilitation Service |
328 | Stroke Medicine Service |
329 | Transient Ischaemic Attack Service |
330 | Dermatology Service |
331 | Congenital Heart Disease Service |
333 | Rare Disease Service |
335 | Inherited Metabolic Medicine Service |
340 | Respiratory Medicine Service |
341 | Respiratory Physiology Service |
342 | Pulmonary Rehabilitation Service |
343 | Adult Cystic Fibrosis Service |
344 | Complex Specialised Rehabilitation Service |
345 | Specialist Rehabilitation Service |
346 | Local Specialist Rehabilitation Service |
347 | Sleep Medicine Service |
348 | Post-COVID-19 Syndrome Service |
350 | Infectious Diseases Service |
352 | Tropical Medicine Service |
360 | Genitourinary Medicine Service |
361 | Renal Medicine Service |
370 | Medical Oncology Service |
371 | Nuclear Medicine Service |
400 | Neurology Service |
401 | Clinical Neurophysiology Service |
410 | Rheumatology Service |
420 | Paediatric Service |
422 | Neonatal Critical Care Service |
424 | Well Baby Service |
430 | Elderly Medicine Service |
431 | Orthogeriatric Medicine Service |
450 | Dental Medicine Service |
451 | Special Care Dentistry Service |
460 | Medical Ophthalmology Service |
461 | Ophthalmic and Vision Science Service |
501 | Obstetrics Service |
502 | Gynaecology Service |
503 | Gynaecological Oncology Service |
504 | Community Sexual and Reproductive Health Service |
505 | Fetal Medicine Service |
510 | Retired but retained for historical purposes |
520 | Retired but retained for historical purposes |
560 | Midwifery Service |
610 | Retired but retained for historical purposes |
620 | Retired but retained for historical purposes |
656 | Clinical Psychology Service |
700 | Learning Disability Service |
710 | Adult Mental Health Service |
711 | Child and Adolescent Psychiatry Service |
712 | Forensic Psychiatry Service |
713 | Medical Psychotherapy Service |
715 | Old Age Psychiatry Service |
720 | Eating Disorders Service |
721 | Addiction Service |
722 | Liaison Psychiatry Service |
723 | Psychiatric Intensive Care Service |
724 | Perinatal Mental Health Service |
725 | Mental Health Recovery and Rehabilitation Service |
726 | Mental Health Dual Diagnosis Service |
727 | Dementia Assessment Service |
730 | Neuropsychiatry Service |
800 | Clinical Oncology Service |
811 | Interventional Radiology Service |
812 | Diagnostic Imaging Service |
822 | Chemical Pathology Service |
832 | Retired but retained for historical purposes |
834 | Medical Virology Service |
650 | Physiotherapy Service |
651 | Occupational Therapy Service |
652 | Speech and Language Therapy Service |
653 | Podiatry Service |
654 | Dietetics Service |
655 | Orthoptics Service |
657 | Prosthetics Service |
658 | Orthotics Service |
659 | Dramatherapy Service |
660 | Art Therapy Service |
661 | Music Therapy Service |
662 | Optometry Service |
663 | Podiatric Surgery Service |
670 | Urological Physiology Service |
673 | Vascular Physiology Service |
675 | Cardiac Physiology Service |
677 | Gastrointestinal Physiology Service |
840 | Audiology Service |
920 | Diabetic Education Service |
990 | Retired but retained for historical purposes |
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 Name | Column Meaning | Column Options | ||
XML Schema Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representation | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary | |
Allowed Values | Indicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML Schema | None = The NHS Data Model and Dictionary National and Default Codes are present in the XML Schema | Removed = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML Schema | Any other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the XML Schema | None = There is no range value constraint applied in the XML Schema | Any other entry = Shows the range value constraint applied in the XML Schema | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the XML Schema | None = There is no data pattern, to which the data must conform, applied in the XML Schema | Any other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema |
XML Schema Constraints:
XML Schema Constraints:
Data Element | XML Schema Format/Length | Allowed Values | Range | Pattern Match | Reason / Comment / XML Choice |
ABBREVIATED MENTAL TEST SCORE | None | None | 0-10 | None | Range 0-10 |
ALLRED SCORE (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 PERCENTAGE | None | None | 0-100 | None | Range 0-100 |
BODY MASS INDEX | None | None | None | \d{2}(\.\d){1} | Format pattern applied to allow correct reporting of BODY MASS INDEX |
BRESLOW THICKNESS | None | None | None | \d{1,2}\.\d{1,2} | Format pattern applied to allow correct reporting of BRESLOW THICKNESS |
CANCER SYMPTOMS FIRST NOTED DATE | None | None | None | ((19|20)\d\d-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])|(19|20)\d\d-(0[1-9]|1[012])|(19|20)\d\d) | Format pattern applied to allow correct reporting of CANCER SYMPTOMS FIRST NOTED DATE |
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 PERCENTAGE | None | None | 0-100 | None | Range 0-100 |
CHRONIC MYELOID LEUKAEMIA INDEX SCORE (SOKAL) | None | None | None | \d{1}(\.\d){1} | Format pattern applied to allow correct reporting of CHRONIC MYELOID LEUKAEMIA INDEX SCORE (SOKAL) |
COSDS SUBMISSION IDENTIFIER | None | None | None | [0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12} | Format pattern applied to allow correct reporting of COSDS SUBMISSION RECORD COUNT |
COSDS UNIQUE IDENTIFIER | None | None | None | [0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12} | Format pattern applied to allow correct reporting of COSDS UNIQUE IDENTIFIER |
DIAGNOSIS (SNOMED CT) | None | None | None | [0-9]{6,18} | Format pattern applied to allow correct reporting of DIAGNOSIS (SNOMED CT) |
DIFFUSION CAPACITY TEST RESULT | None | None | 0-200 | None | Range 0-200 |
DISTANCE BEYOND MUSCULARIS PROPRIA | None | None | None | \d{1,3}\.\d{1,2} | Format pattern applied to allow correct reporting of DISTANCE BEYOND MUSCULARIS PROPRIA |
DISTANCE FROM DENTATE LINE | None | None | None | \d{1,3}\.\d{1,2} | Format pattern applied to allow correct reporting of DISTANCE FROM DENTATE LINE |
DISTANCE TO CLOSEST NON PERITONEALISED CIRCUMFERENTIAL RESECTION MARGIN | None | 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 MARGIN | None | None | None | \d{1,2}\.\d{1} | Format pattern applied to allow correct reporting of DISTANCE TO MARGIN |
ETHNIC CATEGORY | max an2 | None | None | None | Existing Format/Length an2 means fixed length which is incorrect. Unable to change this as it is used in other data sets. Second character can be for local use. XML Schema allows max an2 |
FOLLICULAR LYMPHOMA INTERNATIONAL PROGNOSTIC INDEX 2 SCORE | None | None | 0-5 | None | Range 0-5 |
FORCED EXPIRATORY VOLUME IN 1 SECOND (ABSOLUTE AMOUNT) | None | None | 0.10-9.99 | (0.1[0-9]{1}|0.[2-9]{1}[0-9]{1}|[1-9].\d\d){1} | Range 0.10 to 9.99. Format pattern applied to allow correct reporting of FORCED EXPIRATORY VOLUME IN 1 SECOND (ABSOLUTE AMOUNT) |
FORCED EXPIRATORY VOLUME IN 1 SECOND (PERCENTAGE) | None | None | 1-200 | None | Range 1 to 200 |
GENERAL MEDICAL PRACTICE (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 SCORE | None | None | 0-7 | None | Range 0-7 |
IMAGING CODE (SNOMED CT) | None | None | None | [0-9]{6,18} | Format pattern applied to allow correct reporting of IMAGING CODE (SNOMED CT) |
INTERNATIONAL PROGNOSTIC INDEX SCORE | None | None | 0-5 | None | Range 0-5 |
INVASIVE THICKNESS | None | None | None | \d{1,2}\.\d{1,2} | Format pattern applied to allow correct reporting of INVASIVE THICKNESS |
KI-67 PERCENTAGE RESULT | None | None | 0-100 | None | Range 0-100 |
LESION SIZE (PATHOLOGICAL) | None | None | None | \d{1,3}\.\d{1,2} | Format pattern applied to allow correct reporting of LESION SIZE (PATHOLOGICAL) |
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 SCORE | None | None | 0-5 | None | Range 0-5 |
MOLECULAR DIAGNOSTIC CODE | None | None | None | (0[6-9]|[1-8][0-9]|9[012389]) | Format pattern applied to allow correct reporting of MOLECULAR DIAGNOSTIC CODE |
MORPHOLOGY (SNOMED CANCER TRANSFORMATION) | None | None | None | [A-Z0-9]{6,18} | Format pattern applied to allow correct reporting of MORPHOLOGY (SNOMED CANCER TRANSFORMATION) |
MORPHOLOGY (SNOMED DIAGNOSIS) | None | None | None | [A-Z0-9]{6,18} | Format pattern applied to allow correct reporting of MORPHOLOGY (SNOMED DIAGNOSIS) |
MORPHOLOGY (SNOMED PATHOLOGY) | None | None | None | [A-Z0-9]{6,18} | Format pattern applied to allow correct reporting of MORPHOLOGY (SNOMED PATHOLOGY) |
MULTIDISCIPLINARY TEAM MEETING TYPE (CANCER) | None | Removed | None | None | National Codes not enumerated in the XML Schema |
NHS NUMBER | None | None | None | [0-9]{10} | Format pattern applied to allow correct reporting of NHS NUMBER |
NON INVASIVE TUMOUR SIZE | None | None | None | \d{1,3}\.\d{1,2} | Format pattern applied to allow correct reporting of NON INVASIVE TUMOUR SIZE |
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 METRES | None | None | None | \d{1}(\.\d{1,2}){1} | Format pattern applied to allow correct reporting of PERSON HEIGHT IN METRES |
PERSON WEIGHT | None | None | None | \d{1,3}\.\d{1,3} | Format pattern applied to allow correct reporting of PERSON WEIGHT |
PRIMARY PROCEDURE (SNOMED CT) | None | None | None | [0-9]{6,18} | Format pattern applied to allow correct reporting of PRIMARY PROCEDURE (SNOMED CT) |
PROCEDURE (SNOMED CT) | None | None | None | [0-9]{6,18} | Format pattern applied to allow correct reporting of PROCEDURE (SNOMED CT) |
PROSTATE SPECIFIC ANTIGEN (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 SCORE | None | None | 0-5 | None | Range 0-5 |
TOPOGRAPHY (SNOMED PATHOLOGY) | None | None | None | [A-Z0-9]{6,18} | Format pattern applied to allow correct reporting of TOPOGRAPHY (SNOMED PATHOLOGY) |
TUMOUR NECROSIS PERCENTAGE | None | None | 0-100 | None | Range 0-100 |
TURP TUMOUR PERCENTAGE | None | None | 0-100 | None | Range 0-100 |
UNINVOLVED CERVICAL STROMA THICKNESS | None | None | None | \d{1,2}\.\d{1,2} | Format pattern applied to allow correct reporting of UNINVOLVED CERVICAL STROMA THICKNESS |
WHITE BLOOD CELL COUNT (HIGHEST PRETREATMENT) | None | None | None | \d{1,3}(\.\d{1}){1} | Format pattern applied to allow correct reporting of WHITE BLOOD CELL COUNT (HIGHEST PRETREATMENT) |
WHOLE TUMOUR SIZE | None | None | None | \d{1,3}\.\d{1,2} | Format pattern applied to allow correct reporting of WHOLE TUMOUR SIZE |
Change to XML Schema Constraint: Changed Description
XML Schema Constraints applied to the Commissioning Data Sets V6-2-3.
Key to XML Schema Constraint Column Headings:
Key to XML Schema Constraint Column Headings:
Column Name | Column Meaning | Column Options | ||
XML Schema Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representation | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary | |
Allowed Values | Indicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML Schema | None = The NHS Data Model and Dictionary National and Default Codes are present in the XML Schema | Removed = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML Schema | Any other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the XML Schema | None = There is no range value constraint applied in the XML Schema | Any other entry = Shows the range value constraint applied in the XML Schema | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the XML Schema | None = There is no data pattern, to which the data must conform, applied in the XML Schema | Any other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema |
XML Schema Constraints:
XML Schema Constraints:
Data Element | XML Schema Format/Length | Allowed Values | Range | Pattern Match | Reason / Comment / XML Choice |
ACTIVITY TREATMENT FUNCTION CODE (DECISION TO ADMIT) | None | Removed | None | None | National Codes not enumerated in the XML Schema |
AGE AT CDS ACTIVITY DATE | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
CDS INTERCHANGE TEST INDICATOR | None | 0,1 | None | None | Commissioning Data Set version 6-2-3 allows a Null field to be submitted |
CDS MESSAGE VERSION NUMBER | an6 | CDS062 | None | None | Message version is hard coded in the XML Schema |
EMERGENCY CARE DEPARTMENT TYPE | an2 | Removed | None | None | National Codes not enumerated in the XML Schema |
EMERGENCY CARE PLACE OF INJURY (LATITUDE) | None | None | -90.000000-90.000000 | None | Range applied to allow correct reporting of EMERGENCY CARE PLACE OF INJURY (LATITUDE) |
EMERGENCY CARE PLACE OF INJURY (LONGITUDE) | None | None | -180.000000-180.000000 | None | Range applied to allow correct reporting of EMERGENCY CARE PLACE OF INJURY (LONGITUDE) |
ETHNIC CATEGORY | max an2 | None | None | None | Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets. Second character can be for local use. Format/Length amended to max an2 |
GENERAL MEDICAL PRACTICE CODE (PATIENT REGISTRATION) | None | Removed | None | None | Default codes not enumerated in the XML Schema |
GENERAL MEDICAL PRACTITIONER (SPECIFIED) | None | Removed | None | None | National Codes and default codes not enumerated in the XML Schema |
ORGANISATION IDENTIFIER (CODE OF COMMISSIONER) | None | Removed | None | None | Default codes not enumerated in the XML Schema |
ORGANISATION IDENTIFIER (CODE OF PROVIDER) | min an3 max an5 | Removed | None | None | Default codes not enumerated in the XML Schema |
ORGANISATION IDENTIFIER (RESIDENCE RESPONSIBILITY) | None | Removed | None | None | Default codes not enumerated in the XML Schema |
ORGANISATION SITE IDENTIFIER (DISCHARGE FROM EMERGENCY CARE) | None | Removed | None | None | Default codes not enumerated in the XML Schema |
ORGANISATION SITE IDENTIFIER (EMERGENCY CARE ATTENDANCE SOURCE) | None | Removed | None | None | Default codes not enumerated in the XML Schema |
ORGANISATION SITE IDENTIFIER (OF TREATMENT) | None | Removed | None | None | Default codes not enumerated in the XML Schema |
OVERSEAS VISITOR CHARGING CATEGORY AT CDS ACTIVITY DATE | None | A,B,C,D,E,F,P,9 | None | None | National Code X is not valid in CDS V6-2-3 Type 011 - Emergency Care CDS |
POSTCODE OF USUAL ADDRESS | min an2 max an8 | None | None | None | Existing Format/Length states max an8 - XML Schema allows min an2 max an8 |
PROFESSIONAL REGISTRATION ENTRY IDENTIFIER | min an1 max an32 | None | None | None | Existing Format/Length states max an32 - XML Schema allows min an1 max an32 |
WAITING TIME MEASUREMENT TYPE | None | 01,02,09 | None | None | National Codes 03, 04, 05, 06, 07 and 08 not valid in Commissioning Data Sets |
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 Name | Column Meaning | Column Options | ||
XML Schema Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representation | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary | |
Allowed Values | Indicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML Schema | None = The NHS Data Model and Dictionary National and Default Codes are present in the XML Schema | Removed = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML Schema | Any other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the XML Schema | None = There is no range value constraint applied in the XML Schema | Any other entry = Shows the range value constraint applied in the XML Schema | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the XML Schema | None = There is no data pattern, to which the data must conform, applied in the XML Schema | Any other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema |
XML Schema Constraints:
XML Schema Constraints:
Note:
- The active CARE PROFESSIONAL MAIN SPECIALTY CODE and ACTIVITY TREATMENT FUNCTION CODE allowed values differ between CDS-XML Schema version 6-2 and CDS-XML Schema version 6-2-0, see DDCN 1815 Commissioning Data Set Schema Version 6-2-0.
Data Element | XML Schema Format/Length | Allowed Values | Range | Pattern Match | Reason / Comment / XML Choice |
ACTIVITY LOCATION TYPE CODE | None | A01,A02,A03,A04,B01,B02,C01,C02,C03,D01,D02,D03, E01,E02,E03,E04,E99,F01,G01,G02,G03,H01,J01,K01,K02, L01,L02,L03,L04,L05,L06,L99,M01,M02,M03,M04,M05, N01,N02,N03,N04,N05,X01 | None | None | National Code G04 removed (not allowed in XML Schema) |
ADVANCED CARDIOVASCULAR SUPPORT DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
ADVANCED RESPIRATORY SUPPORT DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
AGE AT CDS ACTIVITY DATE | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
AGE AT CENSUS | max n3 | None | None | None | Existing Format/Length states n3 - XML Schema allows max n3 |
AGE ON ADMISSION | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
ATTENDANCE IDENTIFIER | max an12 | None | None | None | Existing Format/Length states an12 - XML Schema allows max an12 |
BASIC CARDIOVASCULAR SUPPORT DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
BASIC RESPIRATORY SUPPORT DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
BIRTH WEIGHT | max n4 | None | None | None | Existing Format/Length states max an4 - XML Schema allows max n4 |
CARE PROFESSIONAL MAIN SPECIALTY CODE | None | 100,101,110,120,130,140,141,142,143,145,146,147,148,149, 150,160,170,171,180,190,192,300,301,302,303,304,305,310, 311,312,313,314,315,320,321,325,326,330,340,350,352,360, 361,370,371,400,401,410,420,421,430,450,451,460,501,502, 504,560,600,601,700,710,711,712,713,715,800,810,820,821, 822,823,824,830,831,833,834,900,901,902,903,904,950,960, 199,499 | None | None | National Code 500 removed (not allowed in XML Schema) |
CDS COPY RECIPIENT IDENTITY | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
CDS INTERCHANGE APPLICATION REFERENCE | max an14 | None | None | None | Existing Format/Length states min an1 max an14 - XML Schema allows max an14 |
CDS INTERCHANGE RECEIVER IDENTITY | max an15 | None | None | None | Existing Format/Length states min an1 max an15 - XML Schema allows max an15 |
CDS INTERCHANGE SENDER IDENTITY | max an15 | None | None | None | Existing Format/Length states min an1 max an15 - XML Schema allows max an15 |
CDS MESSAGE REFERENCE | max n7 | None | None | None | Existing Format/Length states max an7 - XML Schema allows max n14 but SUS accepts max n7 |
CDS MESSAGE VERSION NUMBER | None | CDS062 | None | None | Message version is hard coded in the XML Schema |
CDS PRIME RECIPIENT IDENTITY | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
CDS RECORD IDENTIFIER | max an35 | None | None | None | Existing Format/Length states min an1 max an35 - XML Schema allows max an35 |
CDS SENDER IDENTITY | min an3 max an12 | None | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
CDS UNIQUE IDENTIFIER | max an35 | None | None | None | Existing Format/Length states min an1 max an35 - XML Schema allows max an35 |
CONSULTATION MEDIUM USED | None | 01,02,03,04 | None | None | National Codes 05, 06, 07, 08 and 98 are not used in CDS version 6-2 |
COUNT OF DAYS SUSPENDED | max n4 | None | None | None | Existing Format/Length states n4 - XML Schema allows max n4 |
CRITICAL CARE ACTIVITY CODE | None | 01,02,03,04,05,06,07,08,09,10,11,12,13,14, 15,16,21,22,23,24,25,26,27,28,29,50,51,52, 53,55,56,57,58,59,60,61,62,63,64,65,66,67, 68,69,70,71,72,73,74,99 | None | None | National Codes 80, 81, 82, 83, 84, 85, 94, 95, 96 and 97 removed (not allowed in the XML Schema) |
CRITICAL CARE DISCHARGE DESTINATION | n2 | None | None | None | Existing Format/Length states an2 - XML Schema allows n2 |
CRITICAL CARE LEVEL 2 DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
CRITICAL CARE LEVEL 3 DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
DERMATOLOGICAL SUPPORT DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
DISCHARGE METHOD CODE (HOSPITAL PROVIDER SPELL) | None | 1,2,3,4,5,8,9 | None | None | National Codes 6 and 7 are not used in CDS version 6-2 |
DURATION OF CARE TO PSYCHIATRIC CENSUS DATE | max n5 | None | None | None | Existing Format/Length states n5 - XML Schema allows max n5 |
DURATION OF DETENTION | max n5 | None | None | None | Existing Format/Length states n5 - XML Schema allows max n5 |
DURATION OF ELECTIVE WAIT | max n4 | None | None | None | Existing Format/Length states max an4 - XML Schema allows max n4 |
ELECTIVE ADMISSION LIST ENTRY NUMBER | max an12 | None | None | None | Existing Format/Length states an12 - XML Schema allows max an12 |
ETHNIC CATEGORY | max an2 | None | None | None | Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets. Second character can be for local use. Format/Length amended to max an2 |
GASTRO-INTESTINAL SUPPORT DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
GESTATION LENGTH (ASSESSMENT) | n2 | None | None | None | Existing Format/Length states an2 - XML Schema allows n2 |
GESTATION LENGTH (AT DELIVERY) | n2 | None | None | None | Existing Format/Length states an2 - XML Schema allows n2 |
GESTATION LENGTH (LABOUR ONSET) | n2 | None | None | None | Existing Format/Length states an2 - XML Schema allows n2 |
GENERAL MEDICAL PRACTITIONER PRACTICE (ANTENATAL CARE) | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
GENERAL MEDICAL PRACTICE CODE (PATIENT REGISTRATION) | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
GENERAL MEDICAL PRACTITIONER (ANTENATAL CARE) | None | Removed | None | None | National Codes and default codes not enumerated in the XML Schema |
GENERAL MEDICAL PRACTITIONER (SPECIFIED) | None | Removed | None | None | National Codes and default codes not enumerated in the XML Schema |
INTENDED SITE CODE (OF TREATMENT) | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
LIVER SUPPORT DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
LOCAL PATIENT IDENTIFIER | max an10 | None | None | None | Existing Format/Length states an10 - XML Schema allows max an10 |
LOCAL PATIENT IDENTIFIER (BABY) | max an10 | None | None | None | Existing Format/Length states an10 - XML Schema allows max an10 |
LOCAL PATIENT IDENTIFIER (MOTHER) | max an10 | None | None | None | Existing Format/Length states an10 - XML Schema allows max an10 |
MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION CODE (AT CENSUS DATE) | None | 01,02,03,04,05,06,07,08,09,10,11,12,13,14, 15,16,17,18,19,20,31,32,34,35,36,37,38 | None | None | Additional National Codes 37 and 38 added |
MENTAL HEALTH ACT LEGAL STATUS CLASSIFICATION CODE (ON ADMISSION) | None | 01,02,03,04,05,06,07,08,09,10,11,12,13,14, 15,16,17,18,19,20,31,32,34,35,36,37,38 | None | None | Additional National Codes 37 and 38 added |
NEUROLOGICAL SUPPORT DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
ORGAN SUPPORT MAXIMUM | n2 | None | 00-06 | None | Existing Format/Length states an2 - XML Schema allows max n2. Range 00-06 allowed |
ORGANISATION CODE (CODE OF COMMISSIONER) | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
ORGANISATION CODE (CODE OF PROVIDER) | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION SITE CODE changes |
ORGANISATION CODE (LOCAL PATIENT IDENTIFIER) | min an3 max an12 | None | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
ORGANISATION CODE (LOCAL PATIENT IDENTIFIER (BABY)) | min an3 max an12 | None | None | None | Field size extended to future proof for ODS ORGANISATION SITE CODE changes |
ORGANISATION CODE (LOCAL PATIENT IDENTIFIER (MOTHER)) | min an3 max an12 | None | None | None | Field size extended to future proof for ODS ORGANISATION SITE CODE changes |
ORGANISATION CODE (PATIENT PATHWAY IDENTIFIER ISSUER) | min an3 max an12 | None | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
ORGANISATION CODE (RESIDENCE RESPONSIBILITY) | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
PERSON WEIGHT | n3.n3 | None | None | None | Existing Format/Length states max n3.max n3 - XML Schema enforces 3 digits before and after the decimal point - max removed |
PRIMARY DIAGNOSIS (READ) | max an5 | None | None | None | Existing Format/Length allows for all clinical classifications -XML Schema allows max an5 |
PROFESSIONAL REGISTRATION ENTRY IDENTIFIER (MAIN OPERATING CARE PROFESSIONAL) | max an12 | None | None | None | Existing Format/Length states max an32 - XML Schema allows max an12 |
PROFESSIONAL REGISTRATION ENTRY IDENTIFIER (RESPONSIBLE ANAESTHETIST) | max an12 | None | None | None | Existing Format/Length states max an32 - XML Schema allows max an12 |
REFERRER CODE | None | Removed | None | None | National Codes and default codes not enumerated in the XML Schema |
REFERRING ORGANISATION CODE | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
RENAL SUPPORT DAYS | max n3 | None | None | None | Existing Format/Length states max an3 - XML Schema allows max n3 |
SECONDARY DIAGNOSIS (READ) | max an5 | None | None | None | Existing Format/Length allows for all clinical classifications -XML Schema allows max an5 |
SITE CODE (OF TREATMENT) | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION SITE CODE changes |
SOURCE OF ADMISSION CODE (HOSPITAL PROVIDER SPELL) | None | 19,29,39,49,51,52,53,54,65,66,79,85,87,88 | None | None | National Codes 40, 41 and 42 are not used in CDS version 6-2 |
WAITING TIME MEASUREMENT TYPE | None | 01,02,09 | None | None | National Codes 03, 04, 05, 06, 07 and 08 not valid in Commissioning Data Sets |
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 Name | Column Meaning | Column Options | ||
XML Schema Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representation | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary | |
Allowed Values | Indicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML Schema | None = The NHS Data Model and Dictionary National and Default Codes are present in the XML Schema | Removed = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML Schema | Any other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the XML Schema | None = There is no range value constraint applied in the XML Schema | Any other entry = Shows the range value constraint applied in the XML Schema | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the XML Schema | None = There is no data pattern, to which the data must conform, applied in the XML Schema | Any other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema |
XML Schema Constraints:
XML Schema Constraints:
Data Element | XML Schema Format/Length | Allowed Values | Range | Pattern Match | Reason / Comment / XML Choice |
ACTIVITY LOCATION TYPE CODE | None | Removed | None | None | National Codes not enumerated in XML schema |
ACTIVITY TREATMENT FUNCTION CODE | None | 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 CODE | None | Removed | None | None | National Codes not enumerated in XML schema |
CDS BULK REPLACEMENT GROUP CODE | None | 010,020,030,040,060 | None | None | Commissioning Data Set version 6-3 only allows these CDS BULK REPLACEMENT GROUP CODES |
CDS INTERCHANGE TEST INDICATOR | None | 1,0 | None | None | Commissioning Data Set version 6-3 allows a Null field to be submitted |
CDS MESSAGE VERSION NUMBER | None | CDS063 | None | None | Message version is hard coded in the XML schema |
CDS TYPE CODE | None | 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 CODE | None | 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 CATEGORY | max an2 | None | None | None | Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets. Second character can be for local use. Format/Length amended to max an2 |
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 DATE | None | A,B,C,D,E,F,P,9 | None | None | National Code X is not valid in Commissioning Data Set version 6-3 |
REFERRER CODE | None | 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 |
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 Name | Column Meaning | Column Options | |
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
ETHNIC CATEGORY | max an2 | None | None | Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets. Data Set allows max an2 |
Change to XML Schema Constraint: Changed Description
Data Set Constraints applied to the Critical Care Minimum Data Set.
Key to Data Set Constraint Column Headings:
Key to Data Set Constraint Column Headings:
Column Name | Column Meaning | Column Options | |
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
CRITICAL CARE DISCHARGE DESTINATION | n2 | None | None | Existing Format/Length states max an3 -Data Set allows n2 |
Change to XML Schema Constraint: Changed Description
Data Set Constraints applied to the Devices Patient Level Contract Monitoring Data Set.
Key to Data Set Constraint Column Headings:
Key to Data Set Constraint Column Headings:
Column Name | Column Meaning | Column Options | |
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
ETHNIC CATEGORY | max an2 | None | None | Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets. Data Set allows max an2 |
Change to XML Schema Constraint: Changed Description
XML Schema Constraints applied to the Diagnostic Imaging Data Set.
Key to XML Schema Constraint Column Headings:
Key to XML Schema Constraint Column Headings:
Column Name | Column Meaning | Column Options | ||
XML Schema Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representation | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary | |
Allowed Values | Indicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML Schema | None = The NHS Data Model and Dictionary National and Default Codes are present in the XML Schema | Removed = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML Schema | Any other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the XML Schema | None = There is no range value constraint applied in the XML Schema | Any other entry = Shows the range value constraint applied in the XML Schema | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the XML Schema | None = There is no data pattern, to which the data must conform, applied in the XML Schema | Any other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema |
XML Schema Constraints:
XML Schema Constraints:
Data Element | XML Schema Format/Length | Allowed Values | Range | Pattern Match | Reason / Comment / XML Choice |
ETHNIC CATEGORY | max an2 | None | None | None | Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets. Second character can be for local use. XML Schema allows max an2 |
GENERAL MEDICAL PRACTICE CODE (PATIENT REGISTRATION) | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
IMAGING CODE (NICIP) | None | None | None | None | XML choice required to allow recording of either or both of IMAGING CODE (NICIP) / IMAGING CODE (SNOMED-CT) XML choice 1: |
IMAGING CODE (SNOMED-CT) | None | ||||
RADIOLOGICAL ACCESSION NUMBER | None | None | None | None | Spaces allowed in character set, to follow guidance on Digital Imaging and Communications in Medicine (DICOM) number format |
REFERRING ORGANISATION CODE | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
SITE CODE (OF IMAGING) | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION SITE CODE changes |
Change to XML Schema Constraint: Changed Description
Data Set Constraints applied to the Drugs Patient Level Contract Monitoring Data Set.
Key to Data Set Constraint Column Headings:
Key to Data Set Constraint Column Headings:
Column Name | Column Meaning | Column Options | |
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
ETHNIC CATEGORY | max an2 | None | None | Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets. Data Set allows max an2 |
Change to XML Schema Constraint: Changed Description
XML Schema Constraints applied to the Electronic Prescribing and Medicines Administration Data Sets.
Key to XML Schema Constraint Column Headings:
Key to XML Schema Constraint Column Headings:
Column Name | Column Meaning | Column Options | ||
XML Schema Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representation | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary | |
Allowed Values | Indicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML Schema | None = The NHS Data Model and Dictionary National and Default Codes are present in the XML Schema | Removed = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML Schema | Any other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the XML Schema | None = There is no range value constraint applied in the XML Schema | Any other entry = Shows the range value constraint applied in the XML Schema | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the XML Schema | None = There is no data pattern, to which the data must conform, applied in the XML Schema | Any other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema |
XML Schema Constraints:
XML Schema Constraints:
Data Element | XML Schema Format/Length | Allowed Values | Range | Pattern Match | Reason / 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 |
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 Name | Column Meaning | Column Options | ||
XML Schema Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representation | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary | |
Allowed Values | Indicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML Schema | None = The NHS Data Model and Dictionary National and Default Codes are present in the XML Schema | Removed = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML Schema | Any other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the XML Schema | None = There is no range value constraint applied in the XML Schema | Any other entry = Shows the range value constraint applied in the XML Schema | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the XML Schema | None = There is no data pattern, to which the data must conform, applied in the XML Schema | Any other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema |
XML Schema Constraints:
XML Schema Constraints:
Data Element | XML Schema Format/Length | Allowed Values | Range | Pattern Match | Reason / Comment / XML Choice |
ACTIVITY TREATMENT FUNCTION CODE (DECISION TO ADMIT) | None | Removed | None | None | National Codes not enumerated in the XML Schema |
AGE AT CDS ACTIVITY DATE | None | Removed | None | None | Default codes not enumerated in the XML Schema |
CDS BULK REPLACEMENT GROUP CODE | None | 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 INDICATOR | None | 0,1 | None | None | The ECDS V4 XML schema allows a null field to be submitted |
CDS MESSAGE VERSION NUMBER | an6 | ECDS04 | None | None | Message version is hard coded in the XML Schema |
CDS TYPE CODE | None | 011 | None | None | ECDS V4 only allows submission of data relating to CDS TYPE CODE 'Urgent and Emergency Care Activity' |
COMMISSIONER REFERENCE IDENTIFIER | None | None | None | None | Default codes not enumerated in the XML Schema |
EMED3 FIT NOTE DURATION | None | 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 CATEGORY | max an2 | None | None | None | Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets. Second character can be for local use. Format/Length amended to max an2 |
GENERAL MEDICAL PRACTICE (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 CODE | 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 (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 ADDRESS | min an2 max an8 | None | None | None | Existing Format/Length states max an8 - XML Schema allows min an2 max an8 |
PROFESSIONAL REGISTRATION ENTRY IDENTIFIER | min an1 max an32 | None | None | None | Existing Format/Length states max an32 - XML Schema allows min an1 max an32 |
PROFESSIONAL REGISTRATION ISSUER CODE | None | 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 |
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 Name | Column Meaning | Column Options | ||
XML Schema Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representation | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary | |
Allowed Values | Indicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML Schema | None = The NHS Data Model and Dictionary National and Default Codes are present in the XML Schema | Removed = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML Schema | Any other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the XML Schema | None = There is no range value constraint applied in the XML Schema | Any other entry = Shows the range value constraint applied in the XML Schema | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the XML Schema | None = There is no data pattern, to which the data must conform, applied in the XML Schema | Any other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema |
XML Schema Constraints:
XML Schema Constraints:
Data Element | XML Schema Format/Length | Allowed Values | Range | Pattern Match | Reason / Comment / XML Choice |
CONSULTATION MEDIUM USED | None | 01,02,03,04,05 | None | None | National Code 06, 07, 08 and 98 not applicable - removed |
COUNTRY CODE (BIRTH) | None | None | None | [A-Z][A-Z][A-Z] | Format pattern applied to allow correct reporting of COUNTRY CODE (BIRTH) |
COUNTRY CODE (HIV INFECTION) | None | None | None | [A-Z][A-Z][A-Z] | Format pattern applied to allow correct reporting of COUNTRY CODE (HIV INFECTION) |
DATE AND TIME DATA SET CREATED | None | None | None | (19|20)\d\d-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T((0[1-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])) | Format pattern applied to allow correct reporting of DATE AND TIME DATA SET CREATED |
ETHNIC CATEGORY | max an2 | None | None | None | Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets. Second character can be for local use. Format/Length amended to max an2. |
GENERAL MEDICAL PRACTICE CODE (PATIENT REGISTRATION) | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
HARS MESSAGE VERSION IDENTIFIER | None | None | None | \d.\d.\d | Format pattern applied to allow correct reporting of HARS MESSAGE VERSION IDENTIFIER |
HARS SUBMISSION IDENTIFIER | None | None | None | [0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12} | Format pattern applied to allow correct reporting of HARS SUBMISSION IDENTIFIER |
HARS UNIQUE IDENTIFIER | None | None | None | [0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12} | Format pattern applied to allow correct reporting of HARS UNIQUE IDENTIFIER |
ORGANISATION CODE (CODE OF PROVIDER) | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
ORGANISATION CODE (CODE OF SUBMITTING ORGANISATION) | min an3 max an12 | None | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
SITE CODE (OF PREVIOUS HIV CARE) | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION SITE CODE changes |
SITE CODE (OF TREATMENT) | min an3 max an12 | Removed | None | None | Field size extended to future proof for ODS ORGANISATION SITE CODE changes |
SITE CODE (REFERRED TO FOR SHARED HIV CARE) | min an3 max an12 | None | None | None | Field size extended to future proof for ODS ORGANISATION SITE CODE changes |
TEST OF RECENT INFECTION RESULT (HIV) | None | None | None | \d{1,3}\.\d{1} | Format pattern applied to allow correct reporting of TEST OF RECENT INFECTION RESULT (HIV) |
YEAR AND MONTH FIRST STARTED ANTIRETROVIRAL THERAPY | None | None | None | (19|20)\d\d-(0[1-9]|1[012]) | Format pattern applied to allow correct reporting of YEAR AND MONTH FIRST STARTED ANTIRETROVIRAL THERAPY |
YEAR AND MONTH OF LAST CARE PROFESSIONAL HIV COMMUNICATION | None | None | None | (19|20)\d\d-(0[1-9]|1[012]) | Format pattern applied to allow correct reporting of YEAR AND MONTH OF LAST CARE PROFESSIONAL HIV COMMUNICATION |
YEAR AND MONTH OF LAST NEGATIVE HIV TEST | None | None | None | (19|20)\d\d-(0[1-9]|1[012]) | Format pattern applied to allow correct reporting of YEAR AND MONTH OF LAST NEGATIVE HIV TEST |
YEAR OF DIAGNOSIS OUTSIDE UNITED KINGDOM (HIV) | None | None | None | (19|20){1}\d\d | Format pattern applied to allow correct reporting of YEAR OF DIAGNOSIS OUTSIDE UNITED KINGDOM (HIV) |
YEAR OF UK ENTRY | None | None | None | (19|20){1}\d\d | Format pattern applied to allow correct reporting of YEAR OF UK ENTRY |
Change to XML Schema Constraint: Changed Description
Data Set Constraints applied to the Improving Access to Psychological Therapies Data Set.
Key to Data Set Constraint Column Headings:
Key to Data Set Constraint Column Headings:
Column Name | Column Meaning | Column Options | |
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
CODED PROCEDURE AND PROCEDURE STATUS (SNOMED CT) | min an6 max an56 | None | None | The 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 CATEGORY | max an2 | None | None | Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets. Data Set allows max an2 |
Change to XML Schema Constraint: Changed Description
Data Set Constraints applied to the Mental Health Services Data Set.
Key to Data Set Constraint Column Headings:
Key to Data Set Constraint Column Headings:
Column Name | Column Meaning | Column Options | |
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
ETHNIC CATEGORY | max an2 | None | None | Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets. Data Set allows max an2 |
INDIRECT ACTIVITY PROCEDURE (SNOMED CT EXPRESSION) | min an6 max an56 | None | None | The 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 an56 | None | None | The 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 an56 | None | None | The 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 an56 | None | None | The 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 an20 | None | None | The 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 |
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 Name | Column Meaning | Column Options | |
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Set Constraints:
Data Element | XML Schema Format/Length | Allowed Values | Range | Pattern Match | Reason / Comment / XML Choice |
PATIENT PATHWAY IDENTIFIER | min an1 max an20 | None | None | None | Existing Format/Length is max an20. Unable to change this as it is used in other data sets. XML Schema allows min an1 max an20 |
ORGANISATION IDENTIFIER (REFERRING) | min an3 max an5 | Removed | None | None | Default codes not enumerated in the XML Schema. an6 is not applicable for the National Cancer Waiting Times Monitoring Data Set. |
Change to XML Schema Constraint: Changed Description
Data Set Constraints applied to the National Neonatal Data Set.
Key to Data Set Constraint Column Headings:
Key to Data Set Constraint Column Headings:
Column Name | Column Meaning | Column Options | |
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
BIRTH WEIGHT | n4 | None | None | Existing Format/Length states max an4 - Data Set allows n4 |
GESTATION LENGTH (AT DELIVERY) | n2 | None | None | Existing Format/Length states an2 - Data Set allows n2 |
Change to XML Schema Constraint: Changed Description
Data Set Constraints applied to the Patient Level Contract Monitoring Data Set.
Key to Data Set Constraint Column Headings:
Key to Data Set Constraint Column Headings:
Column Name | Column Meaning | Column Options | |
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
ETHNIC CATEGORY | max an2 | None | None | Existing Format/Length means fixed length which is incorrect. Unable to change this as it is used in other data sets. Data Set allows max an2 |
Change to XML Schema Constraint: Changed Description
Data Set Constraints applied to the Radiotherapy Data Set.
Key to Data Set Constraint Column Headings:
Key to Data Set Constraint Column Headings:
Column Name | Column Meaning | Column Options | |
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
LOCAL PATIENT IDENTIFIER (EXTENDED) | min an1 max an20 | None | None | Existing Format/Length is max an20. Unable to change this as it is used in other data sets. Data Set allows min an1 max an20 |
ORGANISATION IDENTIFIER (CODE OF PROVIDER) | min an3 max an5 | None | None | an6 is not applicable for the Radiotherapy Data Set. |
RADIOTHERAPY ACTUAL PROCEDURE (SNOMED CT EXPRESSION) | max an100 | None | None | The 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 an100 | None | None | The 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. |
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 Name | Column Meaning | Column Options | |
Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the data set specification | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the data set specification to the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the data set specification | None = There is no range value constraint applied in the data set specification | Any other entry = Shows the range value constraint applied in the data set specification |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the data set specification | None = There is no data pattern, to which the data must conform, applied in the data set specification | Any other entry = Shows the data pattern, to which the data must conform, applied in the data set specification |
Data Set Constraints:
Data Set Constraints:
Data Element | Format/Length | Range | Pattern Match | Reason / Comment |
LOCAL PATIENT IDENTIFIER (EXTENDED) | min an1 max an20 | None | None | Existing Format/Length is max an20. Unable to change this as it is used in other data sets. Data Set allows min an1 max an20 |
ORGANISATION IDENTIFIER (CODE OF PROVIDER) | min an3 max an5 | None | None | an6 is not applicable for the Systemic Anti-Cancer Therapy Data Set. Format pattern applied to allow correct reporting of ORGANISATION IDENTIFIER (CODE OF PROVIDER). |
For enquiries about this Change Request, please email information.standards@nhs.net