Diagnostic Imaging Data Set XML Schema Constraints

XML Schema Constraints applied to the Diagnostic Imaging Data Set.

Key to XML Schema Constraint Column Headings:

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

XML Schema Constraints:

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

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

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

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