@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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/Composition/ExampleCompositionDischargeSummary> a fhir:Composition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExampleCompositionDischargeSummary"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-composition"^^xsd:anyURI ;
       fhir:l <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-composition>
     ] )
  ] ; # 
  fhir:language [ fhir:v "vi"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Composition ExampleCompositionDischargeSummary</b></p><a name=\"ExampleCompositionDischargeSummary\"> </a><a name=\"hcExampleCompositionDischargeSummary\"> </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-composition.html\">Bệnh án điện tử VN Core — VN Core Composition Profile</a></p></div><p><b>identifier</b>: <a href=\"NamingSystem-vn-document-number-ns.html\" title=\"Namespace khuyến nghị cho mã tài liệu lâm sàng nội bộ do cơ sở y tế phát sinh, dùng cho Composition.identifier và DocumentReference.identifier khi chưa có NamingSystem riêng của từng cơ sở.\">VNDocumentNumber</a>/BA-NKH-2026-00123</p><p><b>status</b>: Final</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 18842-5}\">Discharge summary</span></p><p><b>encounter</b>: <a href=\"Encounter-ExampleEncounterInpatient.html\">Encounter: extension = Đúng tuyến,Khỏi; status = finished; class = inpatient encounter (ActCode#IMP); period = 2026-03-10 14:00:00+0700 --&gt; 2026-03-17 10:00:00+0700; reasonCode = </a></p><p><b>date</b>: 2026-03-17 10:00:00+0700</p><p><b>author</b>: <a href=\"Practitioner-ExamplePractitionerBSCKII.html\">BS CK II Trần Văn Hùng</a></p><p><b>title</b>: Tóm tắt xuất viện — Viêm phổi J18.9</p><p><b>confidentiality</b>: restricted</p><p><b>custodian</b>: <a href=\"Organization-ExampleOrganizationChoRay.html\">Bệnh viện Chợ Rẫy</a></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier [
     fhir:system [
       fhir:v "http://fhir.hl7.org.vn/core/sid/document-number"^^xsd:anyURI ;
       fhir:l <http://fhir.hl7.org.vn/core/sid/document-number>
     ] ;
     fhir:value [ fhir:v "BA-NKH-2026-00123" ]
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:type [
     fhir:coding ( [
       a loinc:18842-5 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "18842-5" ] ;
       fhir:display [ fhir:v "Discharge summary" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://fhir.hl7.org.vn/core/Patient/ExamplePatientNguyenVanAn> ;
     fhir:reference [ fhir:v "Patient/ExamplePatientNguyenVanAn" ] ;
     fhir:display [ fhir:v "Nguyễn Văn An" ]
  ] ; # 
  fhir:encounter [
     fhir:l <http://fhir.hl7.org.vn/core/Encounter/ExampleEncounterInpatient> ;
     fhir:reference [ fhir:v "Encounter/ExampleEncounterInpatient" ]
  ] ; # 
  fhir:date [ fhir:v "2026-03-17T10:00:00+07:00"^^xsd:dateTime] ; # 
  fhir:author ( [
     fhir:l <http://fhir.hl7.org.vn/core/Practitioner/ExamplePractitionerBSCKII> ;
     fhir:reference [ fhir:v "Practitioner/ExamplePractitionerBSCKII" ] ;
     fhir:display [ fhir:v "BS CK II Trần Văn Hùng" ]
  ] ) ; # 
  fhir:title [ fhir:v "Tóm tắt xuất viện — Viêm phổi J18.9"] ; # 
  fhir:confidentiality [ fhir:v "R"] ; # 
  fhir:custodian [
     fhir:l <http://fhir.hl7.org.vn/core/Organization/ExampleOrganizationChoRay> ;
     fhir:reference [ fhir:v "Organization/ExampleOrganizationChoRay" ] ;
     fhir:display [ fhir:v "Bệnh viện Chợ Rẫy" ]
  ] ; # 
  fhir:section ( [
     fhir:title [ fhir:v "Lý do nhập viện" ] ;
     fhir:code [
       fhir:coding ( [
         a loinc:10154-3 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "10154-3" ] ;
         fhir:display [ fhir:v "Chief complaint Narrative - Reported" ]
       ] )
     ] ;
     fhir:text [
       fhir:status [ fhir:v "generated" ] ;
       fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Bệnh nhân Nguyễn Văn An, 45 tuổi, nhập viện ngày 10/3/2026 vì sốt cao 39°C kéo dài 3 ngày, ho có đờm vàng, khó thở khi gắng sức. X-quang ngực thẳng (PA) ngày nhập viện: thâm nhiễm phế nang thuỳ dưới phổi phải.</div>"^^rdf:XMLLiteral ]
     ]
  ] [
     fhir:title [ fhir:v "Chẩn đoán xác định" ] ;
     fhir:code [
       fhir:coding ( [
         a loinc:29548-5 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "29548-5" ] ;
         fhir:display [ fhir:v "Diagnosis Narrative" ]
       ] )
     ] ;
     fhir:text [
       fhir:status [ fhir:v "generated" ] ;
       fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Viêm phổi không xác định tác nhân (J18.9 — ICD-10 VN per QĐ 4469/QĐ-BYT ngày 28/10/2020). Bệnh kèm: Đái tháo đường type 2 (E11.9) — kiểm soát tốt trước nhập viện.</div>"^^rdf:XMLLiteral ]
     ]
  ] [
     fhir:title [ fhir:v "Tình trạng xuất viện" ] ;
     fhir:code [
       fhir:coding ( [
         a loinc:18842-5 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "18842-5" ] ;
         fhir:display [ fhir:v "Discharge summary" ]
       ] )
     ] ;
     fhir:text [
       fhir:status [ fhir:v "generated" ] ;
       fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Sau 7 ngày điều trị kháng sinh Amoxicillin-Clavulanate đường tĩnh mạch, bệnh nhân hết sốt, hết khó thở, ăn ngủ tốt. X-quang kiểm tra ngày 16/3/2026: tổn thương phổi phải hấp thu gần hoàn toàn. Xuất viện ngày 17/3/2026 với đơn thuốc uống 7 ngày. Tái khám sau 2 tuần tại phòng khám Nội hô hấp — BV Chợ Rẫy.</div>"^^rdf:XMLLiteral ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

