@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@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/Composition/ExampleCompositionFinalNoAttester> a fhir:Composition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ExampleCompositionFinalNoAttester"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-composition" ;
       fhir:index -1 ;
       fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-composition>
     ]
  ] ;
  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: Composition ExampleCompositionFinalNoAttester</b></p><a name=\"ExampleCompositionFinalNoAttester\"> </a><a name=\"hcExampleCompositionFinalNoAttester\"> </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=\"SCHEME DÙNG TẠM per-facility — 0.8.0 hạ cấp (hậu kiểm toán Codex): định danh này do TỪNG cơ sở#xA;tự quản lý nên khoá uniqueness là system+value; một URI quốc gia dùng chung KHÔNG bảo đảm uniqueness.#xA;Khuyến nghị chính: mỗi cơ sở tự công bố URI riêng; URI scheme này chỉ dùng khi chưa có URI riêng,#xA;khi đó assigner là bắt buộc nghiệp vụ (khuyến nghị bổ sung, không phải cơ chế uniqueness chính).#xA;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-2026-00999</p><p><b>status</b>: Final</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 34108-1}\">Outpatient Note</span></p><p><b>date</b>: 2026-03-19 09:00:00+0700</p><p><b>author</b>: <a href=\"Practitioner-ExamplePractitionerBSCKII.html\">BS CKII Nguyễn Thị Lan</a></p><p><b>title</b>: Bệnh án ngoại trú</p><p><b>custodian</b>: <a href=\"Organization-example-organization-bach-mai.html\">Bệnh viện Bạch Mai</a></p></div>"
  ] ;
  fhir:Composition.identifier [
     fhir:Identifier.system [ fhir:value "http://fhir.hl7.org.vn/core/sid/document-number" ] ;
     fhir:Identifier.value [ fhir:value "BA-2026-00999" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "Bệnh viện Bạch Mai" ]
     ]
  ] ;
  fhir:Composition.status [ fhir:value "final"] ;
  fhir:Composition.type [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       a loinc:34108-1 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "34108-1" ] ;
       fhir:Coding.display [ fhir:value "Outpatient Note" ]
     ]
  ] ;
  fhir:Composition.subject [
     fhir:link <http://fhir.hl7.org.vn/core/Patient/ExamplePatientNguyenVanAn> ;
     fhir:Reference.reference [ fhir:value "Patient/ExamplePatientNguyenVanAn" ] ;
     fhir:Reference.display [ fhir:value "Nguyễn Văn An" ]
  ] ;
  fhir:Composition.date [ fhir:value "2026-03-19T09:00:00+07:00"^^xsd:dateTime] ;
  fhir:Composition.author [
     fhir:index -1 ;
     fhir:link <http://fhir.hl7.org.vn/core/Practitioner/ExamplePractitionerBSCKII> ;
     fhir:Reference.reference [ fhir:value "Practitioner/ExamplePractitionerBSCKII" ] ;
     fhir:Reference.display [ fhir:value "BS CKII Nguyễn Thị Lan" ]
  ] ;
  fhir:Composition.title [ fhir:value "Bệnh án ngoại trú"] ;
  fhir:Composition.custodian [
     fhir:link <http://fhir.hl7.org.vn/core/Organization/example-organization-bach-mai> ;
     fhir:Reference.reference [ fhir:value "Organization/example-organization-bach-mai" ] ;
     fhir:Reference.display [ fhir:value "Bệnh viện Bạch Mai" ]
  ] ;
  fhir:Composition.section [
     fhir:index -1 ;
     fhir:Composition.section.title [ fhir:value "Lý do khám" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         a loinc:42349-1 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "42349-1" ] ;
         fhir:Coding.display [ fhir:value "Reason for referral" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ] ;
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Tái khám đái tháo đường típ 2.</div>"
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.hl7.org.vn/core/Composition/ExampleCompositionFinalNoAttester.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

