{
  "id": "vn_kcb_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Vietnamese health insurance facility code",
  "doc": "Five-digit code of a medical examination and treatment facility in the Vietnamese health insurance system (mã cơ sở khám chữa bệnh, KCB): the two-digit province code and three digits, as in 31107 for Hai Phong.",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "medical"
  ],
  "country": [
    "VN"
  ],
  "langs": [
    "vi"
  ],
  "classification": "identifier",
  "regexp": "^\\d{5}$",
  "examples": [
    {
      "value": "31107",
      "description": "Hai Phong facility",
      "valid": true
    },
    {
      "value": "31030",
      "description": "Hai Phong facility",
      "valid": true
    },
    {
      "value": "3110",
      "description": "Four digits",
      "valid": false
    }
  ],
  "translations": {
    "vi": {
      "name": "Mã cơ sở khám chữa bệnh"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "vnkcbcodevalue",
        "type": "data",
        "match": "regex",
        "file": "vn/vn_medical.yaml"
      }
    ]
  },
  "quality": {
    "score": 75,
    "missing": [
      "source link",
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/VN/medical/vn_kcb_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/VN/medical/vn_kcb_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/VN/medical/vn_kcb_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/vn_kcb_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/vn_kcb_code.json"
  }
}