Commissioning Data Set XML Message Schema Overview

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 has accordingly been adopted by the NHS.

For the submission of Commissioning Data Set data to the Secondary Uses Service, XML based messaging has been developed replacing all previously published Commissioning Data Set Message formats.

The CDS XML Schema is supported and applied in the Secondary Uses Service front-end software service (the XML Transfer Service - XTS) 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 instance 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 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
The overall standards applied and supported by the XML Schema are:

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 usually consists of several related publications:

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: