@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/Patient/ExamplePatientEmergencyTransferTwoMRN> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ExamplePatientEmergencyTransferTwoMRN"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-patient" ;
       fhir:index -1 ;
       fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-patient>
     ]
  ] ;
  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: Patient ExamplePatientEmergencyTransferTwoMRN</b></p><a name=\"ExamplePatientEmergencyTransferTwoMRN\"> </a><a name=\"hcExamplePatientEmergencyTransferTwoMRN\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-vn-core-patient.html\">Bệnh nhân VN Core — VN Core Patient Profile</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Chưa xác định Unknown, DoB:  ( Mã bệnh nhân nội bộ: BV-TN-CC-2026-0107)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Other Ids (see the one above)\">Other Ids:</td><td colspan=\"3\">Mã bệnh nhân nội bộ/BV-CR-CC-2026-0113</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Mở rộng ghi nhận lý do bất khả kháng khi chưa thu thập được số CCCD/số định danh cá nhân trong hồ sơ BHYT. Dùng cho các ca đặc biệt như trẻ sơ sinh hoặc người bệnh mất ý thức.#xA;PHẠM VI CĂN CỨ: QĐ 3176/QĐ-BYT cho phép để trống trường SO_CCCD trong trường hợp bất khả kháng (trẻ sơ sinh, người mất ý thức/tâm thần không lấy được số định danh) — đó là chế định nghiệp vụ. TẬP LÝ DO thì không văn bản nào ban hành, do VN Core thiết kế để ghi nhận có cấu trúc thay vì bỏ trống không lời giải thích.\"><a href=\"StructureDefinition-vn-ext-force-majeure-reason.html\">Lý do bất khả kháng thiếu CCCD — Force Majeure Reason Extension</a></td><td colspan=\"3\"><span title=\"Codes:{http://fhir.hl7.org.vn/core/CodeSystem/vn-force-majeure-reason-cs UNCONSCIOUS}\">Người bệnh mất ý thức</span></td></tr></table></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-force-majeure-reason" ] ;
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-force-majeure-reason-cs" ] ;
         fhir:Coding.code [ fhir:value "UNCONSCIOUS" ] ;
         fhir:Coding.display [ fhir:value "Người bệnh mất ý thức" ]
       ]
     ]
  ] ;
  fhir:Patient.identifier [
     fhir:index -1 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-identifier-type-cs" ] ;
         fhir:Coding.code [ fhir:value "MRN" ] ;
         fhir:Coding.display [ fhir:value "Mã bệnh nhân nội bộ" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://dktayninh.benhvien.example.vn/sid/mrn" ] ;
     fhir:Identifier.value [ fhir:value "BV-TN-CC-2026-0107" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "Bệnh viện Đa khoa tỉnh Tây Ninh — cơ sở cấp mã bệnh nhân" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-identifier-type-cs" ] ;
         fhir:Coding.code [ fhir:value "MRN" ] ;
         fhir:Coding.display [ fhir:value "Mã bệnh nhân nội bộ" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://cho-ray.benhvien.example.vn/sid/mrn" ] ;
     fhir:Identifier.value [ fhir:value "BV-CR-CC-2026-0113" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "Bệnh viện Chợ Rẫy — cơ sở cấp mã bệnh nhân" ]
     ]
  ] ;
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean] ;
  fhir:Patient.name [
     fhir:index -1 ;
     fhir:HumanName.text [ fhir:value "Chưa xác định" ]
  ] ;
  fhir:Patient.gender [ fhir:value "unknown"] ;
  fhir:Patient.birthDate [
     fhir:Element.extension [
       fhir:index -1 ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ] ;
       fhir:Extension.valueCode [ fhir:value "unknown" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.hl7.org.vn/core/Patient/ExamplePatientEmergencyTransferTwoMRN.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

