@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/ExamplePatientDuplicateMRNMerged> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ExamplePatientDuplicateMRNMerged"] ;
  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 ExamplePatientDuplicateMRNMerged</b></p><a name=\"ExamplePatientDuplicateMRNMerged\"> </a><a name=\"hcExamplePatientDuplicateMRNMerged\"> </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;\">Trần Thị Bích(official) Female, DoB: 1985-06-12 ( Căn cước công dân: VNCCCD#079185006712)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Other Ids (see the one above)\">Other Ids:</td><td colspan=\"3\"><ul><li>Mã bệnh nhân nội bộ/BV-CR-2019-4471 (, period: (?) --&gt; 2026-02-28)</li><li>Mã bệnh nhân nội bộ/BV-CR-2026-0088 (, period: 2026-03-01 --&gt; (ongoing))</li></ul></td></tr></table></div>"
  ] ;
  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 "CCCD" ] ;
         fhir:Coding.display [ fhir:value "Căn cước công dân" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://fhir.hl7.org.vn/core/sid/cccd" ] ;
     fhir:Identifier.value [ fhir:value "079185006712" ]
  ], [
     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-2019-4471" ] ;
     fhir:Identifier.period [
       fhir:Period.end [ fhir:value "2026-02-28"^^xsd:date ]
     ] ;
     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: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-2026-0088" ] ;
     fhir:Identifier.period [
       fhir:Period.start [ fhir:value "2026-03-01"^^xsd:date ]
     ] ;
     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.name [
     fhir:index -1 ;
     fhir:HumanName.use [ fhir:value "official" ] ;
     fhir:HumanName.text [ fhir:value "Trần Thị Bích" ] ;
     fhir:HumanName.family [ fhir:value "Trần" ] ;
     fhir:HumanName.given [
       fhir:value "Thị" ;
       fhir:index -1
     ], [
       fhir:value "Bích" ;
       fhir:index -1
     ]
  ] ;
  fhir:Patient.gender [ fhir:value "female"] ;
  fhir:Patient.birthDate [ fhir:value "1985-06-12"^^xsd:date] .

# - ontology header ------------------------------------------------------------

<http://fhir.hl7.org.vn/core/Patient/ExamplePatientDuplicateMRNMerged.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

