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 to be fully adopted by the end of 2007, replacing all previously published Commissioning Data Set Message formats.
XML Schema Standards
The overall standards applied and supported by the 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
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
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 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
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 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
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.