Diagnostic Imaging Data Set XML Schema Constraints

XML Schema constraints applied to the Diagnostic Imaging Data Set.

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.
Format/Length amended to max an2.
GENERAL MEDICAL PRACTICE CODE (PATIENT REGISTRATION)min an3 max an12
None
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)POSTCODE

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
None
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
SITE CODE (OF IMAGING)min an3 max an12
None
None
None
Field size extended to future proof for ODS ORGANISATION SITE CODE changes