---
id: "gb_nhs_ods_code"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["government", "medical"]
country: ["GB"]
langs: ["en"]
quality: 80
url: "http://registry.apicrafter.io/datatype/gb_nhs_ods_code"
---

# NHS Organisation Data Service code (ODS code) (`gb_nhs_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.

Code of an NHS or other health and social care organisation in the Organisation Data Service (ODS). ORG-ID.guide lists the register as GB-NHS; with that prefix an identifier reads GB-NHS-01F.

- Personal data (PII): no
- Categories: Government related (government), Medical/pharma identifiers (medical)
- Countries: United Kingdom (GB)
- Languages: English (en)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[A-Z0-9]{3,9}$
```

## Examples

- `01F` — example from ORG-ID.guide
- `7A1A5` — example from ORG-ID.guide
- `Z1070` — example from ORG-ID.guide
- `RAX` — example from ORG-ID.guide
- `706` — London Borough of Islington
- `R1H12` — The Royal London Hospital
- `RRK15` — Queen Elizabeth Hospital Birmingham

## Mappings

- orgid: `GB-NHS`
- wikidata: `P9372`

## Sources

- other: <https://org-id.guide/list/GB-NHS>
- doc: <https://digital.nhs.uk/services/organisation-data-service>
- wikidata: <https://www.wikidata.org/wiki/Property:P9372>

## Quality

Score 80/100. Missing: negative example, translation, detector coverage.

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