Diagnostic Imaging Data Set XML Schema Constraints

XML Schema constraints applied to the Diagnostic Imaging Data Set.

The "Allowed Values" column indicates the NHS Data Model and Dictionary National Codes and Default Codes present in the XML Schema:

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