@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix mcr: <https://registry.apicrafter.io/vocab#> .
@prefix dt: <https://registry.apicrafter.io/datatype/> .
@prefix cat: <https://registry.apicrafter.io/category/> .
@prefix country: <https://registry.apicrafter.io/country/> .
@prefix tool: <https://registry.apicrafter.io/tool/> .

dt:dicom_uid a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "dicom_uid" ;
    skos:prefLabel "DICOM unique identifier (UID)"@en ;
    skos:definition "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."@en ;
    skos:broader dt:oid ;
    skos:exactMatch <urn:dicom:uid> ;
    skos:example "1.2.840.10008.1.2" ;
    skos:example "1.2.840.10008.5.1.4.1.1.2" ;
    skos:example "1.2.840.10008.1.1" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^(?=[0-9.]{1,64}$)(?:0|[1-9]\\d*)(?:\\.(?:0|[1-9]\\d*))+$" ;
    rdfs:seeAlso <https://dicom.nema.org/medical/dicom/current/output/chtml/part05/chapter_9.html> ;
    rdfs:seeAlso <https://dicom.nema.org/medical/dicom/current/output/chtml/part06/chapter_A.html> ;
    rdfs:seeAlso <https://terminology.hl7.org/NamingSystem-dui.html> .
