XML Schema constraints applied to the Systemic Anti-Cancer Therapy Data Set.
Data Element | XML Schema Format/Length | Allowed Values | Range | Pattern Match | Reason / Comment / XML Choice |
CARE PROFESSIONAL MAIN SPECIALTY CODE (START SYSTEMIC ANTI-CANCER THERAPY) | an3 | None | None | None | National Codes and default codes not enumerated in the schema |
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. 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 |
ORGANISATION CODE (CODE OF PROVIDER) | min an3 max an12 | None | None | None | Field size extended to future proof for ODS ORGANISATION CODE changes |
POSTCODE OF USUAL ADDRESS | None | None | None | [A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][A-Z-[CIKMOV]]{2} | Format pattern applied to allow correct reporting of POSTCODE |