---
id: "gb_ccg_ods_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "Clinical commissioning group ODS code (England)"
regexp: "^\\d{2}[A-Z]$"
categories: ["medical", "government"]
country: ["GB"]
langs: ["en"]
quality: 85
url: "https://registry.apicrafter.io/datatype/gb_ccg_ods_code"
---

# Clinical commissioning group ODS code (England) (`gb_ccg_ods_code`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Three-character Organisation Data Service (ODS) code of an NHS clinical commissioning group: two digits and a letter (02N, 99A). ONS lookups give it as CCGyyCDH next to the GSS code (gb_ccg_code), and NHS spending data names the group by it (02P Expenditure Over 25k).

- Parent datatype: [`gb_nhs_ods_code`](https://registry.apicrafter.io/datatype/gb_nhs_ods_code.md)
- Personal data (PII): no
- Categories: Medical/pharma identifiers (medical), Government related (government)
- Countries: United Kingdom (GB)
- Languages: English (en)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{2}[A-Z]$
```

## Examples

- `02N` — CCG ODS code, April 2017 list
- `99A` — CCG ODS code
- `02P` — Barnsley CCG in its spending files
- `E38000001` (invalid example) — The GSS code of a CCG
- `RXF` (invalid example) — A trust ODS code

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `gbccgodscodefield` (field, `gb/gb_med.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Clinical_commissioning_group>

## Quality

Score 85/100. Missing: mapping (Wikidata, Schema.org, ...), translation.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/gb_ccg_ods_code.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/medical/gb_ccg_ods_code.yaml>
