Commissioning Data Set XML Schema Design
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.
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 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
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 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
These are described below.
The XML Schema Root The schema root is the control section of the schema and uses the "XML Include" technique to call schema sub-components:
-
The Standard Data Structures
-
The Standard Data Elements
-
All CDS Type sub-component schemas, including the Commissioning Data Set Headers and Trailers
In addition, the schema root is the only schema entry point and on entry the schema validates the XML Attributes for:
-
SchemaVersion
-
SchemaDate
XML Schema 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.
Also Known As
This Supporting information is also known by these names:
Context | Alias |
---|---|
Short name | CDS XML Schema Design |
Where Used
Type | Link | How used |
---|---|---|
Supporting Information | Commissioning Data Set Notation | references in description Commissioning Data Set XML Schema Design |
Supporting Information | Commissioning Data Sets Introduction | references in description Commissioning Data Set XML Schema Design |
Supporting Information | references in description Commissioning Data Set XML Schema Design |