{
  "id": "ucum_code",
  "kind": "pattern",
  "status": "draft",
  "name": "UCUM unit code",
  "doc": "Case-sensitive code of a unit in the Unified Code for Units of Measure (UCUM), built from unit atoms, prefixes and operators, for example kg, m/s, Cel or mm[Hg]. HL7 FHIR and LOINC use it for clinical and laboratory results.",
  "semantic_type": "unit_of_measure",
  "is_pii": false,
  "categories": [
    "values"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "examples": [
    {
      "value": "kg",
      "description": "kilogram",
      "valid": true
    },
    {
      "value": "m/s",
      "description": "metre per second",
      "valid": true
    },
    {
      "value": "Cel",
      "description": "degree Celsius",
      "valid": true
    },
    {
      "value": "mm[Hg]",
      "description": "millimetre of mercury",
      "valid": true
    }
  ],
  "mappings": {
    "wikidata": "P7825"
  },
  "links": [
    {
      "type": "doc",
      "url": "https://ucum.org/ucum"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Unified_Code_for_Units_of_Measure"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P7825"
    }
  ],
  "quality": {
    "score": 60,
    "missing": [
      "regexp",
      "negative example",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/values/ucum_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/values/ucum_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/values/ucum_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/ucum_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/ucum_code.json"
  }
}