@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/ExamplePatientSurrogacyNewborn> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ExamplePatientSurrogacyNewborn"] ;
  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 ExamplePatientSurrogacyNewborn</b></p><a name=\"ExamplePatientSurrogacyNewborn\"> </a><a name=\"hcExamplePatientSurrogacyNewborn\"> </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;\">Lê Minh Khang(official) Male, DoB: 2026-05-12 ( Giấy khai sinh: VNGiayKhaiSinh#GKS-2026-000418)</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=\"Mở rộng ghi nhận dân tộc của một con người trong hồ sơ — bệnh nhân, hoặc thân nhân/các bên liên quan được biểu diễn bằng RelatedPerson. Mã 01–54 theo Danh mục thành phần#xA;dân tộc Việt Nam tại QĐ 121-TCTK/PPCĐ. ValueSet hiện còn cho phép mã bổ sung 55 (người#xA;nước ngoài, xuất hiện trong một số sổ tay thống kê GSO) và 99 (fallback cục bộ); hai mã này#xA;không được trình bày như thành phần dân tộc do QĐ 121-TCTK/PPCĐ ban hành. Cấu trúc extension và binding#xA;là thiết kế VN Core. FHIR base chỉ có US Race/Ethnicity — không phù hợp cho Việt Nam.\"><a href=\"StructureDefinition-vn-ext-ethnicity.html\">Dân tộc — Vietnam Ethnicity Extension</a></td><td colspan=\"3\"><span title=\"Codes:{http://fhir.hl7.org.vn/core/CodeSystem/vn-ethnicity-cs 01}\">Kinh</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The patient's legal status as citizen of a country.\">Patient Citizenship:</td><td colspan=\"3\"><ul><li>code: <span title=\"Codes:{urn:iso:std:iso:3166 VN}\">Viet Nam</span></li></ul></td></tr></table></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-ethnicity" ] ;
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-ethnicity-cs" ] ;
         fhir:Coding.code [ fhir:value "01" ] ;
         fhir:Coding.display [ fhir:value "Kinh" ]
       ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Element.extension [
       fhir:index -1 ;
       fhir:Extension.url [ fhir:value "code" ] ;
       fhir:Extension.valueCodeableConcept [
         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:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/patient-citizenship" ]
  ] ;
  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 "GKS" ] ;
         fhir:Coding.display [ fhir:value "Giấy khai sinh" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://fhir.hl7.org.vn/core/sid/gks" ] ;
     fhir:Identifier.value [ fhir:value "GKS-2026-000418" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "UBND phường Ngọc Hà, Thành phố Hà Nội" ]
     ]
  ] ;
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean] ;
  fhir:Patient.name [
     fhir:index -1 ;
     fhir:HumanName.use [ fhir:value "official" ] ;
     fhir:HumanName.text [ fhir:value "Lê Minh Khang" ] ;
     fhir:HumanName.family [ fhir:value "Lê" ] ;
     fhir:HumanName.given [
       fhir:value "Minh" ;
       fhir:index -1
     ], [
       fhir:value "Khang" ;
       fhir:index -1
     ]
  ] ;
  fhir:Patient.gender [ fhir:value "male"] ;
  fhir:Patient.birthDate [ fhir:value "2026-05-12"^^xsd:date] .

# - ontology header ------------------------------------------------------------

<http://fhir.hl7.org.vn/core/Patient/ExamplePatientSurrogacyNewborn.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

