@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://fhir.hl7.org.vn/core/ConceptMap/vn-cm-kcbdb-identity-document-type-to-identifier-type> a fhir:ConceptMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "vn-cm-kcbdb-identity-document-type-to-identifier-type"] ;
  fhir:Resource.language [ fhir:value "vi"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ConceptMap vn-cm-kcbdb-identity-document-type-to-identifier-type</b></p><a name=\"vn-cm-kcbdb-identity-document-type-to-identifier-type\"> </a><a name=\"hcvn-cm-kcbdb-identity-document-type-to-identifier-type\"> </a><p>Mapping from <a href=\"ValueSet-vn-kcbdb-identity-document-type-vs.html\">Loại giấy tờ định danh của người hành nghề — KCB Database Identity Document Type ValueSet</a> to <a href=\"ValueSet-vn-identifier-type-vs.html\">Loại định danh Việt Nam — Vietnam Identifier Type ValueSet</a></p><br/><p>Mapping from <a href=\"CodeSystem-vn-kcbdb-identity-document-type-cs.html\">Loại giấy tờ định danh của người hành nghề — KCB Database Identity Document Type CodeSystem</a> to <a href=\"CodeSystem-vn-identifier-type-cs.html\">Loại định danh Việt Nam — Vietnam Identifier Type CodeSystem</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td></tr><tr><td>1 (Thẻ CCCD)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>CCCD (Căn cước công dân)</td></tr><tr><td>2 (Thẻ CMND)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>CMND (Chứng minh nhân dân)</td></tr><tr><td>3 (Hộ chiếu)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>HC (Hộ chiếu)</td></tr></table></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-legal-basis" ] ;
     fhir:Extension.valueCoding [
       fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-legal-basis-exception-cs" ] ;
       fhir:Coding.code [ fhir:value "local-design" ]
     ]
  ] ;
  fhir:ConceptMap.url [ fhir:value "http://fhir.hl7.org.vn/core/ConceptMap/vn-cm-kcbdb-identity-document-type-to-identifier-type"] ;
  fhir:ConceptMap.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "urn:oid:2.25.161089673617632664299011809196868855799.18.11" ]
  ] ;
  fhir:ConceptMap.version [ fhir:value "0.10.0"] ;
  fhir:ConceptMap.name [ fhir:value "VNCMKCBDBIdentityDocumentTypeToIdentifierType"] ;
  fhir:ConceptMap.title [ fhir:value "Ánh xạ loại giấy tờ định danh (QĐ 2682/QĐ-BYT) → loại định danh VN Core — KCB Database Identity Document Type to Identifier Type"] ;
  fhir:ConceptMap.status [ fhir:value "draft"] ;
  fhir:ConceptMap.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:ConceptMap.date [ fhir:value "2026-09-05"^^xsd:date] ;
  fhir:ConceptMap.publisher [ fhir:value "Omi HealthTech / VN Core FHIR Community Initiative"] ;
  fhir:ConceptMap.contact [
     fhir:index -1 ;
     fhir:ContactDetail.name [ fhir:value "Omi HealthTech / VN Core FHIR Community Initiative" ] ;
     fhir:ContactDetail.telecom [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://hl7.org.vn" ]
     ], [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "info@hl7.org.vn" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:ContactDetail.name [ fhir:value "Omi HealthTech (OmiGroup)" ] ;
     fhir:ContactDetail.telecom [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://omihealthtech.vn" ]
     ], [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://omigroup.vn" ]
     ], [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "info@hl7.org.vn" ]
     ]
  ] ;
  fhir:ConceptMap.description [ fhir:value "Crosswalk 'Loại định danh' 1/2/3 của Phần II STT 7 QĐ 2682/QĐ-BYT sang vn-identifier-type-cs (CCCD, CMND, HC). Ánh xạ do VN Core thiết kế."] ;
  fhir:ConceptMap.jurisdiction [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "VN" ] ;
       fhir:Coding.display [ fhir:value "Viet Nam" ]
     ]
  ] ;
  fhir:ConceptMap.copyright [ fhir:value "Mã nguồn: Bộ Y tế Việt Nam — QĐ 2682/QĐ-BYT (22/08/2026). Ánh xạ: Omi HealthTech / VN Core FHIR Community Initiative (thiết kế cục bộ, văn bản không in bảng ánh xạ)."] ;
  fhir:ConceptMap.sourceUri [ fhir:value "http://fhir.hl7.org.vn/core/ValueSet/vn-kcbdb-identity-document-type-vs"] ;
  fhir:ConceptMap.targetUri [ fhir:value "http://fhir.hl7.org.vn/core/ValueSet/vn-identifier-type-vs"] ;
  fhir:ConceptMap.group [
     fhir:index -1 ;
     fhir:ConceptMap.group.source [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-kcbdb-identity-document-type-cs" ] ;
     fhir:ConceptMap.group.target [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-identifier-type-cs" ] ;
     fhir:ConceptMap.group.element [
       fhir:index -1 ;
       fhir:ConceptMap.group.element.code [ fhir:value "1" ] ;
       fhir:ConceptMap.group.element.display [ fhir:value "Thẻ CCCD" ] ;
       fhir:ConceptMap.group.element.target [
         fhir:index -1 ;
         fhir:ConceptMap.group.element.target.code [ fhir:value "CCCD" ] ;
         fhir:ConceptMap.group.element.target.display [ fhir:value "Căn cước công dân" ] ;
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equivalent" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:ConceptMap.group.element.code [ fhir:value "2" ] ;
       fhir:ConceptMap.group.element.display [ fhir:value "Thẻ CMND" ] ;
       fhir:ConceptMap.group.element.target [
         fhir:index -1 ;
         fhir:ConceptMap.group.element.target.code [ fhir:value "CMND" ] ;
         fhir:ConceptMap.group.element.target.display [ fhir:value "Chứng minh nhân dân" ] ;
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equivalent" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:ConceptMap.group.element.code [ fhir:value "3" ] ;
       fhir:ConceptMap.group.element.display [ fhir:value "Hộ chiếu" ] ;
       fhir:ConceptMap.group.element.target [
         fhir:index -1 ;
         fhir:ConceptMap.group.element.target.code [ fhir:value "HC" ] ;
         fhir:ConceptMap.group.element.target.display [ fhir:value "Hộ chiếu" ] ;
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equivalent" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.hl7.org.vn/core/ConceptMap/vn-cm-kcbdb-identity-document-type-to-identifier-type.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

