@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/StructureDefinition/vn-core-account> a fhir:StructureDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "vn-core-account"] ;
  fhir:Resource.language [ fhir:value "vi"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition vn-core-account</b></p><a name=\"vn-core-account\"> </a><a name=\"hcvn-core-account\"> </a><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vn-core-account-definitions.html#Account\">Account</a><a name=\"Account\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;\" href=\"http://hl7.org/fhir/R4/conformance-rules.html#constraints\" title=\"This element has or is affected by constraints ( vn-account-period-covers-encounters, vn-account-coverage-priority-required, vn-account-coverage-priority-distinct )\">C</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/account.html\">Account</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Tracks balance, charges, for patient or cost center</span><br class=\"constraint\"/><span title=\"null\" class=\"constraint\">Constraints: </span><span style=\"font-weight:bold\" title=\"Nếu tài khoản viện phí khai `servicePeriod` thì kỳ đó phải có điểm bắt đầu. Không có điểm bắt đầu thì mọi phép đối chiếu 'chi phí này thuộc kỳ nào' đều vô nghĩa. A billing account service period SHALL have a start.\" class=\"constraint\">vn-account-period-covers-encounters</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"Mỗi thẻ bảo hiểm được khai trên tài khoản phải có thứ tự ưu tiên. Every coverage entry on an account SHALL carry a priority.\" class=\"constraint\">vn-account-coverage-priority-required</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"Các thẻ bảo hiểm trên cùng tài khoản không được trùng thứ tự ưu tiên. Coverage priorities on an account SHALL be unique.\" class=\"constraint\">vn-account-coverage-priority-distinct</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> <a style=\"font-style: italic; font-style: italic\" href=\"StructureDefinition-vn-core-account-definitions.html#Account.identifier\">Slices for identifier</a><a name=\"Account.identifier\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000; font-style: italic\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-style: italic\"/><span style=\"font-style: italic\">1</span><span style=\"font-style: italic\">..</span><span style=\"opacity: 0.5; font-style: italic\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5; font-style: italic\">Account number</span><br style=\"font-style: italic\"/><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by value:system</span><table style=\"font-style: italic\" class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-submitter.html\">Bên gửi hồ sơ BHYT (Submitter)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a> &amp; <b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist\" title=\"Obligation Codes: persist\">persist</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-adjudicator.html\">Bên giám định BHYT (Adjudicator)</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck125.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vn-core-account-definitions.html#Account.identifier:MALK\" title=\"Slice MALK: Cùng giá trị với `VNCoreCostStatementInvoice.identifier[MALK]` và `VNCoreCostStatementComposition.identifier`. Đây là điểm neo để hệ thống ngoài (cổng BHXH, hệ thống kế toán) tìm đúng tài khoản mà không cần biết id nội bộ.\">identifier:MALK</a><a name=\"Account.identifier:MALK\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Mã liên kết hồ sơ (MA_LK) của đợt khám bệnh, chữa bệnh<table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-submitter.html\">Bên gửi hồ sơ BHYT (Submitter)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a> &amp; <b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist\" title=\"Obligation Codes: persist\">persist</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-adjudicator.html\">Bên giám định BHYT (Adjudicator)</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1251.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vn-core-account-definitions.html#Account.identifier:MALK.type\">type</a><a name=\"Account.identifier:MALK.type\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Description of identifier</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">At least the following</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck12501.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_fixed.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#CodeableConcept.coding\">coding</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Code defined by a terminology system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">(Complex)</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck125010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_fixed.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.system\">system</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Identity of the terminology system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">http://fhir.hl7.org.vn/core/CodeSystem/vn-identifier-type-cs</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck125000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_fixed.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Symbol in syntax defined by the system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">MA_LK</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1250.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vn-core-account-definitions.html#Account.identifier:MALK.system\">system</a><a name=\"Account.identifier:MALK.system\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The namespace for the identifier value</span><br/><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">http://fhir.hl7.org.vn/core/sid/ma-lk</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1240.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vn-core-account-definitions.html#Account.identifier:MALK.value\">value</a><a name=\"Account.identifier:MALK.value\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The value that is unique</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vn-core-account-definitions.html#Account.status\" title=\"`active` khi đợt điều trị còn phát sinh chi phí; `inactive` sau khi đã chốt bảng kê và quyết toán; `on-hold` khi đang tranh chấp hoặc chờ giám định bổ sung. Trạng thái này KHÔNG thay cho trạng thái giám định — cái đó nằm ở `ClaimResponse` và `vn-claim-audit-status-cs`.\">status</a><a name=\"Account.status\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Trạng thái tài khoản viện phí<table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-submitter.html\">Bên gửi hồ sơ BHYT (Submitter)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a> &amp; <b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist\" title=\"Obligation Codes: persist\">persist</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-adjudicator.html\">Bên giám định BHYT (Adjudicator)</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vn-core-account-definitions.html#Account.type\">type</a><a name=\"Account.type\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Loại tài khoản — luôn là tài khoản thanh toán viện phí<br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">At least the following</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-submitter.html\">Bên gửi hồ sơ BHYT (Submitter)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a> &amp; <b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist\" title=\"Obligation Codes: persist\">persist</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-adjudicator.html\">Bên giám định BHYT (Adjudicator)</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck101.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_fixed.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#CodeableConcept.coding\">coding</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Code defined by a terminology system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">(Complex)</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_fixed.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.system\">system</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Identity of the terminology system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">http://terminology.hl7.org/CodeSystem/v3-ActCode</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_fixed.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Symbol in syntax defined by the system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">PBILLACCT</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vn-core-account-definitions.html#Account.name\">name</a><a name=\"Account.name\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Tên gợi nhớ, ví dụ 'Đợt nội trú 10/03–17/03/2026'<table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-submitter.html\">Bên gửi hồ sơ BHYT (Submitter)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a> &amp; <b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist\" title=\"Obligation Codes: persist\">persist</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-adjudicator.html\">Bên giám định BHYT (Adjudicator)</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vn-core-account-definitions.html#Account.subject\" title=\"Siết từ `0..*` của FHIR gốc xuống đúng một. Một tài khoản viện phí gộp nhiều người bệnh là vô nghĩa trong nghiệp vụ Việt Nam và làm hỏng mọi phép đối soát quyền lợi BHYT.\">subject</a><a name=\"Account.subject\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-vn-core-patient.html\">Bệnh nhân VN Core — VN Core Patient Profile</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Người bệnh của đợt điều trị<table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-submitter.html\">Bên gửi hồ sơ BHYT (Submitter)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a> &amp; <b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist\" title=\"Obligation Codes: persist\">persist</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-adjudicator.html\">Bên giám định BHYT (Adjudicator)</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vn-core-account-definitions.html#Account.servicePeriod\" title=\"Bao trùm mọi `Encounter` trỏ về tài khoản này. Dùng để kiểm tra dòng chi phí có rơi đúng kỳ hay không, và để phân đoạn mức hưởng trên bảng kê khớp thời gian.\">servicePeriod</a><a name=\"Account.servicePeriod\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Period\">Period</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Kỳ phát sinh chi phí của đợt điều trị<table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-submitter.html\">Bên gửi hồ sơ BHYT (Submitter)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a> &amp; <b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist\" title=\"Obligation Codes: persist\">persist</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-adjudicator.html\">Bên giám định BHYT (Adjudicator)</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vn-core-account-definitions.html#Account.coverage\" title=\"Danh sách thẻ có hiệu lực trong kỳ. Người bệnh được cấp thẻ mới giữa đợt sẽ có nhiều `coverage`; thứ tự ưu tiên ghi ở `priority`. Mức hưởng theo từng khoảng thời gian KHÔNG ghi ở đây mà ở `VNCoreExtCostStatementSegment` của bảng kê — Account chỉ nói thẻ nào liên quan.\">coverage</a><a name=\"Account.coverage\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Thẻ BHYT áp cho đợt điều trị<table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-submitter.html\">Bên gửi hồ sơ BHYT (Submitter)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a> &amp; <b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist\" title=\"Obligation Codes: persist\">persist</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-adjudicator.html\">Bên giám định BHYT (Adjudicator)</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vn-core-account-definitions.html#Account.coverage.coverage\">coverage</a><a name=\"Account.coverage.coverage\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-vn-core-coverage.html\">Thẻ BHYT VN Core — VN Core Coverage Profile</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The party(s), such as insurances, that may contribute to the payment of this account</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vn-core-account-definitions.html#Account.coverage.priority\" title=\"Bắt buộc trên mỗi phần tử `coverage`. Giá trị không được trùng giữa các thẻ của cùng tài khoản; số nhỏ hơn có mức ưu tiên cao hơn theo FHIR R4.\">priority</a><a name=\"Account.coverage.priority\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#positiveInt\">positiveInt</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Thứ tự ưu tiên duy nhất của thẻ trong tài khoản</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vn-core-account-definitions.html#Account.owner\" title=\"Bắt buộc. Cùng một `MA_LK` có thể xuất hiện ở nhiều hệ thống; `owner` cho biết cơ sở nào chịu trách nhiệm về số liệu của tài khoản này.\">owner</a><a name=\"Account.owner\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-vn-core-organization.html\">Cơ sở y tế VN Core — VN Core Organization Profile</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Cơ sở khám bệnh, chữa bệnh giữ tài khoản viện phí<table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-submitter.html\">Bên gửi hồ sơ BHYT (Submitter)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a> &amp; <b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist\" title=\"Obligation Codes: persist\">persist</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-adjudicator.html\">Bên giám định BHYT (Adjudicator)</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vn-core-account-definitions.html#Account.description\">description</a><a name=\"Account.description\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Explanation of purpose/use</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-submitter.html\">Bên gửi hồ sơ BHYT (Submitter)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a> &amp; <b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist\" title=\"Obligation Codes: persist\">persist</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-adjudicator.html\">Bên giám định BHYT (Adjudicator)</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vn-core-account-definitions.html#Account.guarantor\" title=\"Dùng khi phần cùng chi trả hoặc phần ngoài phạm vi hưởng do bên thứ ba trả: đơn vị sử dụng lao động, quỹ hỗ trợ người bệnh, bảo hiểm thương mại. Người bệnh tự trả thì không cần khai.\">guarantor</a><a name=\"Account.guarantor\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Bên chịu trách nhiệm chi trả phần ngoài quỹ BHYT<table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-submitter.html\">Bên gửi hồ sơ BHYT (Submitter)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a> &amp; <b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist\" title=\"Obligation Codes: persist\">persist</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-adjudicator.html\">Bên giám định BHYT (Adjudicator)</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vn-core-account-definitions.html#Account.guarantor.party\">party</a><a name=\"Account.guarantor.party\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-vn-core-patient.html\">Bệnh nhân VN Core — VN Core Patient Profile</a> | <a href=\"StructureDefinition-vn-core-relatedperson.html\">Người liên quan/người giám hộ VN Core — VN Core RelatedPerson Profile</a> | <a href=\"StructureDefinition-vn-core-organization.html\">Cơ sở y tế VN Core — VN Core Organization Profile</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Responsible entity</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vn-core-account-definitions.html#Account.partOf\">partOf</a><a name=\"Account.partOf\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-vn-core-account.html\">Tài khoản viện phí — VN Core Account</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Tài khoản cha, nếu cơ sở tách tài khoản theo khoa hoặc giai đoạn<table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-submitter.html\">Bên gửi hồ sơ BHYT (Submitter)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a> &amp; <b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist\" title=\"Obligation Codes: persist\">persist</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-vn-actor-bhyt-adjudicator.html\">Bên giám định BHYT (Adjudicator)</a></td></tr></table></td></tr>#xD;\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-legal-basis" ] ;
     fhir:Extension.valueCoding [
       fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-legal-document-ref-cs" ] ;
       fhir:Coding.code [ fhir:value "QD-3176-2024" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-legal-basis" ] ;
     fhir:Extension.valueCoding [
       fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-legal-document-ref-cs" ] ;
       fhir:Coding.code [ fhir:value "QD-697-2026" ]
     ]
  ] ;
  fhir:StructureDefinition.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account"] ;
  fhir:StructureDefinition.identifier [
     fhir:index -1 ;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "urn:oid:2.25.161089673617632664299011809196868855799.42.18" ]
  ] ;
  fhir:StructureDefinition.version [ fhir:value "0.10.0"] ;
  fhir:StructureDefinition.name [ fhir:value "VNCoreAccount"] ;
  fhir:StructureDefinition.title [ fhir:value "Tài khoản viện phí — VN Core Account"] ;
  fhir:StructureDefinition.status [ fhir:value "draft"] ;
  fhir:StructureDefinition.date [ fhir:value "2026-08-04"^^xsd:date] ;
  fhir:StructureDefinition.publisher [ fhir:value "Omi HealthTech / VN Core FHIR Community Initiative"] ;
  fhir:StructureDefinition.contact [
     fhir:index -1 ;
     fhir:ContactDetail.name [ fhir:value "Omi HealthTech / VN Core FHIR Community Initiative" ] ;
     fhir:ContactDetail.telecom [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://hl7.org.vn" ]
     ], [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "info@hl7.org.vn" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:ContactDetail.name [ fhir:value "Omi HealthTech (OmiGroup)" ] ;
     fhir:ContactDetail.telecom [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://omihealthtech.vn" ]
     ], [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://omigroup.vn" ]
     ], [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "info@hl7.org.vn" ]
     ]
  ] ;
  fhir:StructureDefinition.description [ fhir:value "Tài khoản viện phí gom toàn bộ chi phí của một đợt khám bệnh, chữa bệnh về một chỗ.\n\n**Vì sao cần.** Một đợt điều trị thực tế có thể trải nhiều `Encounter` (nhập khoa, chuyển khoa,\nchuyển tuyến nội viện) nhưng chỉ có **một** bảng kê chi phí và **một** hồ sơ đề nghị thanh toán.\n`Account` là nơi duy nhất trong R4 giữ đúng quan hệ đó: `Encounter.account`, `ChargeItem.account` và\n`Invoice.account` cùng trỏ về nó. Nhờ vậy câu hỏi *'dòng chi phí này thuộc đợt điều trị nào, và bảng\nkê nào tổng hợp nó'* trả lời được bằng truy vấn chứ không bằng cách so chuỗi `MA_LK`.\n\n**Quan hệ với MA_LK.** `MA_LK` theo QĐ 3176/QĐ-BYT vẫn là định danh nghiệp vụ để gửi BHXH và vẫn nằm\ntrên `identifier`. Khác biệt: `MA_LK` là *khoá trao đổi*, còn `Account` là *đối tượng có thật trong\nhệ thống* — hai thứ không thay nhau được.\n\n**Không dùng cho.** Account KHÔNG mang số tiền. Tổng chi phí nằm ở `Invoice.totalNet`, kết quả giám\nđịnh nằm ở `ClaimResponse`. Account chỉ trả lời câu hỏi *thuộc về đâu*."] ;
  fhir:StructureDefinition.jurisdiction [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "VN" ] ;
       fhir:Coding.display [ fhir:value "Viet Nam" ]
     ]
  ] ;
  fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"] ;
  fhir:StructureDefinition.mapping [
     fhir:index -1 ;
     fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ] ;
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ] ;
     fhir:StructureDefinition.mapping.name [ fhir:value "RIM Mapping" ]
  ], [
     fhir:index -1 ;
     fhir:StructureDefinition.mapping.identity [ fhir:value "w5" ] ;
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/fivews" ] ;
     fhir:StructureDefinition.mapping.name [ fhir:value "FiveWs Pattern Mapping" ]
  ] ;
  fhir:StructureDefinition.kind [ fhir:value "resource"] ;
  fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean] ;
  fhir:StructureDefinition.type [ fhir:value "Account"] ;
  fhir:StructureDefinition.baseDefinition [
     fhir:value "http://hl7.org/fhir/StructureDefinition/Account" ;
     fhir:link <http://hl7.org/fhir/StructureDefinition/Account>
  ] ;
  fhir:StructureDefinition.derivation [ fhir:value "constraint"] ;
  fhir:StructureDefinition.snapshot [
     fhir:Element.extension [
       fhir:index -1 ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version" ] ;
       fhir:Extension.valueString [ fhir:value "4.0.1" ]
     ] ;
     fhir:StructureDefinition.snapshot.element [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account" ] ;
       fhir:ElementDefinition.short [ fhir:value "Tracks balance, charges, for patient or cost center" ] ;
       fhir:ElementDefinition.definition [ fhir:value "A financial tool for tracking value accrued for a particular purpose.  In the healthcare field, used to track charges for a patient, cost centers, etc." ] ;
       fhir:ElementDefinition.alias [
         fhir:value "Cost center" ;
         fhir:index -1
       ], [
         fhir:value "Record" ;
         fhir:index -1
       ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Account" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "dom-2" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "contained.contained.empty()" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:contained)" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>
         ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "dom-3" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>
         ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "dom-4" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>
         ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "dom-5" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a security label" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.security.empty()" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:security))" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>
         ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" ] ;
           fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" ] ;
           fhir:Extension.valueMarkdown [ fhir:value "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." ]
         ] ;
         fhir:ElementDefinition.constraint.key [ fhir:value "dom-6" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "warning" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "A resource should have narrative for robust management" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "text.`div`.exists()" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:text/h:div)" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>
         ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "vn-account-period-covers-encounters" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "Nếu tài khoản viện phí khai `servicePeriod` thì kỳ đó phải có điểm bắt đầu. Không có điểm bắt đầu thì mọi phép đối chiếu 'chi phí này thuộc kỳ nào' đều vô nghĩa. A billing account service period SHALL have a start." ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "servicePeriod.exists() implies servicePeriod.start.exists()" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account" ;
           fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account>
         ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "vn-account-coverage-priority-required" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "Mỗi thẻ bảo hiểm được khai trên tài khoản phải có thứ tự ưu tiên. Every coverage entry on an account SHALL carry a priority." ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "coverage.all(priority.exists())" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account" ;
           fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account>
         ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "vn-account-coverage-priority-distinct" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "Các thẻ bảo hiểm trên cùng tài khoản không được trùng thứ tự ưu tiên. Coverage priorities on an account SHALL be unique." ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "coverage.priority.isDistinct()" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account" ;
           fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "Entity. Role, or Act" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "Account" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.id" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.id" ] ;
       fhir:ElementDefinition.short [ fhir:value "Logical id of this artifact" ] ;
       fhir:ElementDefinition.definition [ fhir:value "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ;
       fhir:ElementDefinition.comment [ fhir:value "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Resource.id" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:Extension.valueUrl [ fhir:value "id" ]
         ] ;
         fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.meta" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.meta" ] ;
       fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ] ;
       fhir:ElementDefinition.definition [ fhir:value "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Resource.meta" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Meta" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.implicitRules" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.implicitRules" ] ;
       fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ] ;
       fhir:ElementDefinition.definition [ fhir:value "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ] ;
       fhir:ElementDefinition.comment [ fhir:value "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Resource.implicitRules" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "uri" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifierReason [ fhir:value "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.language" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.language" ] ;
       fhir:ElementDefinition.short [ fhir:value "Language of the resource content" ] ;
       fhir:ElementDefinition.definition [ fhir:value "The base language in which the resource is written." ] ;
       fhir:ElementDefinition.comment [ fhir:value "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Resource.language" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://hl7.org/fhir/ValueSet/all-languages" ;
             fhir:link <http://hl7.org/fhir/ValueSet/all-languages>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:Extension.valueString [ fhir:value "Language" ]
         ] ;
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ] ;
         fhir:ElementDefinition.binding.description [ fhir:value "A human language." ] ;
         fhir:ElementDefinition.binding.valueSet [
           fhir:value "http://hl7.org/fhir/ValueSet/languages|4.0.1" ;
           fhir:link <http://hl7.org/fhir/ValueSet/languages|4.0.1>
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.text" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.text" ] ;
       fhir:ElementDefinition.short [ fhir:value "Text summary of the resource, for human interpretation" ] ;
       fhir:ElementDefinition.definition [ fhir:value "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." ] ;
       fhir:ElementDefinition.comment [ fhir:value "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later." ] ;
       fhir:ElementDefinition.alias [
         fhir:value "narrative" ;
         fhir:index -1
       ], [
         fhir:value "html" ;
         fhir:index -1
       ], [
         fhir:value "xhtml" ;
         fhir:index -1
       ], [
         fhir:value "display" ;
         fhir:index -1
       ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DomainResource.text" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Narrative" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "Act.text?" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.contained" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.contained" ] ;
       fhir:ElementDefinition.short [ fhir:value "Contained, inline Resources" ] ;
       fhir:ElementDefinition.definition [ fhir:value "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." ] ;
       fhir:ElementDefinition.comment [ fhir:value "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." ] ;
       fhir:ElementDefinition.alias [
         fhir:value "inline resources" ;
         fhir:index -1
       ], [
         fhir:value "anonymous resources" ;
         fhir:index -1
       ], [
         fhir:value "contained resources" ;
         fhir:index -1
       ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DomainResource.contained" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Resource" ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.extension" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.extension" ] ;
       fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ;
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
       fhir:ElementDefinition.alias [
         fhir:value "extensions" ;
         fhir:index -1
       ], [
         fhir:value "user content" ;
         fhir:index -1
       ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.modifierExtension" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.modifierExtension" ] ;
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ] ;
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
       fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ;
       fhir:ElementDefinition.alias [
         fhir:value "extensions" ;
         fhir:index -1
       ], [
         fhir:value "user content" ;
         fhir:index -1
       ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DomainResource.modifierExtension" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.identifier" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.identifier" ] ;
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.slicing.discriminator [
           fhir:index -1 ;
           fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ] ;
           fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "system" ]
         ] ;
         fhir:ElementDefinition.slicing.description [ fhir:value "Phân lát định danh tài khoản viện phí theo hệ thống định danh" ] ;
         fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]
       ] ;
       fhir:ElementDefinition.short [ fhir:value "Account number" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Unique identifier used to reference the account.  Might or might not be intended for human use (e.g. credit card number)." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Account.identifier" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.identifier" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value ".id" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.identifier:MALK" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.identifier" ] ;
       fhir:ElementDefinition.sliceName [ fhir:value "MALK" ] ;
       fhir:ElementDefinition.short [ fhir:value "Mã liên kết hồ sơ (MA_LK) của đợt khám bệnh, chữa bệnh" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Cùng giá trị với `VNCoreCostStatementInvoice.identifier[MALK]` và `VNCoreCostStatementComposition.identifier`. Đây là điểm neo để hệ thống ngoài (cổng BHXH, hệ thống kế toán) tìm đúng tài khoản mà không cần biết id nội bộ." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Account.identifier" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.identifier" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value ".id" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.identifier:MALK.id" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.identifier.id" ] ;
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr" ;
         fhir:index -1
       ] ;
       fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:Extension.valueUrl [ fhir:value "string" ]
         ] ;
         fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.identifier:MALK.extension" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.identifier.extension" ] ;
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.slicing.discriminator [
           fhir:index -1 ;
           fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ] ;
           fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ]
         ] ;
         fhir:ElementDefinition.slicing.description [ fhir:value "Extensions are always sliced by (at least) url" ] ;
         fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]
       ] ;
       fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ;
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
       fhir:ElementDefinition.alias [
         fhir:value "extensions" ;
         fhir:index -1
       ], [
         fhir:value "user content" ;
         fhir:index -1
       ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.identifier:MALK.use" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.identifier.use" ] ;
       fhir:ElementDefinition.short [ fhir:value "usual | official | temp | secondary | old (If known)" ] ;
       fhir:ElementDefinition.definition [ fhir:value "The purpose of this identifier." ] ;
       fhir:ElementDefinition.comment [ fhir:value "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary." ] ;
       fhir:ElementDefinition.requirements [ fhir:value "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Identifier.use" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifierReason [ fhir:value "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one." ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:Extension.valueString [ fhir:value "IdentifierUse" ]
         ] ;
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ;
         fhir:ElementDefinition.binding.description [ fhir:value "Identifies the purpose for this identifier, if known ." ] ;
         fhir:ElementDefinition.binding.valueSet [
           fhir:value "http://hl7.org/fhir/ValueSet/identifier-use|4.0.1" ;
           fhir:link <http://hl7.org/fhir/ValueSet/identifier-use|4.0.1>
         ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "Role.code or implied by context" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.identifier:MALK.type" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.identifier.type" ] ;
       fhir:ElementDefinition.short [ fhir:value "Description of identifier" ] ;
       fhir:ElementDefinition.definition [ fhir:value "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose." ] ;
       fhir:ElementDefinition.comment [ fhir:value "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type." ] ;
       fhir:ElementDefinition.requirements [ fhir:value "Allows users to make use of identifiers when the identifier system is not known." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Identifier.type" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ] ;
       fhir:ElementDefinition.patternCodeableConcept [
         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:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:Extension.valueString [ fhir:value "IdentifierType" ]
         ] ;
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ] ;
         fhir:ElementDefinition.binding.description [ fhir:value "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose." ] ;
         fhir:ElementDefinition.binding.valueSet [
           fhir:value "http://hl7.org/fhir/ValueSet/identifier-type|4.0.1" ;
           fhir:link <http://hl7.org/fhir/ValueSet/identifier-type|4.0.1>
         ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "CX.5" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "Role.code or implied by context" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.identifier:MALK.system" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.identifier.system" ] ;
       fhir:ElementDefinition.short [ fhir:value "The namespace for the identifier value" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Establishes the namespace for the value - that is, a URL that describes a set values that are unique." ] ;
       fhir:ElementDefinition.comment [ fhir:value "Identifier.system is always case sensitive." ] ;
       fhir:ElementDefinition.requirements [ fhir:value "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Identifier.system" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "uri" ]
       ] ;
       fhir:ElementDefinition.fixedUri [ fhir:value "http://fhir.hl7.org.vn/core/sid/ma-lk" ] ;
       fhir:ElementDefinition.example [
         fhir:index -1 ;
         fhir:ElementDefinition.example.label [ fhir:value "General" ] ;
         fhir:ElementDefinition.example.valueUri [ fhir:value "http://www.acme.com/identifiers/patient" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "CX.4 / EI-2-4" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "II.root or Role.id.root" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "./IdentifierType" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.identifier:MALK.value" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.identifier.value" ] ;
       fhir:ElementDefinition.short [ fhir:value "The value that is unique" ] ;
       fhir:ElementDefinition.definition [ fhir:value "The portion of the identifier typically relevant to the user and which is unique within the context of the system." ] ;
       fhir:ElementDefinition.comment [ fhir:value "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Identifier.value" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]
       ] ;
       fhir:ElementDefinition.example [
         fhir:index -1 ;
         fhir:ElementDefinition.example.label [ fhir:value "General" ] ;
         fhir:ElementDefinition.example.valueString [ fhir:value "123456" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "CX.1 / EI.1" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "./Value" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.identifier:MALK.period" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.identifier.period" ] ;
       fhir:ElementDefinition.short [ fhir:value "Time period when id is/was valid for use" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Time period during which identifier is/was valid for use." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Identifier.period" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "CX.7 + CX.8" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "Role.effectiveTime or implied by context" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "./StartDate and ./EndDate" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.identifier:MALK.assigner" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.identifier.assigner" ] ;
       fhir:ElementDefinition.short [ fhir:value "Organization that issued id (may be just text)" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Organization that issued/manages the identifier." ] ;
       fhir:ElementDefinition.comment [ fhir:value "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Identifier.assigner" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ;
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1" ;
           fhir:index -1 ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Organization|4.0.1>
         ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "CX.4 / (CX.4,CX.9,CX.10)" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "./IdentifierIssuingAuthority" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.status" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.status" ] ;
       fhir:ElementDefinition.short [ fhir:value "Trạng thái tài khoản viện phí" ] ;
       fhir:ElementDefinition.definition [ fhir:value "`active` khi đợt điều trị còn phát sinh chi phí; `inactive` sau khi đã chốt bảng kê và quyết toán; `on-hold` khi đang tranh chấp hoặc chờ giám định bổ sung. Trạng thái này KHÔNG thay cho trạng thái giám định — cái đó nằm ở `ClaimResponse` và `vn-claim-audit-status-cs`." ] ;
       fhir:ElementDefinition.comment [ fhir:value "This element is labeled as a modifier because the status contains the codes inactive and entered-in-error that mark the Account as not currently valid." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Account.status" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifierReason [ fhir:value "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:Extension.valueString [ fhir:value "AccountStatus" ]
         ] ;
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ;
         fhir:ElementDefinition.binding.description [ fhir:value "Indicates whether the account is available to be used." ] ;
         fhir:ElementDefinition.binding.valueSet [
           fhir:value "http://hl7.org/fhir/ValueSet/account-status|4.0.1" ;
           fhir:link <http://hl7.org/fhir/ValueSet/account-status|4.0.1>
         ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.status" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value ".statusCode" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.type" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.type" ] ;
       fhir:ElementDefinition.short [ fhir:value "Loại tài khoản — luôn là tài khoản thanh toán viện phí" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Categorizes the account for reporting and searching purposes." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Account.type" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ] ;
       fhir:ElementDefinition.patternCodeableConcept [
         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:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:Extension.valueString [ fhir:value "AccountType" ]
         ] ;
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ;
         fhir:ElementDefinition.binding.description [ fhir:value "The usage type of this account, permits categorization of accounts." ] ;
         fhir:ElementDefinition.binding.valueSet [
           fhir:value "http://hl7.org/fhir/ValueSet/account-type|4.0.1" ;
           fhir:link <http://hl7.org/fhir/ValueSet/account-type|4.0.1>
         ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.class" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value ".code" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.name" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.name" ] ;
       fhir:ElementDefinition.short [ fhir:value "Tên gợi nhớ, ví dụ 'Đợt nội trú 10/03–17/03/2026'" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Name used for the account when displaying it to humans in reports, etc." ] ;
       fhir:ElementDefinition.alias [
         fhir:value "Title" ;
         fhir:index -1
       ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Account.name" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.what[x]" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value ".title" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.subject" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.subject" ] ;
       fhir:ElementDefinition.short [ fhir:value "Người bệnh của đợt điều trị" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Siết từ `0..*` của FHIR gốc xuống đúng một. Một tài khoản viện phí gộp nhiều người bệnh là vô nghĩa trong nghiệp vụ Việt Nam và làm hỏng mọi phép đối soát quyền lợi BHYT." ] ;
       fhir:ElementDefinition.comment [ fhir:value "Accounts can be applied to non-patients for tracking other non-patient related activities, such as group services (patients not tracked, and costs charged to another body), or might not be allocated." ] ;
       fhir:ElementDefinition.alias [
         fhir:value "target" ;
         fhir:index -1
       ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Account.subject" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ;
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-patient" ;
           fhir:index -1 ;
           fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-patient>
         ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.subject[x]" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value ".subject" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.subject" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.servicePeriod" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.servicePeriod" ] ;
       fhir:ElementDefinition.short [ fhir:value "Kỳ phát sinh chi phí của đợt điều trị" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Bao trùm mọi `Encounter` trỏ về tài khoản này. Dùng để kiểm tra dòng chi phí có rơi đúng kỳ hay không, và để phân đoạn mức hưởng trên bảng kê khớp thời gian." ] ;
       fhir:ElementDefinition.comment [ fhir:value "It is possible for transactions to be posted outside the service period, as long as the service was provided within the defined service period." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Account.servicePeriod" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.done[x]" ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value ".coverage.insurancePolicy.effectiveTime" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.coverage" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.coverage" ] ;
       fhir:ElementDefinition.short [ fhir:value "Thẻ BHYT áp cho đợt điều trị" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Danh sách thẻ có hiệu lực trong kỳ. Người bệnh được cấp thẻ mới giữa đợt sẽ có nhiều `coverage`; thứ tự ưu tiên ghi ở `priority`. Mức hưởng theo từng khoảng thời gian KHÔNG ghi ở đây mà ở `VNCoreExtCostStatementSegment` của bảng kê — Account chỉ nói thẻ nào liên quan." ] ;
       fhir:ElementDefinition.comment [ fhir:value "Typically. this may be some form of insurance, internal charges, or self-pay.\n\nLocal or jurisdictional business rules may determine which coverage covers which types of billable items charged to the account, and in which order.\nWhere the order is important, a local/jurisdictional extension may be defined to specify the order for the type of charge." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Account.coverage" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value ".coverage" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.coverage.id" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.coverage.id" ] ;
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr" ;
         fhir:index -1
       ] ;
       fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:Extension.valueUrl [ fhir:value "string" ]
         ] ;
         fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.coverage.extension" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.coverage.extension" ] ;
       fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ;
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
       fhir:ElementDefinition.alias [
         fhir:value "extensions" ;
         fhir:index -1
       ], [
         fhir:value "user content" ;
         fhir:index -1
       ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.coverage.modifierExtension" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.coverage.modifierExtension" ] ;
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
       fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ;
       fhir:ElementDefinition.alias [
         fhir:value "extensions" ;
         fhir:index -1
       ], [
         fhir:value "user content" ;
         fhir:index -1
       ], [
         fhir:value "modifiers" ;
         fhir:index -1
       ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.coverage.coverage" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.coverage.coverage" ] ;
       fhir:ElementDefinition.short [ fhir:value "The party(s), such as insurances, that may contribute to the payment of this account" ] ;
       fhir:ElementDefinition.definition [ fhir:value "The party(s) that contribute to payment (or part of) of the charges applied to this account (including self-pay).\n\nA coverage may only be responsible for specific types of charges, and the sequence of the coverages in the account could be important when processing billing." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Account.coverage.coverage" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ;
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-coverage" ;
           fhir:index -1 ;
           fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-coverage>
         ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value ".coverage.insurancePolicy.author" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.coverage.priority" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.coverage.priority" ] ;
       fhir:ElementDefinition.short [ fhir:value "Thứ tự ưu tiên duy nhất của thẻ trong tài khoản" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Bắt buộc trên mỗi phần tử `coverage`. Giá trị không được trùng giữa các thẻ của cùng tài khoản; số nhỏ hơn có mức ưu tiên cao hơn theo FHIR R4." ] ;
       fhir:ElementDefinition.comment [ fhir:value "It is common in some jurisdictions for there to be multiple coverages allocated to an account, and a sequence is required to order the settling of the account (often with insurance claiming)." ] ;
       fhir:ElementDefinition.alias [
         fhir:value "coordination of benefit priority" ;
         fhir:index -1
       ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Account.coverage.priority" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value ".coverage.sequenceNumber" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.owner" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.owner" ] ;
       fhir:ElementDefinition.short [ fhir:value "Cơ sở khám bệnh, chữa bệnh giữ tài khoản viện phí" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Bắt buộc. Cùng một `MA_LK` có thể xuất hiện ở nhiều hệ thống; `owner` cho biết cơ sở nào chịu trách nhiệm về số liệu của tài khoản này." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Account.owner" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ;
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-organization" ;
           fhir:index -1 ;
           fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-organization>
         ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value ".holder" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.description" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.description" ] ;
       fhir:ElementDefinition.short [ fhir:value "Explanation of purpose/use" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Provides additional information about what the account tracks and how it is used." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Account.description" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value ".subjectOf.observationEvent[code=\"annotation\"].value" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.guarantor" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.guarantor" ] ;
       fhir:ElementDefinition.short [ fhir:value "Bên chịu trách nhiệm chi trả phần ngoài quỹ BHYT" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Dùng khi phần cùng chi trả hoặc phần ngoài phạm vi hưởng do bên thứ ba trả: đơn vị sử dụng lao động, quỹ hỗ trợ người bệnh, bảo hiểm thương mại. Người bệnh tự trả thì không cần khai." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Account.guarantor" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value ".holder.guarantorRole" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.guarantor.id" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.guarantor.id" ] ;
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr" ;
         fhir:index -1
       ] ;
       fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:Extension.valueUrl [ fhir:value "string" ]
         ] ;
         fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.guarantor.extension" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.guarantor.extension" ] ;
       fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ;
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
       fhir:ElementDefinition.alias [
         fhir:value "extensions" ;
         fhir:index -1
       ], [
         fhir:value "user content" ;
         fhir:index -1
       ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.guarantor.modifierExtension" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.guarantor.modifierExtension" ] ;
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
       fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ;
       fhir:ElementDefinition.alias [
         fhir:value "extensions" ;
         fhir:index -1
       ], [
         fhir:value "user content" ;
         fhir:index -1
       ], [
         fhir:value "modifiers" ;
         fhir:index -1
       ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.guarantor.party" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.guarantor.party" ] ;
       fhir:ElementDefinition.short [ fhir:value "Responsible entity" ] ;
       fhir:ElementDefinition.definition [ fhir:value "The entity who is responsible." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Account.guarantor.party" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ;
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-patient" ;
           fhir:index -1 ;
           fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-patient>
         ], [
           fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-relatedperson" ;
           fhir:index -1 ;
           fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-relatedperson>
         ], [
           fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-organization" ;
           fhir:index -1 ;
           fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-organization>
         ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value ".holder.guarantorRole[guarantorPerson|guarantorOrganization]" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.guarantor.onHold" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.guarantor.onHold" ] ;
       fhir:ElementDefinition.short [ fhir:value "Credit or other hold applied" ] ;
       fhir:ElementDefinition.definition [ fhir:value "A guarantor may be placed on credit hold or otherwise have their role temporarily suspended." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Account.guarantor.onHold" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "boolean" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value ".holder.guarantorRole.statusCode" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.guarantor.period" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.guarantor.period" ] ;
       fhir:ElementDefinition.short [ fhir:value "Guarantee account during" ] ;
       fhir:ElementDefinition.definition [ fhir:value "The timeframe during which the guarantor accepts responsibility for the account." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Account.guarantor.period" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value ".holder.guarantorRole.effectiveTime" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.partOf" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0" ;
             fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account|0.10.0>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.partOf" ] ;
       fhir:ElementDefinition.short [ fhir:value "Tài khoản cha, nếu cơ sở tách tài khoản theo khoa hoặc giai đoạn" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Reference to a parent Account." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Account.partOf" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ;
         fhir:ElementDefinition.type.targetProfile [
           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:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
         ]
       ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]
     ]
  ] ;
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.differential.element [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account" ] ;
       fhir:ElementDefinition.constraint [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "vn-account-period-covers-encounters" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "Nếu tài khoản viện phí khai `servicePeriod` thì kỳ đó phải có điểm bắt đầu. Không có điểm bắt đầu thì mọi phép đối chiếu 'chi phí này thuộc kỳ nào' đều vô nghĩa. A billing account service period SHALL have a start." ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "servicePeriod.exists() implies servicePeriod.start.exists()" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account" ;
           fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account>
         ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "vn-account-coverage-priority-required" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "Mỗi thẻ bảo hiểm được khai trên tài khoản phải có thứ tự ưu tiên. Every coverage entry on an account SHALL carry a priority." ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "coverage.all(priority.exists())" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account" ;
           fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account>
         ]
       ], [
         fhir:index -1 ;
         fhir:ElementDefinition.constraint.key [ fhir:value "vn-account-coverage-priority-distinct" ] ;
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
         fhir:ElementDefinition.constraint.human [ fhir:value "Các thẻ bảo hiểm trên cùng tài khoản không được trùng thứ tự ưu tiên. Coverage priorities on an account SHALL be unique." ] ;
         fhir:ElementDefinition.constraint.expression [ fhir:value "coverage.priority.isDistinct()" ] ;
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account" ;
           fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account>
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.identifier" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.identifier" ] ;
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.slicing.discriminator [
           fhir:index -1 ;
           fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ] ;
           fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "system" ]
         ] ;
         fhir:ElementDefinition.slicing.description [ fhir:value "Phân lát định danh tài khoản viện phí theo hệ thống định danh" ] ;
         fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]
       ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.identifier:MALK" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.identifier" ] ;
       fhir:ElementDefinition.sliceName [ fhir:value "MALK" ] ;
       fhir:ElementDefinition.short [ fhir:value "Mã liên kết hồ sơ (MA_LK) của đợt khám bệnh, chữa bệnh" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Cùng giá trị với `VNCoreCostStatementInvoice.identifier[MALK]` và `VNCoreCostStatementComposition.identifier`. Đây là điểm neo để hệ thống ngoài (cổng BHXH, hệ thống kế toán) tìm đúng tài khoản mà không cần biết id nội bộ." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.identifier:MALK.type" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.identifier.type" ] ;
       fhir:ElementDefinition.patternCodeableConcept [
         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:index -1 ;
       fhir:Element.id [ fhir:value "Account.identifier:MALK.system" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.identifier.system" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.fixedUri [ fhir:value "http://fhir.hl7.org.vn/core/sid/ma-lk" ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.identifier:MALK.value" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.identifier.value" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.status" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.status" ] ;
       fhir:ElementDefinition.short [ fhir:value "Trạng thái tài khoản viện phí" ] ;
       fhir:ElementDefinition.definition [ fhir:value "`active` khi đợt điều trị còn phát sinh chi phí; `inactive` sau khi đã chốt bảng kê và quyết toán; `on-hold` khi đang tranh chấp hoặc chờ giám định bổ sung. Trạng thái này KHÔNG thay cho trạng thái giám định — cái đó nằm ở `ClaimResponse` và `vn-claim-audit-status-cs`." ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.type" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.type" ] ;
       fhir:ElementDefinition.short [ fhir:value "Loại tài khoản — luôn là tài khoản thanh toán viện phí" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.patternCodeableConcept [
         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:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.name" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.name" ] ;
       fhir:ElementDefinition.short [ fhir:value "Tên gợi nhớ, ví dụ 'Đợt nội trú 10/03–17/03/2026'" ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.subject" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.subject" ] ;
       fhir:ElementDefinition.short [ fhir:value "Người bệnh của đợt điều trị" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Siết từ `0..*` của FHIR gốc xuống đúng một. Một tài khoản viện phí gộp nhiều người bệnh là vô nghĩa trong nghiệp vụ Việt Nam và làm hỏng mọi phép đối soát quyền lợi BHYT." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ;
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-patient" ;
           fhir:index -1 ;
           fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-patient>
         ]
       ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.servicePeriod" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.servicePeriod" ] ;
       fhir:ElementDefinition.short [ fhir:value "Kỳ phát sinh chi phí của đợt điều trị" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Bao trùm mọi `Encounter` trỏ về tài khoản này. Dùng để kiểm tra dòng chi phí có rơi đúng kỳ hay không, và để phân đoạn mức hưởng trên bảng kê khớp thời gian." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.coverage" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.coverage" ] ;
       fhir:ElementDefinition.short [ fhir:value "Thẻ BHYT áp cho đợt điều trị" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Danh sách thẻ có hiệu lực trong kỳ. Người bệnh được cấp thẻ mới giữa đợt sẽ có nhiều `coverage`; thứ tự ưu tiên ghi ở `priority`. Mức hưởng theo từng khoảng thời gian KHÔNG ghi ở đây mà ở `VNCoreExtCostStatementSegment` của bảng kê — Account chỉ nói thẻ nào liên quan." ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.coverage.coverage" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.coverage.coverage" ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ;
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-coverage" ;
           fhir:index -1 ;
           fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-coverage>
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.coverage.priority" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.coverage.priority" ] ;
       fhir:ElementDefinition.short [ fhir:value "Thứ tự ưu tiên duy nhất của thẻ trong tài khoản" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Bắt buộc trên mỗi phần tử `coverage`. Giá trị không được trùng giữa các thẻ của cùng tài khoản; số nhỏ hơn có mức ưu tiên cao hơn theo FHIR R4." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.owner" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.owner" ] ;
       fhir:ElementDefinition.short [ fhir:value "Cơ sở khám bệnh, chữa bệnh giữ tài khoản viện phí" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Bắt buộc. Cùng một `MA_LK` có thể xuất hiện ở nhiều hệ thống; `owner` cho biết cơ sở nào chịu trách nhiệm về số liệu của tài khoản này." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ;
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-organization" ;
           fhir:index -1 ;
           fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-organization>
         ]
       ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.description" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.description" ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.guarantor" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.guarantor" ] ;
       fhir:ElementDefinition.short [ fhir:value "Bên chịu trách nhiệm chi trả phần ngoài quỹ BHYT" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Dùng khi phần cùng chi trả hoặc phần ngoài phạm vi hưởng do bên thứ ba trả: đơn vị sử dụng lao động, quỹ hỗ trợ người bệnh, bảo hiểm thương mại. Người bệnh tự trả thì không cần khai." ] ;
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.guarantor.party" ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.guarantor.party" ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ;
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-patient" ;
           fhir:index -1 ;
           fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-patient>
         ], [
           fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-relatedperson" ;
           fhir:index -1 ;
           fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-relatedperson>
         ], [
           fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-organization" ;
           fhir:index -1 ;
           fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-organization>
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "Account.partOf" ] ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-submitter>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ], [
         fhir:index -1 ;
         fhir:Element.extension [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "code" ] ;
           fhir:Extension.valueCode [ fhir:value "SHALL:persist" ]
         ], [
           fhir:index -1 ;
           fhir:Extension.url [ fhir:value "actor" ] ;
           fhir:Extension.valueCanonical [
             fhir:value "http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator" ;
             fhir:link <http://fhir.hl7.org.vn/core/ActorDefinition/vn-actor-bhyt-adjudicator>
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
       ] ;
       fhir:ElementDefinition.path [ fhir:value "Account.partOf" ] ;
       fhir:ElementDefinition.short [ fhir:value "Tài khoản cha, nếu cơ sở tách tài khoản theo khoa hoặc giai đoạn" ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ;
         fhir:ElementDefinition.type.targetProfile [
           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:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-account.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

