@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/ExampleAccountCoverageDuplicatePriority> a fhir:Account ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ExampleAccountCoverageDuplicatePriority"] ;
  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 ExampleAccountCoverageDuplicatePriority</b></p><a name=\"ExampleAccountCoverageDuplicatePriority\"> </a><a name=\"hcExampleAccountCoverageDuplicatePriority\"> </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-ITEMIZED-2026-0001</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ú 10/03–17/03/2026 — Ngoại tiêu hoá</p><p><b>subject</b>: <a href=\"Patient-ExamplePatientNguyenVanAn.html\">Nguyễn Văn An</a></p><p><b>servicePeriod</b>: 2026-03-10 --&gt; 2026-03-17</p><blockquote><p><b>coverage</b></p><p><b>coverage</b>: <a href=\"Coverage-ExampleCoverageBHYTReissued.html\">Coverage: extension = Cán bộ, công chức, viên chức,-&gt;Bệnh viện Chợ Rẫy; identifier = http://fhir.hl7.org.vn/core/sid/bhyt#VNBHYT#HC4790791234567; status = active; type = Medical; relationship = Self; period = 2026-03-15 --&gt; 2027-03-14</a></p><p><b>priority</b>: 1</p></blockquote><blockquote><p><b>coverage</b></p><p><b>coverage</b>: <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></p><p><b>priority</b>: 1</p></blockquote><p><b>owner</b>: <a href=\"Organization-ExampleOrganizationChoRay.html\">Bệnh viện Chợ Rẫy</a></p><p><b>description</b>: Fixture âm chỉ làm trùng thứ tự ưu tiên; mọi dữ liệu khác giữ nguyên từ ví dụ dương.</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-ITEMIZED-2026-0001" ] ;
     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ú 10/03–17/03/2026 — Ngoại tiêu hoá"] ;
  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-10"^^xsd:date ] ;
     fhir:Period.end [ fhir:value "2026-03-17"^^xsd:date ]
  ] ;
  fhir:Account.coverage [
     fhir:index -1 ;
     fhir:Account.coverage.coverage [
       fhir:link <http://fhir.hl7.org.vn/core/Coverage/ExampleCoverageBHYTReissued> ;
       fhir:Reference.reference [ fhir:value "Coverage/ExampleCoverageBHYTReissued" ]
     ] ;
     fhir:Account.coverage.priority [ fhir:value "1"^^xsd:positiveInteger ]
  ], [
     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.description [ fhir:value "Fixture âm chỉ làm trùng thứ tự ưu tiên; mọi dữ liệu khác giữ nguyên từ ví dụ dương."] .

# - ontology header ------------------------------------------------------------

<http://fhir.hl7.org.vn/core/Account/ExampleAccountCoverageDuplicatePriority.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

