{
  "id": "us_mbi",
  "kind": "datatype",
  "status": "draft",
  "name": "US Medicare Beneficiary Identifier (MBI)",
  "doc": "Medicare Beneficiary Identifier, the 11-character number on the Medicare card that replaced the SSN-based number from 2018. Letters S, L, O, I, B and Z are not used. It is often written with hyphens after the 4th and 7th characters.",
  "is_pii": true,
  "categories": [
    "pii",
    "persons",
    "medical"
  ],
  "country": [
    "US"
  ],
  "langs": [
    "en"
  ],
  "classification": "identifier",
  "regexp": "^[1-9][AC-HJKMNP-RT-Y][AC-HJKMNP-RT-Y0-9]\\d-?[AC-HJKMNP-RT-Y][AC-HJKMNP-RT-Y0-9]\\d-?[AC-HJKMNP-RT-Y]{2}\\d{2}$",
  "examples": [
    {
      "value": "1EG4-TE5-MK73",
      "description": "Format example published by CMS",
      "valid": true
    },
    {
      "value": "1EG4-TE5-MK7S",
      "description": "The letter S is not used",
      "valid": false
    }
  ],
  "mappings": {
    "dpv": "pd:OfficialID",
    "fhir": "http://hl7.org/fhir/sid/us-mbi",
    "purview": "Medicare Beneficiary Identifier (MBI) card"
  },
  "links": [
    {
      "type": "doc",
      "url": "https://learn.microsoft.com/en-us/purview/sit-defn-medicare-beneficiary-identifier-card"
    },
    {
      "type": "doc",
      "url": "https://www.cms.gov/medicare/new-medicare-card"
    }
  ],
  "detected_by": {
    "tools": [
      "amazonmacie",
      "awsglue",
      "azureailanguage",
      "microsoftpurview",
      "nightfall"
    ]
  },
  "quality": {
    "score": 88,
    "missing": [
      "second example",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/US/persons/us_mbi.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/US/persons/us_mbi.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/US/persons/us_mbi.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/us_mbi",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/us_mbi.json"
  }
}