{
  "id": "dicom_uid",
  "kind": "datatype",
  "status": "draft",
  "name": "DICOM unique identifier (UID)",
  "doc": "Unique identifier that DICOM medical imaging data uses for studies, series, image and other SOP instances, SOP classes, transfer syntaxes and other items. It has the numeric form of an ISO/IEC 8824 object identifier: an organization root followed by a suffix, both made of numbers separated by dots. A number has no leading zero unless it is the single digit 0, and the whole UID has at most 64 characters. The root 1.2.840.10008 is reserved for UIDs that the DICOM Standard defines itself. DICOM PS3.5, chapter 9, sets these rules. In a DICOM file a UID of odd length ends with a NUL padding byte, which the regexp does not accept.",
  "parent": "oid",
  "is_pii": false,
  "categories": [
    "medical"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?=[0-9.]{1,64}$)(?:0|[1-9]\\d*)(?:\\.(?:0|[1-9]\\d*))+$",
  "examples": [
    {
      "value": "1.2.840.10008.1.2",
      "description": "Implicit VR Little Endian, the default DICOM transfer syntax (PS3.6 Table A-1)",
      "valid": true
    },
    {
      "value": "1.2.840.10008.5.1.4.1.1.2",
      "description": "CT Image Storage SOP class (PS3.6 Table A-1)",
      "valid": true
    },
    {
      "value": "1.2.840.10008.1.1",
      "description": "Verification SOP class (PS3.6 Table A-1)",
      "valid": true
    },
    {
      "value": "1.2.840.010008.1.2",
      "description": "A component with a leading zero",
      "valid": false
    },
    {
      "value": "1.2.840.10008.",
      "description": "Ends with a separator",
      "valid": false
    }
  ],
  "mappings": {
    "fhir": "urn:dicom:uid"
  },
  "links": [
    {
      "type": "doc",
      "url": "https://dicom.nema.org/medical/dicom/current/output/chtml/part05/chapter_9.html"
    },
    {
      "type": "doc",
      "url": "https://dicom.nema.org/medical/dicom/current/output/chtml/part06/chapter_A.html"
    },
    {
      "type": "doc",
      "url": "https://terminology.hl7.org/NamingSystem-dui.html"
    }
  ],
  "quality": {
    "score": 85,
    "missing": [
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/medical/dicom_uid.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/medical/dicom_uid.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/medical/dicom_uid.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/dicom_uid",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/dicom_uid.json"
  }
}