@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/ChargeItem/ExampleChargeItemBedDay> a fhir:ChargeItem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ExampleChargeItemBedDay"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-charge-item" ;
       fhir:index -1 ;
       fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-charge-item>
     ]
  ] ;
  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: ChargeItem ExampleChargeItemBedDay</b></p><a name=\"ExampleChargeItemBedDay\"> </a><a name=\"hcExampleChargeItemBedDay\"> </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-charge-item.html\">Dòng chi phí phát sinh — VN Core ChargeItem</a></p></div><p><b>definitionCanonical</b>: <a href=\"ChargeItemDefinition-ExampleChargeItemDefinitionBedDay.html\">Giá ngày giường bệnh nội khoa — Bệnh viện Chợ Rẫy, hiệu lực 2026</a></p><p><b>status</b>: Billed</p><p><b>code</b>: <span title=\"Codes:{http://fhir.hl7.org.vn/core/CodeSystem/vn-bed-day-code-cs 01.01}\">Ngày giường bệnh nội khoa</span></p><p><b>subject</b>: <a href=\"Patient-ExamplePatientNguyenVanAn.html\">Nguyễn Văn An</a></p><p><b>context</b>: <a href=\"Encounter-ExampleEncounterInpatient.html\">Đợt điều trị nội trú 10/03–17/03/2026</a></p><p><b>occurrence</b>: 2026-03-14 --&gt; 2026-03-16</p><p><b>performingOrganization</b>: <a href=\"Organization-ExampleOrganizationChoRay.html\">Bệnh viện Chợ Rẫy</a></p><p><b>quantity</b>: 3 ngày<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  coded = 'd')</span></p><p><b>account</b>: <a href=\"Account-ExampleAccountInpatientEpisode.html\">Tài khoản viện phí LK-ITEMIZED-2026-0001</a></p><p><b>note</b>: </p><blockquote><div><p>Ba ngày giường thuộc phân đoạn mức hưởng 100% của bảng kê LK-ITEMIZED-2026-0001.</p>\n</div></blockquote></div>"
  ] ;
  fhir:ChargeItem.definitionCanonical [
     fhir:value "http://cho-ray.benhvien.example.vn/ChargeItemDefinition/ngay-giuong-noi-khoa-2026" ;
     fhir:index -1 ;
     fhir:link <http://cho-ray.benhvien.example.vn/ChargeItemDefinition/ngay-giuong-noi-khoa-2026>
  ] ;
  fhir:ChargeItem.status [ fhir:value "billed"] ;
  fhir:ChargeItem.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-bed-day-code-cs" ] ;
       fhir:Coding.code [ fhir:value "01.01" ] ;
       fhir:Coding.display [ fhir:value "Ngày giường bệnh nội khoa" ]
     ]
  ] ;
  fhir:ChargeItem.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:ChargeItem.context [
     fhir:link <http://fhir.hl7.org.vn/core/Encounter/ExampleEncounterInpatient> ;
     fhir:Reference.reference [ fhir:value "Encounter/ExampleEncounterInpatient" ] ;
     fhir:Reference.display [ fhir:value "Đợt điều trị nội trú 10/03–17/03/2026" ]
  ] ;
  fhir:ChargeItem.occurrencePeriod [
     fhir:Period.start [ fhir:value "2026-03-14"^^xsd:date ] ;
     fhir:Period.end [ fhir:value "2026-03-16"^^xsd:date ]
  ] ;
  fhir:ChargeItem.performingOrganization [
     fhir:link <http://fhir.hl7.org.vn/core/Organization/ExampleOrganizationChoRay> ;
     fhir:Reference.reference [ fhir:value "Organization/ExampleOrganizationChoRay" ] ;
     fhir:Reference.display [ fhir:value "Bệnh viện Chợ Rẫy" ]
  ] ;
  fhir:ChargeItem.quantity [
     fhir:Quantity.value [ fhir:value "3"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "ngày" ] ;
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
     fhir:Quantity.code [ fhir:value "d" ]
  ] ;
  fhir:ChargeItem.account [
     fhir:index -1 ;
     fhir:link <http://fhir.hl7.org.vn/core/Account/ExampleAccountInpatientEpisode> ;
     fhir:Reference.reference [ fhir:value "Account/ExampleAccountInpatientEpisode" ] ;
     fhir:Reference.display [ fhir:value "Tài khoản viện phí LK-ITEMIZED-2026-0001" ]
  ] ;
  fhir:ChargeItem.note [
     fhir:index -1 ;
     fhir:Annotation.text [ fhir:value "Ba ngày giường thuộc phân đoạn mức hưởng 100% của bảng kê LK-ITEMIZED-2026-0001." ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.hl7.org.vn/core/ChargeItem/ExampleChargeItemBedDay.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

