@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/vnOutpatientPrescriptionContentLm> a fhir:StructureDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "vnOutpatientPrescriptionContentLm"] ;
  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 vnOutpatientPrescriptionContentLm</b></p><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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm\" title=\"Logical model đặc tả các trường mà Thông tư 26/2025/TT-BYT (ban hành 30/06/2025, hiệu lực 01/07/2025) BUỘC phải ghi trong đơn thuốc hoặc hồ sơ bệnh án ngoại trú, làm bảng chỉ tiêu văn bản để đối chiếu cardinality của nhóm profile kê đơn ngoại trú.#xA;#xA;Ba nhóm: thông tin người bệnh trên đơn (Điều 6 khoản 2-4), nội dung từng dòng thuốc (Điều 6 khoản 6 — tám trường), và đợt điều trị của đơn thuốc gây nghiện giảm đau ung thư (Điều 8 khoản 1 — ba đợt liên tiếp, mỗi đợt có ngày bắt đầu và ngày kết thúc).#xA;#xA;Điều 6 khoản 6 liệt kê nguyên văn tám nội dung phải ghi cho MỖI loại thuốc: tên thuốc, nồng độ hoặc hàm lượng, số lượng hoặc thể tích, liều dùng mỗi lần, số lần dùng trong ngày, đường dùng, thời điểm dùng, số ngày sử dụng. Đây là nghĩa vụ tuyệt đối, không kèm điều kiện — khác với khoản 2 (số định danh cá nhân, 'nếu có') và khoản 4 (số tháng tuổi và cân nặng, chỉ với trẻ dưới 72 tháng tuổi).#xA;#xA;Model không mô tả toàn bộ cấu trúc đơn thuốc; nó chỉ giữ phần văn bản đặt nghĩa vụ. / Logical model for the prescription content that Circular 26/2025/TT-BYT requires to be recorded, used as the documentary requirement table for conformance checking of the outpatient prescription profiles.\">vnOutpatientPrescriptionContentLm</a><a name=\"vnOutpatientPrescriptionContentLm\"> </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\">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://build.fhir.org/types.html#Base\">Base</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\">Nội dung bắt buộc của đơn thuốc ngoại trú (TT 26/2025/TT-BYT) — Logical Model</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_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm.nguoiBenh\" title=\"Thông tin người bệnh phải ghi trên đơn\">nguoiBenh</a><a name=\"vnOutpatientPrescriptionContentLm.nguoiBenh\"> </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#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ông tin người bệnh phải ghi trên đơ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_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_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm.nguoiBenh.noiCuTru\" title=\"Nơi cư trú của người bệnh\">noiCuTru</a><a name=\"vnOutpatientPrescriptionContentLm.nguoiBenh.noiCuTru\"> </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#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\">Nơi cư trú của người bệnh</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_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_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm.nguoiBenh.soDinhDanhCaNhan\" title=\"Số định danh cá nhân / căn cước công dân / căn cước / hộ chiếu\">soDinhDanhCaNhan</a><a name=\"vnOutpatientPrescriptionContentLm.nguoiBenh.soDinhDanhCaNhan\"> </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\">0..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#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\">Số định danh cá nhân / căn cước công dân / căn cước / hộ chiếu</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_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm.nguoiBenh.soThangTuoi\" title=\"Số tháng tuổi của trẻ\">soThangTuoi</a><a name=\"vnOutpatientPrescriptionContentLm.nguoiBenh.soThangTuoi\"> </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\">0..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#integer\">integer</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\">Số tháng tuổi của trẻ</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_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_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm.nguoiBenh.canNang\" title=\"Cân nặng của trẻ (kg)\">canNang</a><a name=\"vnOutpatientPrescriptionContentLm.nguoiBenh.canNang\"> </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\">0..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#decimal\">decimal</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\">Cân nặng của trẻ (kg)</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_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_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm.nguoiBenh.hoTenNguoiDuaTre\" title=\"Họ và tên người đưa trẻ đến khám bệnh, chữa bệnh\">hoTenNguoiDuaTre</a><a name=\"vnOutpatientPrescriptionContentLm.nguoiBenh.hoTenNguoiDuaTre\"> </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\">0..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#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\">Họ và tên người đưa trẻ đến khám bệnh, chữa bệnh</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_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm.dongThuoc\" title=\"Nội dung phải ghi cho mỗi loại thuốc trong đơn\">dongThuoc</a><a name=\"vnOutpatientPrescriptionContentLm.dongThuoc\"> </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#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\">Nội dung phải ghi cho mỗi loại thuốc trong đơn<br/></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_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm.dongThuoc.tenThuoc\" title=\"Tên thuốc\">tenThuoc</a><a name=\"vnOutpatientPrescriptionContentLm.dongThuoc.tenThuoc\"> </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#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 thuốc</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_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_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm.dongThuoc.nongDoHamLuong\" title=\"Nồng độ hoặc hàm lượng\">nongDoHamLuong</a><a name=\"vnOutpatientPrescriptionContentLm.dongThuoc.nongDoHamLuong\"> </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#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\">Nồng độ hoặc hàm lượng</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_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm.dongThuoc.soLuongHoacTheTich\" title=\"Số lượng hoặc thể tích\">soLuongHoacTheTich</a><a name=\"vnOutpatientPrescriptionContentLm.dongThuoc.soLuongHoacTheTich\"> </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#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\">Số lượng hoặc thể tích</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_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_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm.dongThuoc.lieuDungMoiLan\" title=\"Liều dùng — số lượng sử dụng mỗi lần\">lieuDungMoiLan</a><a name=\"vnOutpatientPrescriptionContentLm.dongThuoc.lieuDungMoiLan\"> </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#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\">Liều dùng — số lượng sử dụng mỗi lầ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_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_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm.dongThuoc.soLanTrongNgay\" title=\"Số lần sử dụng trong ngày\">soLanTrongNgay</a><a name=\"vnOutpatientPrescriptionContentLm.dongThuoc.soLanTrongNgay\"> </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#integer\">integer</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\">Số lần sử dụng trong ngày</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_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_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm.dongThuoc.duongDung\" title=\"Đường dùng\">duongDung</a><a name=\"vnOutpatientPrescriptionContentLm.dongThuoc.duongDung\"> </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#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\">Đường dùng</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_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm.dongThuoc.thoiDiemDung\" title=\"Thời điểm dùng của mỗi loại thuốc\">thoiDiemDung</a><a name=\"vnOutpatientPrescriptionContentLm.dongThuoc.thoiDiemDung\"> </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#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\">Thời điểm dùng của mỗi loại thuốc</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_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm.dongThuoc.soNgaySuDung\" title=\"Số ngày sử dụng thuốc\">soNgaySuDung</a><a name=\"vnOutpatientPrescriptionContentLm.dongThuoc.soNgaySuDung\"> </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#integer\">integer</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\">Số ngày sử dụng thuốc</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_bck01.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_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau\" title=\"Đợt điều trị trên đơn thuốc gây nghiện giảm đau cho người bệnh ung thư\">dotDieuTriGiamDau</a><a name=\"vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau\"> </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\">0..*</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#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\">Đợt điều trị trên đơn thuốc gây nghiện giảm đau cho người bệnh ung thư<br/></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_bck010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.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_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.soThuTuDot\" title=\"Số thứ tự đợt điều trị (1, 2 hoặc 3)\">soThuTuDot</a><a name=\"vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.soThuTuDot\"> </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#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\">Số thứ tự đợt điều trị (1, 2 hoặc 3)</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_bck000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.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_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-vnOutpatientPrescriptionContentLm-definitions.html#vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.khoangThoiGianDot\" title=\"Ngày bắt đầu và ngày kết thúc của đợt điều trị\">khoangThoiGianDot</a><a name=\"vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.khoangThoiGianDot\"> </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#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\">Ngày bắt đầu và ngày kết thúc của đợt điều trị</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 "TT-26-2025" ]
     ]
  ] ;
  fhir:StructureDefinition.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vnOutpatientPrescriptionContentLm"] ;
  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.217" ]
  ] ;
  fhir:StructureDefinition.version [ fhir:value "0.10.0"] ;
  fhir:StructureDefinition.name [ fhir:value "VNOutpatientPrescriptionContentLM"] ;
  fhir:StructureDefinition.title [ fhir:value "Nội dung bắt buộc của đơn thuốc ngoại trú (TT 26/2025/TT-BYT) — Logical Model"] ;
  fhir:StructureDefinition.status [ fhir:value "draft"] ;
  fhir:StructureDefinition.date [ fhir:value "2026-09-22T23:37:51+07:00"^^xsd:dateTime] ;
  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 "Logical model đặc tả các trường mà Thông tư 26/2025/TT-BYT (ban hành 30/06/2025, hiệu lực 01/07/2025) BUỘC phải ghi trong đơn thuốc hoặc hồ sơ bệnh án ngoại trú, làm bảng chỉ tiêu văn bản để đối chiếu cardinality của nhóm profile kê đơn ngoại trú.\n\nBa nhóm: thông tin người bệnh trên đơn (Điều 6 khoản 2-4), nội dung từng dòng thuốc (Điều 6 khoản 6 — tám trường), và đợt điều trị của đơn thuốc gây nghiện giảm đau ung thư (Điều 8 khoản 1 — ba đợt liên tiếp, mỗi đợt có ngày bắt đầu và ngày kết thúc).\n\nĐiều 6 khoản 6 liệt kê nguyên văn tám nội dung phải ghi cho MỖI loại thuốc: tên thuốc, nồng độ hoặc hàm lượng, số lượng hoặc thể tích, liều dùng mỗi lần, số lần dùng trong ngày, đường dùng, thời điểm dùng, số ngày sử dụng. Đây là nghĩa vụ tuyệt đối, không kèm điều kiện — khác với khoản 2 (số định danh cá nhân, 'nếu có') và khoản 4 (số tháng tuổi và cân nặng, chỉ với trẻ dưới 72 tháng tuổi).\n\nModel không mô tả toàn bộ cấu trúc đơn thuốc; nó chỉ giữ phần văn bản đặt nghĩa vụ. / Logical model for the prescription content that Circular 26/2025/TT-BYT requires to be recorded, used as the documentary requirement table for conformance checking of the outpatient prescription profiles."] ;
  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 "vn-fhir" ] ;
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://fhir.hl7.org.vn/core/mapping/outpatient-prescription-content-fhir" ] ;
     fhir:StructureDefinition.mapping.name [ fhir:value "VN Core FHIR mapping" ] ;
     fhir:StructureDefinition.mapping.comment [ fhir:value "Dòng thuốc ánh xạ sang VNCoreOutpatientPrescription (profile con của VNCoreMedicationRequest); đợt điều trị thuốc gây nghiện sang VNCoreCancerPainNarcoticPrescription. Element đích đều do VNCoreMedicationRequest ràng buộc trong differential nên phân giải được qua chuỗi baseDefinition." ]
  ] ;
  fhir:StructureDefinition.kind [ fhir:value "logical"] ;
  fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean] ;
  fhir:StructureDefinition.type [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vnOutpatientPrescriptionContentLm"] ;
  fhir:StructureDefinition.baseDefinition [
     fhir:value "http://hl7.org/fhir/StructureDefinition/Base" ;
     fhir:link <http://hl7.org/fhir/StructureDefinition/Base>
  ] ;
  fhir:StructureDefinition.derivation [ fhir:value "specialization"] ;
  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 "vnOutpatientPrescriptionContentLm" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm" ] ;
       fhir:ElementDefinition.short [ fhir:value "Nội dung bắt buộc của đơn thuốc ngoại trú (TT 26/2025/TT-BYT) — Logical Model" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Logical model đặc tả các trường mà Thông tư 26/2025/TT-BYT (ban hành 30/06/2025, hiệu lực 01/07/2025) BUỘC phải ghi trong đơn thuốc hoặc hồ sơ bệnh án ngoại trú, làm bảng chỉ tiêu văn bản để đối chiếu cardinality của nhóm profile kê đơn ngoại trú.\n\nBa nhóm: thông tin người bệnh trên đơn (Điều 6 khoản 2-4), nội dung từng dòng thuốc (Điều 6 khoản 6 — tám trường), và đợt điều trị của đơn thuốc gây nghiện giảm đau ung thư (Điều 8 khoản 1 — ba đợt liên tiếp, mỗi đợt có ngày bắt đầu và ngày kết thúc).\n\nĐiều 6 khoản 6 liệt kê nguyên văn tám nội dung phải ghi cho MỖI loại thuốc: tên thuốc, nồng độ hoặc hàm lượng, số lượng hoặc thể tích, liều dùng mỗi lần, số lần dùng trong ngày, đường dùng, thời điểm dùng, số ngày sử dụng. Đây là nghĩa vụ tuyệt đối, không kèm điều kiện — khác với khoản 2 (số định danh cá nhân, 'nếu có') và khoản 4 (số tháng tuổi và cân nặng, chỉ với trẻ dưới 72 tháng tuổi).\n\nModel không mô tả toàn bộ cấu trúc đơn thuốc; nó chỉ giữ phần văn bản đặt nghĩa vụ. / Logical model for the prescription content that Circular 26/2025/TT-BYT requires to be recorded, used as the documentary requirement table for conformance checking of the outpatient prescription profiles." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Base" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh" ] ;
       fhir:ElementDefinition.short [ fhir:value "Thông tin người bệnh phải ghi trên đơn" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Thông tin người bệnh phải ghi trên đơn" ] ;
       fhir:ElementDefinition.comment [ fhir:value "TT 26/2025/TT-BYT Điều 6 khoản 1: 'Ghi đầy đủ, rõ ràng và chính xác các mục trong đơn thuốc hoặc trong hồ sơ bệnh án của người bệnh.'" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh" ] ;
         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 "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.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCorePatient" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.id" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.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 "vnOutpatientPrescriptionContentLm.nguoiBenh.extension" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.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 "vnOutpatientPrescriptionContentLm.nguoiBenh.modifierExtension" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.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 "vnOutpatientPrescriptionContentLm.nguoiBenh.noiCuTru" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.noiCuTru" ] ;
       fhir:ElementDefinition.short [ fhir:value "Nơi cư trú của người bệnh" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Nơi cư trú của người bệnh" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 3: 'Ghi thông tin về nơi cư trú của người bệnh.' Nghĩa vụ TUYỆT ĐỐI — khoản này không kèm điều kiện nào, khác khoản 2 ngay trên nó." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.noiCuTru" ] ;
         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 "string" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCorePatient.address.text" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.soDinhDanhCaNhan" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.soDinhDanhCaNhan" ] ;
       fhir:ElementDefinition.short [ fhir:value "Số định danh cá nhân / căn cước công dân / căn cước / hộ chiếu" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Số định danh cá nhân / căn cước công dân / căn cước / hộ chiếu" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 2 kết thúc bằng '(nếu có)' — nghĩa vụ CÓ ĐIỀU KIỆN, nên min = 0. Văn bản liệt kê bốn loại giấy tờ thay thế nhau: số định danh cá nhân, số căn cước công dân, số căn cước, số hộ chiếu." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.soDinhDanhCaNhan" ] ;
         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.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCorePatient.identifier.value" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.soThangTuoi" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.soThangTuoi" ] ;
       fhir:ElementDefinition.short [ fhir:value "Số tháng tuổi của trẻ" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Số tháng tuổi của trẻ" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 4: bắt buộc CHỈ KHI người bệnh là trẻ dưới 72 tháng tuổi. Không suy thành nghĩa vụ cho mọi người bệnh." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.soThangTuoi" ] ;
         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 "integer" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCorePatient.birthDate" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.canNang" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.canNang" ] ;
       fhir:ElementDefinition.short [ fhir:value "Cân nặng của trẻ (kg)" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Cân nặng của trẻ (kg)" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 4: bắt buộc CHỈ KHI người bệnh là trẻ dưới 72 tháng tuổi — cùng điều kiện với số tháng tuổi." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.canNang" ] ;
         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 "decimal" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreObservationBodyWeight.valueQuantity" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.hoTenNguoiDuaTre" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.hoTenNguoiDuaTre" ] ;
       fhir:ElementDefinition.short [ fhir:value "Họ và tên người đưa trẻ đến khám bệnh, chữa bệnh" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Họ và tên người đưa trẻ đến khám bệnh, chữa bệnh" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 4, cùng điều kiện trẻ dưới 72 tháng tuổi." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.hoTenNguoiDuaTre" ] ;
         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.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreRelatedPerson.name.text" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc" ] ;
       fhir:ElementDefinition.short [ fhir:value "Nội dung phải ghi cho mỗi loại thuốc trong đơn" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Nội dung phải ghi cho mỗi loại thuốc trong đơn" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 6 nguyên văn: 'Ghi tên thuốc, nồng độ hoặc hàm lượng, số lượng hoặc thể tích, liều dùng gồm số lượng sử dụng mỗi lần và số lần sử dụng trong ngày, đường dùng, thời điểm dùng của mỗi loại thuốc, số ngày sử dụng thuốc.' Tám trường dưới đây đều là nghĩa vụ tuyệt đối, áp cho MỖI loại thuốc. Cùng khoản còn đặt thứ tự trình bày: 'Nếu đơn thuốc có thuốc độc phải ghi thuốc độc trước khi ghi các thuốc khác.'" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "1"^^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.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreOutpatientPrescription" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.id" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.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 "vnOutpatientPrescriptionContentLm.dongThuoc.extension" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.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 "vnOutpatientPrescriptionContentLm.dongThuoc.modifierExtension" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.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 "vnOutpatientPrescriptionContentLm.dongThuoc.tenThuoc" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.tenThuoc" ] ;
       fhir:ElementDefinition.short [ fhir:value "Tên thuốc" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Tên thuốc" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 5 quy định cách ghi: thuốc một hoạt chất ghi theo tên chung quốc tế (INN, generic) hoặc tên chung quốc tế kèm tên thương mại trong ngoặc; thuốc nhiều hoạt chất hoặc sinh phẩm y tế ghi theo tên thương mại." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.tenThuoc" ] ;
         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 "string" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreOutpatientPrescription.medication[x]" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.nongDoHamLuong" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.nongDoHamLuong" ] ;
       fhir:ElementDefinition.short [ fhir:value "Nồng độ hoặc hàm lượng" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Nồng độ hoặc hàm lượng" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 5 cho thấy nồng độ/hàm lượng đi LIỀN tên thuốc khi trình bày trên đơn ('paracetamol 500mg'), nhưng đó là cách GHI, không phải cách lưu: hai chỉ tiêu này không thể cùng trỏ `medication[x]` vì element ấy max = 1 và sẽ bị tranh chấp (cổng validate-lm-mapping-targets bắt được 06/09/2026). Hàm lượng thuộc về thuốc, nên đích là `ingredient.strength` của Medication được MedicationRequest tham chiếu." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.nongDoHamLuong" ] ;
         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 "string" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreMedication.ingredient.strength" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.soLuongHoacTheTich" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.soLuongHoacTheTich" ] ;
       fhir:ElementDefinition.short [ fhir:value "Số lượng hoặc thể tích" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Số lượng hoặc thể tích" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 7 quy định cách ghi số lượng: số lượng dưới 10 phải ghi số 0 phía trước; thuốc gây nghiện phải ghi bằng số theo quy tắc ấy RỒI ghi thêm bằng chữ." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.soLuongHoacTheTich" ] ;
         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 "string" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreOutpatientPrescription.dispenseRequest.quantity" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.lieuDungMoiLan" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.lieuDungMoiLan" ] ;
       fhir:ElementDefinition.short [ fhir:value "Liều dùng — số lượng sử dụng mỗi lần" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Liều dùng — số lượng sử dụng mỗi lần" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.lieuDungMoiLan" ] ;
         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 "string" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreOutpatientPrescription.dosageInstruction.doseAndRate" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.soLanTrongNgay" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.soLanTrongNgay" ] ;
       fhir:ElementDefinition.short [ fhir:value "Số lần sử dụng trong ngày" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Số lần sử dụng trong ngày" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.soLanTrongNgay" ] ;
         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 "integer" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreOutpatientPrescription.dosageInstruction.timing" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.duongDung" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.duongDung" ] ;
       fhir:ElementDefinition.short [ fhir:value "Đường dùng" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Đường dùng" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.duongDung" ] ;
         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 "string" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreOutpatientPrescription.dosageInstruction.route" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.thoiDiemDung" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.thoiDiemDung" ] ;
       fhir:ElementDefinition.short [ fhir:value "Thời điểm dùng của mỗi loại thuốc" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Thời điểm dùng của mỗi loại thuốc" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Thời điểm trong ngày (trước/sau ăn, sáng/chiều/tối). Biểu diễn máy đọc được dùng Timing.repeat.when; câu hướng dẫn cho người bệnh nằm ở dosageInstruction.text." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.thoiDiemDung" ] ;
         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 "string" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreOutpatientPrescription.dosageInstruction.timing" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.soNgaySuDung" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.soNgaySuDung" ] ;
       fhir:ElementDefinition.short [ fhir:value "Số ngày sử dụng thuốc" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Số ngày sử dụng thuốc" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 8 đặt trần: tối đa 30 ngày cho mỗi thuốc, trừ các trường hợp tại Điều 7, 8, 9; riêng bệnh thuộc Phụ lục VII thì người kê đơn quyết định, tối đa 90 ngày." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.soNgaySuDung" ] ;
         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 "integer" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreOutpatientPrescription.dispenseRequest.expectedSupplyDuration" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau" ] ;
       fhir:ElementDefinition.short [ fhir:value "Đợt điều trị trên đơn thuốc gây nghiện giảm đau cho người bệnh ung thư" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Đợt điều trị trên đơn thuốc gây nghiện giảm đau cho người bệnh ung thư" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 8 khoản 1: 'Mỗi lần kê đơn thuốc tối đa ba mươi (30) ngày, phải ghi cụ thể ba (03) đợt điều trị liên tiếp trên một (01) đơn, mỗi đợt không vượt quá mười (10) ngày (ghi rõ ngày bắt đầu và kết thúc của đợt điều trị).' Nhóm này min = 0 vì chỉ áp cho đơn thuốc gây nghiện giảm đau ung thư; KHI áp thì phải đủ ba đợt — ràng buộc ấy do slice `extension[treatmentCourse] 3..3` của VNCoreCancerPainNarcoticPrescription thi hành cùng cổng validate-narcotic-courses.py, không do cardinality ở đây." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau" ] ;
         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.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreCancerPainNarcoticPrescription.extension[treatmentCourse]" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.id" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.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 "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.extension" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.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 "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.modifierExtension" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.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 "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.soThuTuDot" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.soThuTuDot" ] ;
       fhir:ElementDefinition.short [ fhir:value "Số thứ tự đợt điều trị (1, 2 hoặc 3)" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Số thứ tự đợt điều trị (1, 2 hoặc 3)" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Ghi tường minh chứ không suy từ thứ tự phần tử: theo đặc tả FHIR, thứ tự các extension trong một resource không mang ý nghĩa, nên không có số thứ tự thì không đối chiếu được ba đợt có LIÊN TIẾP như Điều 8 khoản 1 đòi hay không." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.soThuTuDot" ] ;
         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 "positiveInt" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreCancerPainNarcoticPrescription.extension[treatmentCourse].extension[sequence].value[x]" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.khoangThoiGianDot" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.khoangThoiGianDot" ] ;
       fhir:ElementDefinition.short [ fhir:value "Ngày bắt đầu và ngày kết thúc của đợt điều trị" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Ngày bắt đầu và ngày kết thúc của đợt điều trị" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Văn bản đòi 'ghi rõ ngày bắt đầu và kết thúc của đợt điều trị', và mỗi đợt không vượt quá 10 ngày. `Period` của FHIR tính CẢ HAI biên nên đợt 01/09-10/09 là đúng 10 ngày." ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.khoangThoiGianDot" ] ;
         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 "Period" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreCancerPainNarcoticPrescription.extension[treatmentCourse].extension[period].value[x]" ]
       ]
     ]
  ] ;
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.differential.element [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm" ] ;
       fhir:ElementDefinition.short [ fhir:value "Nội dung bắt buộc của đơn thuốc ngoại trú (TT 26/2025/TT-BYT) — Logical Model" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Logical model đặc tả các trường mà Thông tư 26/2025/TT-BYT (ban hành 30/06/2025, hiệu lực 01/07/2025) BUỘC phải ghi trong đơn thuốc hoặc hồ sơ bệnh án ngoại trú, làm bảng chỉ tiêu văn bản để đối chiếu cardinality của nhóm profile kê đơn ngoại trú.\n\nBa nhóm: thông tin người bệnh trên đơn (Điều 6 khoản 2-4), nội dung từng dòng thuốc (Điều 6 khoản 6 — tám trường), và đợt điều trị của đơn thuốc gây nghiện giảm đau ung thư (Điều 8 khoản 1 — ba đợt liên tiếp, mỗi đợt có ngày bắt đầu và ngày kết thúc).\n\nĐiều 6 khoản 6 liệt kê nguyên văn tám nội dung phải ghi cho MỖI loại thuốc: tên thuốc, nồng độ hoặc hàm lượng, số lượng hoặc thể tích, liều dùng mỗi lần, số lần dùng trong ngày, đường dùng, thời điểm dùng, số ngày sử dụng. Đây là nghĩa vụ tuyệt đối, không kèm điều kiện — khác với khoản 2 (số định danh cá nhân, 'nếu có') và khoản 4 (số tháng tuổi và cân nặng, chỉ với trẻ dưới 72 tháng tuổi).\n\nModel không mô tả toàn bộ cấu trúc đơn thuốc; nó chỉ giữ phần văn bản đặt nghĩa vụ. / Logical model for the prescription content that Circular 26/2025/TT-BYT requires to be recorded, used as the documentary requirement table for conformance checking of the outpatient prescription profiles." ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh" ] ;
       fhir:ElementDefinition.short [ fhir:value "Thông tin người bệnh phải ghi trên đơn" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Thông tin người bệnh phải ghi trên đơn" ] ;
       fhir:ElementDefinition.comment [ fhir:value "TT 26/2025/TT-BYT Điều 6 khoản 1: 'Ghi đầy đủ, rõ ràng và chính xác các mục trong đơn thuốc hoặc trong hồ sơ bệnh án của người bệnh.'" ] ;
       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 "BackboneElement" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCorePatient" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.noiCuTru" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.noiCuTru" ] ;
       fhir:ElementDefinition.short [ fhir:value "Nơi cư trú của người bệnh" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Nơi cư trú của người bệnh" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 3: 'Ghi thông tin về nơi cư trú của người bệnh.' Nghĩa vụ TUYỆT ĐỐI — khoản này không kèm điều kiện nào, khác khoản 2 ngay trên nó." ] ;
       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 "string" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCorePatient.address.text" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.soDinhDanhCaNhan" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.soDinhDanhCaNhan" ] ;
       fhir:ElementDefinition.short [ fhir:value "Số định danh cá nhân / căn cước công dân / căn cước / hộ chiếu" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Số định danh cá nhân / căn cước công dân / căn cước / hộ chiếu" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 2 kết thúc bằng '(nếu có)' — nghĩa vụ CÓ ĐIỀU KIỆN, nên min = 0. Văn bản liệt kê bốn loại giấy tờ thay thế nhau: số định danh cá nhân, số căn cước công dân, số căn cước, số hộ chiếu." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCorePatient.identifier.value" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.soThangTuoi" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.soThangTuoi" ] ;
       fhir:ElementDefinition.short [ fhir:value "Số tháng tuổi của trẻ" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Số tháng tuổi của trẻ" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 4: bắt buộc CHỈ KHI người bệnh là trẻ dưới 72 tháng tuổi. Không suy thành nghĩa vụ cho mọi người bệnh." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "integer" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCorePatient.birthDate" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.canNang" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.canNang" ] ;
       fhir:ElementDefinition.short [ fhir:value "Cân nặng của trẻ (kg)" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Cân nặng của trẻ (kg)" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 4: bắt buộc CHỈ KHI người bệnh là trẻ dưới 72 tháng tuổi — cùng điều kiện với số tháng tuổi." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "decimal" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreObservationBodyWeight.valueQuantity" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.hoTenNguoiDuaTre" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.nguoiBenh.hoTenNguoiDuaTre" ] ;
       fhir:ElementDefinition.short [ fhir:value "Họ và tên người đưa trẻ đến khám bệnh, chữa bệnh" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Họ và tên người đưa trẻ đến khám bệnh, chữa bệnh" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 4, cùng điều kiện trẻ dưới 72 tháng tuổi." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreRelatedPerson.name.text" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc" ] ;
       fhir:ElementDefinition.short [ fhir:value "Nội dung phải ghi cho mỗi loại thuốc trong đơn" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Nội dung phải ghi cho mỗi loại thuốc trong đơn" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 6 nguyên văn: 'Ghi tên thuốc, nồng độ hoặc hàm lượng, số lượng hoặc thể tích, liều dùng gồm số lượng sử dụng mỗi lần và số lần sử dụng trong ngày, đường dùng, thời điểm dùng của mỗi loại thuốc, số ngày sử dụng thuốc.' Tám trường dưới đây đều là nghĩa vụ tuyệt đối, áp cho MỖI loại thuốc. Cùng khoản còn đặt thứ tự trình bày: 'Nếu đơn thuốc có thuốc độc phải ghi thuốc độc trước khi ghi các thuốc khác.'" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreOutpatientPrescription" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.tenThuoc" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.tenThuoc" ] ;
       fhir:ElementDefinition.short [ fhir:value "Tên thuốc" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Tên thuốc" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 5 quy định cách ghi: thuốc một hoạt chất ghi theo tên chung quốc tế (INN, generic) hoặc tên chung quốc tế kèm tên thương mại trong ngoặc; thuốc nhiều hoạt chất hoặc sinh phẩm y tế ghi theo tên thương mại." ] ;
       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 "string" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreOutpatientPrescription.medication[x]" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.nongDoHamLuong" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.nongDoHamLuong" ] ;
       fhir:ElementDefinition.short [ fhir:value "Nồng độ hoặc hàm lượng" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Nồng độ hoặc hàm lượng" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 5 cho thấy nồng độ/hàm lượng đi LIỀN tên thuốc khi trình bày trên đơn ('paracetamol 500mg'), nhưng đó là cách GHI, không phải cách lưu: hai chỉ tiêu này không thể cùng trỏ `medication[x]` vì element ấy max = 1 và sẽ bị tranh chấp (cổng validate-lm-mapping-targets bắt được 06/09/2026). Hàm lượng thuộc về thuốc, nên đích là `ingredient.strength` của Medication được MedicationRequest tham chiếu." ] ;
       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 "string" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreMedication.ingredient.strength" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.soLuongHoacTheTich" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.soLuongHoacTheTich" ] ;
       fhir:ElementDefinition.short [ fhir:value "Số lượng hoặc thể tích" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Số lượng hoặc thể tích" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 7 quy định cách ghi số lượng: số lượng dưới 10 phải ghi số 0 phía trước; thuốc gây nghiện phải ghi bằng số theo quy tắc ấy RỒI ghi thêm bằng chữ." ] ;
       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 "string" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreOutpatientPrescription.dispenseRequest.quantity" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.lieuDungMoiLan" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.lieuDungMoiLan" ] ;
       fhir:ElementDefinition.short [ fhir:value "Liều dùng — số lượng sử dụng mỗi lần" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Liều dùng — số lượng sử dụng mỗi lần" ] ;
       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 "string" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreOutpatientPrescription.dosageInstruction.doseAndRate" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.soLanTrongNgay" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.soLanTrongNgay" ] ;
       fhir:ElementDefinition.short [ fhir:value "Số lần sử dụng trong ngày" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Số lần sử dụng trong ngày" ] ;
       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 "integer" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreOutpatientPrescription.dosageInstruction.timing" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.duongDung" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.duongDung" ] ;
       fhir:ElementDefinition.short [ fhir:value "Đường dùng" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Đường dùng" ] ;
       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 "string" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreOutpatientPrescription.dosageInstruction.route" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.thoiDiemDung" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.thoiDiemDung" ] ;
       fhir:ElementDefinition.short [ fhir:value "Thời điểm dùng của mỗi loại thuốc" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Thời điểm dùng của mỗi loại thuốc" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Thời điểm trong ngày (trước/sau ăn, sáng/chiều/tối). Biểu diễn máy đọc được dùng Timing.repeat.when; câu hướng dẫn cho người bệnh nằm ở dosageInstruction.text." ] ;
       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 "string" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreOutpatientPrescription.dosageInstruction.timing" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.soNgaySuDung" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dongThuoc.soNgaySuDung" ] ;
       fhir:ElementDefinition.short [ fhir:value "Số ngày sử dụng thuốc" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Số ngày sử dụng thuốc" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 6 khoản 8 đặt trần: tối đa 30 ngày cho mỗi thuốc, trừ các trường hợp tại Điều 7, 8, 9; riêng bệnh thuộc Phụ lục VII thì người kê đơn quyết định, tối đa 90 ngày." ] ;
       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 "integer" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreOutpatientPrescription.dispenseRequest.expectedSupplyDuration" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau" ] ;
       fhir:ElementDefinition.short [ fhir:value "Đợt điều trị trên đơn thuốc gây nghiện giảm đau cho người bệnh ung thư" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Đợt điều trị trên đơn thuốc gây nghiện giảm đau cho người bệnh ung thư" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Điều 8 khoản 1: 'Mỗi lần kê đơn thuốc tối đa ba mươi (30) ngày, phải ghi cụ thể ba (03) đợt điều trị liên tiếp trên một (01) đơn, mỗi đợt không vượt quá mười (10) ngày (ghi rõ ngày bắt đầu và kết thúc của đợt điều trị).' Nhóm này min = 0 vì chỉ áp cho đơn thuốc gây nghiện giảm đau ung thư; KHI áp thì phải đủ ba đợt — ràng buộc ấy do slice `extension[treatmentCourse] 3..3` của VNCoreCancerPainNarcoticPrescription thi hành cùng cổng validate-narcotic-courses.py, không do cardinality ở đây." ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.type [
         fhir:index -1 ;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreCancerPainNarcoticPrescription.extension[treatmentCourse]" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.soThuTuDot" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.soThuTuDot" ] ;
       fhir:ElementDefinition.short [ fhir:value "Số thứ tự đợt điều trị (1, 2 hoặc 3)" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Số thứ tự đợt điều trị (1, 2 hoặc 3)" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Ghi tường minh chứ không suy từ thứ tự phần tử: theo đặc tả FHIR, thứ tự các extension trong một resource không mang ý nghĩa, nên không có số thứ tự thì không đối chiếu được ba đợt có LIÊN TIẾP như Điều 8 khoản 1 đòi hay không." ] ;
       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 "positiveInt" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreCancerPainNarcoticPrescription.extension[treatmentCourse].extension[sequence].value[x]" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Element.id [ fhir:value "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.khoangThoiGianDot" ] ;
       fhir:ElementDefinition.path [ fhir:value "vnOutpatientPrescriptionContentLm.dotDieuTriGiamDau.khoangThoiGianDot" ] ;
       fhir:ElementDefinition.short [ fhir:value "Ngày bắt đầu và ngày kết thúc của đợt điều trị" ] ;
       fhir:ElementDefinition.definition [ fhir:value "Ngày bắt đầu và ngày kết thúc của đợt điều trị" ] ;
       fhir:ElementDefinition.comment [ fhir:value "Văn bản đòi 'ghi rõ ngày bắt đầu và kết thúc của đợt điều trị', và mỗi đợt không vượt quá 10 ngày. `Period` của FHIR tính CẢ HAI biên nên đợt 01/09-10/09 là đúng 10 ngày." ] ;
       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 "Period" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index -1 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vn-fhir" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "VNCoreCancerPainNarcoticPrescription.extension[treatmentCourse].extension[period].value[x]" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.hl7.org.vn/core/StructureDefinition/vnOutpatientPrescriptionContentLm.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

