The Commissioning Data Sets (CDS) are a standardised set of data definitions used across the NHS in England. Provider organisations (hospitals, mental health trusts, community providers) collect patient activity data and submit it to NHS England via the Secondary Uses Service (SUS+) using CDS XML messages.
CDS data is the primary basis for:
The schema used by this app is CDS v6.3.1 (released June 2022), which is the current live version for acute provider submissions.
An acute trust typically generates the following CDS message types. Priority types (highest volume / payment impact) are highlighted.
| Code | Name | Description | Priority |
|---|---|---|---|
| 130 | Finished General Episode | Elective and emergency inpatient admissions that have been discharged. Largest volume CDS type; drives the majority of PbR income. | High |
| 020 | Outpatient | Consultant-led outpatient clinic attendances. High volume; includes first and follow-up appointments. | High |
| 120 | Finished Birth Episode | Maternity — baby's birth episode (admitted patient care). | High |
| 140 | Finished Delivery Episode | Maternity — mother's delivery episode. | High |
| 180 | Unfinished Birth Episode | Birth episode where the baby is still an inpatient at month end. | Standard |
| 190 | Unfinished General Episode | General episode where the patient is still admitted at month end. | Standard |
| 200 | Unfinished Delivery Episode | Delivery episode where the mother is still an inpatient at month end. | Standard |
| 150 | Other Birth Event | Maternity births that don't result in an admitted patient episode (e.g. home births). | Standard |
| 160 | Other Delivery | Maternity deliveries occurring outside an admitted episode. | Standard |
File format: CDS v6.3.1 XML, one ZIP per CDS type per submission batch.
Mechanism: MESH (Message Exchange for Social Care and Health) or direct SUS+ portal upload.
For outpatient (CDS 020), AttendanceStatus valid codes start at 2 (attended), 3 (attended — cancelled by patient), 4 (did not attend), 5 (cancelled by provider). There is no code 1. Systems that default to '1' will fail SUS+ validation.
This field (used for HSMR/SHMI) accepts only 'Y' (present on admission), 'N' (not present on admission), or '8' (not applicable / not recorded). Sending any other value, including blank, causes rejection.
Hospital Provider Spell Start Date covers the entire admission; Episode Start Date is when the consultant episode began. Common error: both set to the same value when a patient has had more than one consultant during a spell. The episode start must be ≥ the spell start.
An episode may have both a GP Practice commissioner and an ICB/commissioner organisation. Both can appear in the same CDS record — omitting one where both are applicable causes incomplete payment attribution.
Diagnosis codes must be submitted without the decimal point and with no trailing spaces: 'J189' not 'J18.9'. Codes must also be valid for the submitted activity date using the correct ICD-10 edition in force at that time.
Unfinished episodes (CDS 180–200) submitted in earlier months must also be re-submitted in the month they finish, as a finished episode (CDS 120–140). Failure to include the finished record leaves SUS+ with an open episode that never closes.