Diagnostic Imaging Data Set XML Schema Constraints
Diagnostic Imaging Data Set XML Schema Constraints
Description
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:
-
None = The National Codes and Default Codes are included in the XML Schema
-
Removed = The National Codes and Default Codes are not included in the XML Schema.
Data Element | XML Schema Format/Length | Allowed Values | Range | Pattern Match | Reason / Comment / XML Choice |
ETHNIC CATEGORY |
max 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 NUMBER |
None |
None |
None |
None |
Spaces allowed in character set, to follow guidance on Digital Imaging and Communications in Medicine (DICOM) number format |
REFERRING ORGANISATION CODE |
min 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 |
Where Used
Type | Link | How used |
---|---|---|
Data Set | Diagnostic Imaging Data Set | references in description Diagnostic Imaging Data Set XML Schema Constraints |