{
  "id": "loinc",
  "kind": "datatype",
  "status": "draft",
  "name": "LOINC code",
  "doc": "Code of a laboratory test, clinical observation or document type in LOINC (Logical Observation Identifiers Names and Codes): digits, a hyphen and a check digit. Regenstrief Institute maintains it. Part and answer codes (LP, LA prefixes) are not covered.",
  "is_pii": false,
  "categories": [
    "medical"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^\\d{1,7}-\\d$",
  "examples": [
    {
      "value": "41995-2",
      "description": "glycated haemoglobin",
      "valid": true
    },
    {
      "value": "69723-5",
      "description": "Patient Health Questionnaire",
      "valid": true
    }
  ],
  "mappings": {
    "bioregistry": "loinc",
    "wikidata": "P4338"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/LOINC"
    },
    {
      "type": "doc",
      "url": "https://loinc.org/"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P4338"
    }
  ],
  "quality": {
    "score": 80,
    "missing": [
      "negative example",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/medical/loinc.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/medical/loinc.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/medical/loinc.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/loinc",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/loinc.json"
  }
}