XML Schema Constraints applied to the Electronic Prescribing and Medicines Administration Data Sets.
Key to XML Schema Constraint Column Headings:
Column Name | Column Meaning | Column Options | ||
XML Schema Format/Length | Indicates any differences between the Format/Length of the item in the NHS Data Model and Dictionary and the XML Schema representation | None = The Format/Length is the same as the NHS Data Model and Dictionary | Any other entry = The Format/Length is different in the XML Schema to the NHS Data Model and Dictionary | |
Allowed Values | Indicates whether the NHS Data Model and Dictionary National Codes and Default Codes are present in the XML Schema | None = The NHS Data Model and Dictionary National and Default Codes are present in the XML Schema | Removed = The NHS Data Model and Dictionary National Codes and Default Codes are not present in the XML Schema | Any other entry = Shows the values present in the XML Schema which are a subset of those in the NHS Data Model and Dictionary |
Range | Indicates whether a range value constraint has been applied in the XML Schema | None = There is no range value constraint applied in the XML Schema | Any other entry = Shows the range value constraint applied in the XML Schema | |
Pattern Match | Indicates whether a data pattern, to which the data must conform, has been applied in the XML Schema | None = There is no data pattern, to which the data must conform, applied in the XML Schema | Any other entry = Shows the data pattern, to which the data must conform, applied in the XML Schema |
XML Schema Constraints:
Data Element | XML Schema Format/Length | Allowed Values | Range | Pattern Match | Reason / Comment / XML Choice |
PRESCRIBED MEDICATION DOSE REPEAT PERIOD UNIT OF MEASUREMENT (FHIR R4) | None | s,min,h,d,wk,mo,a | None | None | Allowed value set defined in FHIR R4 vocabulary - not enumerated in NHS Data Model and Dictionary |
PRESCRIBED MEDICATION DOSE DAY OF WEEK (FHIR R4) | None | mon,tue,wed,thu,fri,sat,sun | None | None | Allowed value set defined in FHIR R4 vocabulary - not enumerated in NHS Data Model and Dictionary |