{
  "id": "gb_ccg_ods_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Clinical commissioning group ODS code (England)",
  "doc": "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": "gb_nhs_ods_code",
  "is_pii": false,
  "categories": [
    "medical",
    "government"
  ],
  "country": [
    "GB"
  ],
  "langs": [
    "en"
  ],
  "classification": "identifier",
  "regexp": "^\\d{2}[A-Z]$",
  "examples": [
    {
      "value": "02N",
      "description": "CCG ODS code, April 2017 list",
      "valid": true
    },
    {
      "value": "99A",
      "description": "CCG ODS code",
      "valid": true
    },
    {
      "value": "02P",
      "description": "Barnsley CCG in its spending files",
      "valid": true
    },
    {
      "value": "E38000001",
      "description": "The GSS code of a CCG",
      "valid": false
    },
    {
      "value": "RXF",
      "description": "A trust ODS code",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Clinical_commissioning_group"
    }
  ],
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "gbccgodscodefield",
        "type": "field",
        "match": "regex",
        "file": "gb/gb_med.yaml"
      }
    ]
  },
  "quality": {
    "score": 85,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/GB/medical/gb_ccg_ods_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/GB/medical/gb_ccg_ods_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/medical/gb_ccg_ods_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/gb_ccg_ods_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/gb_ccg_ods_code.json"
  }
}