{
  "id": "uknhsnum",
  "kind": "datatype",
  "status": "stable",
  "name": "UK NHS Number",
  "doc": "NHS numbers are the unique numbers allocated to registered users of the three public health services in England, Wales and the Isle of Man; the three health systems use a shared numbering scheme.",
  "is_pii": true,
  "categories": [
    "pii",
    "persons",
    "medical"
  ],
  "country": [
    "GB"
  ],
  "langs": [
    "en"
  ],
  "classification": "identifier",
  "regexp": "^([0-9]{3})[- ]?([0-9]{3})[- ]?([0-9]{4})$",
  "mappings": {
    "autotype": "nhs",
    "dpv": "pd:OfficialID",
    "fhir": "https://fhir.nhs.uk/Id/nhs-number",
    "fta": "IDENTITY.NHS_UK",
    "google_dlp": "UK_NATIONAL_HEALTH_SERVICE_NUMBER",
    "presidio": "UK_NHS",
    "purview": "U.K. national health service number",
    "stdnum": "gb.nhs"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/NHS_number"
    }
  ],
  "detected_by": {
    "tools": [
      "amazonmacie",
      "autotype",
      "awscomprehend",
      "awsglue",
      "azureailanguage",
      "cloudflaredlp",
      "collibra",
      "databricks",
      "datadogsds",
      "dataprep",
      "fta",
      "googledlp",
      "ibmguardium",
      "metacrafter",
      "microsoftpurview",
      "nightfall",
      "openmetadata",
      "presidio",
      "pythonstdnum"
    ],
    "metacrafter_rules": [
      {
        "rule": "uknhsnumfield",
        "type": "field",
        "match": "text",
        "file": "gb/gb_persons.yaml"
      },
      {
        "rule": "uknhsnumvalue",
        "type": "data",
        "match": "ppr",
        "file": "gb/gb_persons.yaml"
      },
      {
        "rule": "gb_pii_uknhsnumfield",
        "type": "field",
        "match": "text",
        "file": "pii/gb/gb_pii.yaml"
      },
      {
        "rule": "gb_pii_uknhsnumvalue",
        "type": "data",
        "match": "ppr",
        "file": "pii/gb/gb_pii.yaml"
      }
    ]
  },
  "quality": {
    "score": 75,
    "missing": [
      "examples",
      "negative example",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/GB/persons/uknhsnum.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/GB/persons/uknhsnum.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/persons/uknhsnum.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/uknhsnum",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/uknhsnum.json"
  }
}