---
id: "gb_ccg_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "Clinical commissioning group code (England, GSS)"
regexp: "^E38\\d{6}$"
categories: ["geo", "medical"]
country: ["GB"]
langs: ["en"]
quality: 85
url: "https://registry.apicrafter.io/datatype/gb_ccg_code"
---

# Clinical commissioning group code (England, GSS) (`gb_ccg_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.

GSS code of an NHS clinical commissioning group (CCG), the body that planned and bought health services for an area of England from 2013 to 2022, entity code E38 (CCGyyCD). The same group has a three-character ODS code (gb_ccg_ods_code). Since July 2022 E38 codes name the sub-ICB locations that replaced the groups.

- Parent datatype: [`ukgsscode`](https://registry.apicrafter.io/datatype/ukgsscode.md)
- Personal data (PII): no
- Categories: Geographic identifiers (geo), Medical/pharma identifiers (medical)
- Countries: United Kingdom (GB)
- Languages: English (en)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^E38\d{6}$
```

## Examples

- `E38000001` — CCG, April 2017 list
- `E38000002` — CCG, April 2017 list
- `E54000007` (invalid example) — An STP code

## Metacrafter rules

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

- `gbccgcodevalue` (data, `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>
- wikipedia: <https://en.wikipedia.org/wiki/ONS_coding_system>
- doc: <https://www.ons.gov.uk/methodology/geography/geographicalproducts/namescodesandlookups/codehistorydatabasechd>

## Quality

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

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