@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/Account/ExampleAccountCardiacEpisode> a fhir:Account ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ExampleAccountCardiacEpisode"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account" ;
       fhir:index -1 ;
       fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account>
     ]
  ] ;
  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: Account ExampleAccountCardiacEpisode</b></p><a name=\"ExampleAccountCardiacEpisode\"> </a><a name=\"hcExampleAccountCardiacEpisode\"> </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-account.html\">Tài khoản viện phí — VN Core Account</a></p></div><p><b>identifier</b>: Mã liên kết hồ sơ BHYT/LK-DEVPKG-2026-0012</p><p><b>status</b>: Inactive</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode PBILLACCT}\">patient billing account</span></p><p><b>name</b>: Đợt nội trú tim mạch 18/03–26/03/2026</p><p><b>subject</b>: <a href=\"Patient-ExamplePatientNguyenVanAn.html\">Nguyễn Văn An</a></p><p><b>servicePeriod</b>: 2026-03-18 --&gt; 2026-03-26</p><h3>Coverages</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Coverage</b></td><td><b>Priority</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Coverage-ExampleCoverageBHYTNew.html\">Coverage: extension = Người lao động trong doanh nghiệp nhà nước,-&gt;Bệnh viện Chợ Rẫy; identifier = http://fhir.hl7.org.vn/core/sid/bhyt#VNBHYT#0791234567; status = active; type = Medical; relationship = Self; period = 2025-08-01 --&gt; 2026-07-31</a></td><td>1</td></tr></table><p><b>owner</b>: <a href=\"Organization-ExampleOrganizationChoRay.html\">Bệnh viện Chợ Rẫy</a></p><p><b>partOf</b>: <a href=\"Account-ExampleAccountInpatientEpisode.html\">Tài khoản viện phí đợt nội trú</a></p></div>"
  ] ;
  fhir:Account.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 "MA_LK" ] ;
         fhir:Coding.display [ fhir:value "Mã liên kết hồ sơ BHYT" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://fhir.hl7.org.vn/core/sid/ma-lk" ] ;
     fhir:Identifier.value [ fhir:value "LK-DEVPKG-2026-0012" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "Bệnh viện Chợ Rẫy" ]
     ]
  ] ;
  fhir:Account.status [ fhir:value "inactive"] ;
  fhir:Account.type [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ] ;
       fhir:Coding.code [ fhir:value "PBILLACCT" ] ;
       fhir:Coding.display [ fhir:value "patient billing account" ]
     ]
  ] ;
  fhir:Account.name [ fhir:value "Đợt nội trú tim mạch 18/03–26/03/2026"] ;
  fhir:Account.subject [
     fhir:index -1 ;
     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:Account.servicePeriod [
     fhir:Period.start [ fhir:value "2026-03-18"^^xsd:date ] ;
     fhir:Period.end [ fhir:value "2026-03-26"^^xsd:date ]
  ] ;
  fhir:Account.coverage [
     fhir:index -1 ;
     fhir:Account.coverage.coverage [
       fhir:link <http://fhir.hl7.org.vn/core/Coverage/ExampleCoverageBHYTNew> ;
       fhir:Reference.reference [ fhir:value "Coverage/ExampleCoverageBHYTNew" ]
     ] ;
     fhir:Account.coverage.priority [ fhir:value "1"^^xsd:positiveInteger ]
  ] ;
  fhir:Account.owner [
     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:Account.partOf [
     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í đợt nội trú" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.hl7.org.vn/core/Account/ExampleAccountCardiacEpisode.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

