@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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/Encounter/ExampleEncounterYHCT> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExampleEncounterYHCT"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-encounter"^^xsd:anyURI ;
       fhir:l <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-encounter>
     ] )
  ] ; # 
  fhir:language [ fhir:v "vi"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter ExampleEncounterYHCT</b></p><a name=\"ExampleEncounterYHCT\"> </a><a name=\"hcExampleEncounterYHCT\"> </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-encounter.html\">Lượt khám/nhập viện VN Core — VN Core Encounter Profile</a></p></div><p><b>Loại khám chữa bệnh BHYT — Vietnam Insurance Visit Type Extension</b>: <span title=\"Codes:{http://fhir.hl7.org.vn/core/CodeSystem/vn-insurance-visit-type-cs 5}\">Khám chữa bệnh ban đầu</span></p><p><b>Hình thức chuyển tuyến — Referral Mode Extension</b>: <span title=\"Codes:{http://fhir.hl7.org.vn/core/CodeSystem/vn-referral-mode-cs 1}\">Đến khám</span></p><p><b>Mã lượt khám — Encounter Code Extension</b>: Mã lượt khám chữa bệnh/LK-2026-03-22-0087</p><p><b>Kết quả điều trị — Vietnam Treatment Outcome Extension</b>: <span title=\"Codes:{http://fhir.hl7.org.vn/core/CodeSystem/vn-treatment-outcome-cs 2}\">Đỡ</span></p><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html#v3-ActCode-AMB\">ActCode: AMB</a> (ambulatory)</p><p><b>type</b>: <span title=\"Codes:{http://fhir.hl7.org.vn/core/CodeSystem/vn-encounter-type-cs 01}\">Khám ngoại trú kết hợp YHCT</span></p><p><b>subject</b>: <a href=\"Patient-ExamplePatientNguyenVanAn.html\">Nguyễn Văn An Male, DoB: 1985-03-15 ( Căn cước công dân: VNCCCD#001085012345)</a></p><p><b>period</b>: 2026-03-22 08:00:00+0700 --&gt; 2026-03-22 10:30:00+0700</p><p><b>reasonCode</b>: <span title=\"Codes:\">Đau lưng tăng khi trời lạnh, hạn chế vận động</span></p><blockquote><p><b>diagnosis</b></p><p><b>condition</b>: M54.5 — Đau thắt lưng (Tây y)</p><p><b>use</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/diagnosis-role AD}\">Admission diagnosis</span></p><p><b>rank</b>: 1</p></blockquote><blockquote><p><b>diagnosis</b></p><p><b>condition</b>: U62.392.5.01 — Yêu thống: Thể hàn thấp (YHCT)</p><p><b>use</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/diagnosis-role AD}\">Admission diagnosis</span></p><p><b>rank</b>: 2</p></blockquote><p><b>serviceProvider</b>: <a href=\"Organization-ExampleOrganizationChoRay.html\">Organization Bệnh viện Chợ Rẫy</a></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-insurance-visit-type"^^xsd:anyURI ;
       fhir:l <http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-insurance-visit-type>
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://fhir.hl7.org.vn/core/CodeSystem/vn-insurance-visit-type-cs"^^xsd:anyURI ;
           fhir:l <http://fhir.hl7.org.vn/core/CodeSystem/vn-insurance-visit-type-cs>
         ] ;
         fhir:code [ fhir:v "5" ] ;
         fhir:display [ fhir:v "Khám chữa bệnh ban đầu" ]
       ] )
     ]
  ] [
     fhir:url [
       fhir:v "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-referral-mode"^^xsd:anyURI ;
       fhir:l <http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-referral-mode>
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://fhir.hl7.org.vn/core/CodeSystem/vn-referral-mode-cs"^^xsd:anyURI ;
           fhir:l <http://fhir.hl7.org.vn/core/CodeSystem/vn-referral-mode-cs>
         ] ;
         fhir:code [ fhir:v "1" ] ;
         fhir:display [ fhir:v "Đến khám" ]
       ] )
     ]
  ] [
     fhir:url [
       fhir:v "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-encounter-code"^^xsd:anyURI ;
       fhir:l <http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-encounter-code>
     ] ;
     fhir:value [
       a fhir:Identifier ;
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://fhir.hl7.org.vn/core/CodeSystem/vn-identifier-type-cs"^^xsd:anyURI ;
             fhir:l <http://fhir.hl7.org.vn/core/CodeSystem/vn-identifier-type-cs>
           ] ;
           fhir:code [ fhir:v "MA_LUOT_KCB" ] ;
           fhir:display [ fhir:v "Mã lượt khám chữa bệnh" ]
         ] )
       ] ;
       fhir:system [
         fhir:v "http://fhir.hl7.org.vn/core/sid/ma-luot-kcb"^^xsd:anyURI ;
         fhir:l <http://fhir.hl7.org.vn/core/sid/ma-luot-kcb>
       ] ;
       fhir:value [ fhir:v "LK-2026-03-22-0087" ]
     ]
  ] [
     fhir:url [
       fhir:v "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-treatment-outcome"^^xsd:anyURI ;
       fhir:l <http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-treatment-outcome>
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://fhir.hl7.org.vn/core/CodeSystem/vn-treatment-outcome-cs"^^xsd:anyURI ;
           fhir:l <http://fhir.hl7.org.vn/core/CodeSystem/vn-treatment-outcome-cs>
         ] ;
         fhir:code [ fhir:v "2" ] ;
         fhir:display [ fhir:v "Đỡ" ]
       ] )
     ]
  ] ) ; # 
  fhir:status [ fhir:v "finished"] ; # 
  fhir:class [
     fhir:system [
       fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
     ] ;
     fhir:code [ fhir:v "AMB" ] ;
     fhir:display [ fhir:v "ambulatory" ]
  ] ; # 
  fhir:type ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://fhir.hl7.org.vn/core/CodeSystem/vn-encounter-type-cs"^^xsd:anyURI ;
         fhir:l <http://fhir.hl7.org.vn/core/CodeSystem/vn-encounter-type-cs>
       ] ;
       fhir:code [ fhir:v "01" ] ;
       fhir:display [ fhir:v "Khám bệnh" ]
     ] ) ;
     fhir:text [ fhir:v "Khám ngoại trú kết hợp YHCT" ]
  ] ) ; # 
  fhir:subject [
     fhir:l <http://fhir.hl7.org.vn/core/Patient/ExamplePatientNguyenVanAn> ;
     fhir:reference [ fhir:v "Patient/ExamplePatientNguyenVanAn" ]
  ] ; # 
  fhir:period [
     fhir:start [ fhir:v "2026-03-22T08:00:00+07:00"^^xsd:dateTime ] ;
     fhir:end [ fhir:v "2026-03-22T10:30:00+07:00"^^xsd:dateTime ]
  ] ; # 
  fhir:reasonCode ( [
     fhir:text [ fhir:v "Đau lưng tăng khi trời lạnh, hạn chế vận động" ]
  ] ) ; # 
  fhir:diagnosis ( [
     fhir:condition [
       fhir:display [ fhir:v "M54.5 — Đau thắt lưng (Tây y)" ]
     ] ;
     fhir:use [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/diagnosis-role"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/diagnosis-role>
         ] ;
         fhir:code [ fhir:v "AD" ] ;
         fhir:display [ fhir:v "Admission diagnosis" ]
       ] )
     ] ;
     fhir:rank [ fhir:v "1"^^xsd:positiveInteger ]
  ] [
     fhir:condition [
       fhir:display [ fhir:v "U62.392.5.01 — Yêu thống: Thể hàn thấp (YHCT)" ]
     ] ;
     fhir:use [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/diagnosis-role"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/diagnosis-role>
         ] ;
         fhir:code [ fhir:v "AD" ] ;
         fhir:display [ fhir:v "Admission diagnosis" ]
       ] )
     ] ;
     fhir:rank [ fhir:v "2"^^xsd:positiveInteger ]
  ] ) ; # 
  fhir:serviceProvider [
     fhir:l <http://fhir.hl7.org.vn/core/Organization/ExampleOrganizationChoRay> ;
     fhir:reference [ fhir:v "Organization/ExampleOrganizationChoRay" ]
  ] . # 

# -------------------------------------------------------------------------------------

