Systemic Anti-Cancer Therapy Data Set XML Schema Constraints

XML Schema constraints applied to the Systemic Anti-Cancer Therapy 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
CARE PROFESSIONAL MAIN SPECIALTY CODE (START SYSTEMIC ANTI-CANCER THERAPY)NoneRemovedNoneNoneNational Codes and default codes not enumerated in the XML Schema
CONSULTANT CODE (INITIATED SYSTEMIC ANTI-CANCER THERAPY)NoneRemovedNoneNoneNational Codes and default codes not enumerated in the XML Schema
ETHNIC CATEGORYmax an2NoneNoneNoneExisting 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 an12RemovedNoneNoneField size extended to future proof for ODS ORGANISATION CODE changes
ORGANISATION CODE (CODE OF PROVIDER)min an3 max an12RemovedNoneNoneField size extended to future proof for ODS ORGANISATION CODE changes
PRIMARY DIAGNOSIS (ICD AT START SYSTEMIC ANTI-CANCER THERAPY)NoneNoneNoneNoneXML choice required to allow recording of either or both of PRIMARY DIAGNOSIS (ICD AT START SYSTEMIC ANTI-CANCER THERAPY) / MORPHOLOGY (ICD-O AT START SYSTEMIC ANTI-CANCER THERAPY)

XML choice 1:
One of two data items PRIMARY DIAGNOSIS (ICD AT START SYSTEMIC ANTI-CANCER THERAPY) or MORPHOLOGY (ICD-O AT START SYSTEMIC ANTI-CANCER THERAPY) must be present

XML choice 2:
PRIMARY DIAGNOSIS (ICD AT START SYSTEMIC ANTI-CANCER THERAPY) and MORPHOLOGY (ICD-O AT START SYSTEMIC ANTI-CANCER THERAPY) must be present
MORPHOLOGY (ICD-O AT START SYSTEMIC ANTI-CANCER THERAPY)None
PERFORMANCE STATUS (ADULT)None0,1,2,3,4NoneNoneDefault Code 9 is not valid for the Systemic Anti-Cancer Therapy Data Set.

XML choice - optional to send, but if submitted one of PERFORMANCE STATUS (ADULT) or PERFORMANCE STATUS (YOUNG PERSON) is required
PERFORMANCE STATUS (YOUNG PERSON)NoneNone