NHS Health Checks Data Set XML Schema Constraints

XML Schema constraints applied to the NHS Health Checks Data Set.

Data ElementXML Schema Format/LengthAllowed ValuesRangePattern MatchReason / Comment / XML Choice
AGE AT ATTENDANCE DATEn3
None
None
None
Default Code 999 not applicable - removed
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.
LOWER LAYER SUPER OUTPUT AREA (RESIDENCE)an9
None
None
None
Existing Format/Length annnnnnnn - schema format an9
ORGANISATION CODE (CODE OF COMMISSIONER)min an3 max an12
None
None
None
Field size extended to future proof for ODS ORGANISATION CODE changes
ORGANISATION CODE (NHS HEALTH CHECK PROVIDER)min an3 max an12
None
None
None
Field size extended to future proof for ODS ORGANISATION SITE CODE changes
SMOKING STATUS CODEan1
1,2,3,4,Z
None
None
Default Code 9 not applicable - removed