臺灣核心實作指引(TW Core IG)
1.0.0 - STU 1.0.0 Taiwan flag

臺灣核心實作指引(TW Core IG), published by 衛生福利部. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TU9IVy1UV0NvcmVJRw/VFcgQ29yZSBJRyBJVFJJ/ and changes regularly. See the Directory of published versions

Logical Model: TWMedicationDispenseModel - TTL Profile

Active as of 2026-11-10

TTL representation of the TWMedicationDispense logical model.

Raw ttl | Download

@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://hl7.org/fhir/StructureDefinition/TWMedicationDispense> a fhir:StructureDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "TWMedicationDispense"] ;
  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 TWMedicationDispense</b></p><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"xhtTableBorder0\"><tr class=\"xhtRowBorder1\"><th scope=\"col\" style=\"\" class=\"hierarchy xhtCellBorder0\"><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 scope=\"col\" style=\"\" class=\"hierarchy xhtCellBorder0\"><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 scope=\"col\" style=\"\" class=\"hierarchy xhtCellBorder0\"><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 scope=\"col\" style=\"; width: 100px\" class=\"hierarchy xhtCellBorder0\"><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 scope=\"col\" style=\"\" class=\"hierarchy xhtCellBorder0\"><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 class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck1.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><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-TWMedicationDispense-definitions.html#TWMedicationDispense\" title=\"臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型\">TWMedicationDispense</a><a name=\"TWMedicationDispense\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\"><span class=\"xhtPieceDeEmphasized\">0</span><span class=\"xhtPieceDeEmphasized\">..</span><span class=\"xhtPieceDeEmphasized\">*</span></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://build.fhir.org/types.html#Base\">Base</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型</td></tr>#xD;\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><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\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">TWMedicationDispense.</span><a href=\"StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.identifier\" title=\"配藥/藥品調劑的外部識別碼。\">identifier</a><a name=\"TWMedicationDispense.identifier\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..*</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">配藥/藥品調劑的外部識別碼。<br/></td></tr>#xD;\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><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_primitive.png\" alt=\"\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">TWMedicationDispense.</span><a href=\"StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.status\" title=\"一個編碼概念,用以具體說明配藥/藥品調劑事件的狀態。\">status</a><a name=\"TWMedicationDispense.status\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">1..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">一個編碼概念,用以具體說明配藥/藥品調劑事件的狀態。</td></tr>#xD;\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><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\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">TWMedicationDispense.</span><a href=\"StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.category\" title=\"配藥/藥品調劑的類別,描述預期將服用或用藥的地點之代碼。\">category</a><a name=\"TWMedicationDispense.category\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">配藥/藥品調劑的類別,描述預期將服用或用藥的地點之代碼。</td></tr>#xD;\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck11.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><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: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">TWMedicationDispense.</span><a href=\"StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.medication\" title=\"服用的藥品。\">medication</a><a name=\"TWMedicationDispense.medication\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">1..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">服用的藥品。</td></tr>#xD;\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck110.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><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_resource.png\" alt=\"\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">TWMedicationDispense.medication.</span><a href=\"StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.medication.medication\" title=\"藥品的定義。\">medication</a><a name=\"TWMedicationDispense.medication.medication\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/medication.html\">Medication</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">藥品的定義。</td></tr>#xD;\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck100.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><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_datatype.gif\" alt=\"\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">TWMedicationDispense.medication.</span><a href=\"StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.medication.code\" title=\"服用的藥品。\">code</a><a name=\"TWMedicationDispense.medication.code\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">服用的藥品。</td></tr>#xD;\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck11.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><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\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">TWMedicationDispense.</span><a href=\"StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.subject\" title=\"配藥/藥品調劑的對象。\">subject</a><a name=\"TWMedicationDispense.subject\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">1..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">配藥/藥品調劑的對象。</td></tr>#xD;\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck110.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><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_resource.png\" alt=\"\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">TWMedicationDispense.subject.</span><a href=\"StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.subject.patient\" title=\"配藥/藥品調劑的某病人。\">patient</a><a name=\"TWMedicationDispense.subject.patient\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/patient.html\">Patient</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">配藥/藥品調劑的某病人。</td></tr>#xD;\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck100.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><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_resource.png\" alt=\"\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">TWMedicationDispense.subject.</span><a href=\"StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.subject.group\" title=\"配藥/藥品調劑的某團體/群體。\">group</a><a name=\"TWMedicationDispense.subject.group\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/group.html\">Group</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">配藥/藥品調劑的某團體/群體。</td></tr>#xD;\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><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_resource.png\" alt=\"\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">TWMedicationDispense.</span><a href=\"StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.context\" title=\"與此配藥/藥品調劑密切相關的就醫事件(Encounter/Episode)。\">context</a><a name=\"TWMedicationDispense.context\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/encounter.html\">Encounter</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">與此配藥/藥品調劑密切相關的就醫事件(Encounter/Episode)。</td></tr>#xD;\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><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\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">TWMedicationDispense.</span><a href=\"StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.performer\" title=\"執行此配藥/藥品調劑的人員。\">performer</a><a name=\"TWMedicationDispense.performer\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..*</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">執行此配藥/藥品調劑的人員。<br/></td></tr>#xD;\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><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_resource.png\" alt=\"\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">TWMedicationDispense.</span><a href=\"StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.authorizingPrescription\" title=\"授權此配藥/藥品調劑的處方。\">authorizingPrescription</a><a name=\"TWMedicationDispense.authorizingPrescription\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..*</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/medicationrequest.html\">MedicationRequest</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">授權此配藥/藥品調劑的處方。<br/></td></tr>#xD;\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><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\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">TWMedicationDispense.</span><a href=\"StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.type\" title=\"執行的配藥/藥品調劑事件類型。例如:試用填充、試用完成、部分填充、緊急填充、樣品等\">type</a><a name=\"TWMedicationDispense.type\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">執行的配藥/藥品調劑事件類型。例如:試用填充、試用完成、部分填充、緊急填充、樣品等</td></tr>#xD;\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><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: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">TWMedicationDispense.</span><a href=\"StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.quantity\" title=\"配藥/藥品調劑的量。\">quantity</a><a name=\"TWMedicationDispense.quantity\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#SimpleQuantity\" title=\"Quantity\">SimpleQuantity</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">配藥/藥品調劑的量。</td></tr>#xD;\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><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_primitive.png\" alt=\"\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">TWMedicationDispense.</span><a href=\"StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.whenHandedOver\" title=\"藥品發放的時間。\">whenHandedOver</a><a name=\"TWMedicationDispense.whenHandedOver\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#dateTime\">dateTime</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">藥品發放的時間。</td></tr>#xD;\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck00.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><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\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">TWMedicationDispense.</span><a href=\"StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.dosageInstruction\" title=\"應該如何用藥或者由照護者給藥。\">dosageInstruction</a><a name=\"TWMedicationDispense.dosageInstruction\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..*</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Dosage\">Dosage</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">應該如何用藥或者由照護者給藥。<br/></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:StructureDefinition.url [ fhir:value "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/TWMedicationDispense"] ;
  fhir:StructureDefinition.version [ fhir:value "1.0.0"] ;
  fhir:StructureDefinition.name [ fhir:value "TWMedicationDispenseModel"] ;
  fhir:StructureDefinition.title [ fhir:value "臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型"] ;
  fhir:StructureDefinition.status [ fhir:value "active"] ;
  fhir:StructureDefinition.date [ fhir:value "2026-11-10T03:47:34+00:00"^^xsd:dateTime] ;
  fhir:StructureDefinition.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "衛生福利部" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://www.mohw.gov.tw/" ]
     ], [
       fhir:index 1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "CCYU@mohw.gov.tw" ]
     ]
  ] ;
  fhir:StructureDefinition.description [ fhir:value "臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型"] ;
  fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"] ;
  fhir:StructureDefinition.mapping [
     fhir:index 0 ;
     fhir:StructureDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
     fhir:StructureDefinition.mapping.uri [ fhir:value "https://twcore.mohw.gov.tw/ig/twcore" ] ;
     fhir:StructureDefinition.mapping.name [ fhir:value "TW Core IG" ]
  ] ;
  fhir:StructureDefinition.kind [ fhir:value "logical"] ;
  fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean] ;
  fhir:StructureDefinition.type [ fhir:value "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/TWMedicationDispense"] ;
  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 0 ;
       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 0 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense" ] ;
       fhir:ElementDefinition.short [ fhir:value "臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型" ] ;
       fhir:ElementDefinition.definition [ fhir:value "臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型" ] ;
       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:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense" ]
       ]
     ], [
       fhir:index 1 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.identifier" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.identifier" ] ;
       fhir:ElementDefinition.short [ fhir:value "配藥/藥品調劑的外部識別碼。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "配藥/藥品調劑的外部識別碼。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "TWMedicationDispense.identifier" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.identifier" ]
       ]
     ], [
       fhir:index 2 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.status" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.status" ] ;
       fhir:ElementDefinition.short [ fhir:value "一個編碼概念,用以具體說明配藥/藥品調劑事件的狀態。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "一個編碼概念,用以具體說明配藥/藥品調劑事件的狀態。" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "TWMedicationDispense.status" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.status" ]
       ]
     ], [
       fhir:index 3 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.category" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.category" ] ;
       fhir:ElementDefinition.short [ fhir:value "配藥/藥品調劑的類別,描述預期將服用或用藥的地點之代碼。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "配藥/藥品調劑的類別,描述預期將服用或用藥的地點之代碼。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "TWMedicationDispense.category" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.category" ]
       ]
     ], [
       fhir:index 4 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.medication" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.medication" ] ;
       fhir:ElementDefinition.short [ fhir:value "服用的藥品。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "服用的藥品。" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "TWMedicationDispense.medication" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index 0 ;
         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 5 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.medication.id" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.medication.id" ] ;
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr" ;
         fhir:index 0
       ] ;
       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 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           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 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 6 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.medication.extension" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.medication.extension" ] ;
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.slicing.discriminator [
           fhir:index 0 ;
           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 0
       ], [
         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 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index 0 ;
         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 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 7 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.medication.modifierExtension" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.medication.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 0
       ], [
         fhir:value "user content" ;
         fhir:index 1
       ], [
         fhir:value "modifiers" ;
         fhir:index 2
       ] ;
       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 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index 0 ;
         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 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:index 8 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.medication.medication" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.medication.medication" ] ;
       fhir:ElementDefinition.short [ fhir:value "藥品的定義。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "藥品的定義。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "TWMedicationDispense.medication.medication" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Medication" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.Medication" ]
       ]
     ], [
       fhir:index 9 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.medication.code" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.medication.code" ] ;
       fhir:ElementDefinition.short [ fhir:value "服用的藥品。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "服用的藥品。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "TWMedicationDispense.medication.code" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.Medication.code" ]
       ]
     ], [
       fhir:index 10 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.subject" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.subject" ] ;
       fhir:ElementDefinition.short [ fhir:value "配藥/藥品調劑的對象。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "配藥/藥品調劑的對象。" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "TWMedicationDispense.subject" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index 0 ;
         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 11 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.subject.id" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.subject.id" ] ;
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr" ;
         fhir:index 0
       ] ;
       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 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           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 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 12 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.subject.extension" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.subject.extension" ] ;
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.slicing.discriminator [
           fhir:index 0 ;
           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 0
       ], [
         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 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index 0 ;
         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 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 13 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.subject.modifierExtension" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.subject.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 0
       ], [
         fhir:value "user content" ;
         fhir:index 1
       ], [
         fhir:value "modifiers" ;
         fhir:index 2
       ] ;
       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 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
       ] ;
       fhir:ElementDefinition.constraint [
         fhir:index 0 ;
         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 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:index 14 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.subject.patient" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.subject.patient" ] ;
       fhir:ElementDefinition.short [ fhir:value "配藥/藥品調劑的某病人。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "配藥/藥品調劑的某病人。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "TWMedicationDispense.subject.patient" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Patient" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.subject.Reference(TW Core Patient)" ]
       ]
     ], [
       fhir:index 15 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.subject.group" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.subject.group" ] ;
       fhir:ElementDefinition.short [ fhir:value "配藥/藥品調劑的某團體/群體。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "配藥/藥品調劑的某團體/群體。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "TWMedicationDispense.subject.group" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Group" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.subject.Reference(Group)" ]
       ]
     ], [
       fhir:index 16 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.context" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.context" ] ;
       fhir:ElementDefinition.short [ fhir:value "與此配藥/藥品調劑密切相關的就醫事件(Encounter/Episode)。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "與此配藥/藥品調劑密切相關的就醫事件(Encounter/Episode)。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "TWMedicationDispense.context" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Encounter" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.context.Reference(TW Core Encounter)" ]
       ]
     ], [
       fhir:index 17 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.performer" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.performer" ] ;
       fhir:ElementDefinition.short [ fhir:value "執行此配藥/藥品調劑的人員。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "執行此配藥/藥品調劑的人員。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "TWMedicationDispense.performer" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.performer" ]
       ]
     ], [
       fhir:index 18 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.authorizingPrescription" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.authorizingPrescription" ] ;
       fhir:ElementDefinition.short [ fhir:value "授權此配藥/藥品調劑的處方。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "授權此配藥/藥品調劑的處方。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "TWMedicationDispense.authorizingPrescription" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "MedicationRequest" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.authorizingPrescription.Reference(TW Core MedicationRequest)" ]
       ]
     ], [
       fhir:index 19 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.type" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.type" ] ;
       fhir:ElementDefinition.short [ fhir:value "執行的配藥/藥品調劑事件類型。例如:試用填充、試用完成、部分填充、緊急填充、樣品等" ] ;
       fhir:ElementDefinition.definition [ fhir:value "執行的配藥/藥品調劑事件類型。例如:試用填充、試用完成、部分填充、緊急填充、樣品等" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "TWMedicationDispense.type" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.type" ]
       ]
     ], [
       fhir:index 20 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.quantity" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.quantity" ] ;
       fhir:ElementDefinition.short [ fhir:value "配藥/藥品調劑的量。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "配藥/藥品調劑的量。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "TWMedicationDispense.quantity" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ;
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ;
           fhir:index 0 ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity>
         ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.quantity" ]
       ]
     ], [
       fhir:index 21 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.whenHandedOver" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.whenHandedOver" ] ;
       fhir:ElementDefinition.short [ fhir:value "藥品發放的時間。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "藥品發放的時間。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "TWMedicationDispense.whenHandedOver" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "1" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "dateTime" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.whenHandedOver" ]
       ]
     ], [
       fhir:index 22 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.dosageInstruction" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.dosageInstruction" ] ;
       fhir:ElementDefinition.short [ fhir:value "應該如何用藥或者由照護者給藥。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "應該如何用藥或者由照護者給藥。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "TWMedicationDispense.dosageInstruction" ] ;
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
         fhir:ElementDefinition.base.max [ fhir:value "*" ]
       ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Dosage" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.dosageInstruction" ]
       ]
     ]
  ] ;
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.differential.element [
       fhir:index 0 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense" ] ;
       fhir:ElementDefinition.short [ fhir:value "臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型" ] ;
       fhir:ElementDefinition.definition [ fhir:value "臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型" ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense" ]
       ]
     ], [
       fhir:index 1 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.identifier" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.identifier" ] ;
       fhir:ElementDefinition.short [ fhir:value "配藥/藥品調劑的外部識別碼。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "配藥/藥品調劑的外部識別碼。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.identifier" ]
       ]
     ], [
       fhir:index 2 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.status" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.status" ] ;
       fhir:ElementDefinition.short [ fhir:value "一個編碼概念,用以具體說明配藥/藥品調劑事件的狀態。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "一個編碼概念,用以具體說明配藥/藥品調劑事件的狀態。" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.status" ]
       ]
     ], [
       fhir:index 3 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.category" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.category" ] ;
       fhir:ElementDefinition.short [ fhir:value "配藥/藥品調劑的類別,描述預期將服用或用藥的地點之代碼。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "配藥/藥品調劑的類別,描述預期將服用或用藥的地點之代碼。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.category" ]
       ]
     ], [
       fhir:index 4 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.medication" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.medication" ] ;
       fhir:ElementDefinition.short [ fhir:value "服用的藥品。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "服用的藥品。" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]
       ]
     ], [
       fhir:index 5 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.medication.medication" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.medication.medication" ] ;
       fhir:ElementDefinition.short [ fhir:value "藥品的定義。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "藥品的定義。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Medication" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.Medication" ]
       ]
     ], [
       fhir:index 6 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.medication.code" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.medication.code" ] ;
       fhir:ElementDefinition.short [ fhir:value "服用的藥品。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "服用的藥品。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.Medication.code" ]
       ]
     ], [
       fhir:index 7 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.subject" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.subject" ] ;
       fhir:ElementDefinition.short [ fhir:value "配藥/藥品調劑的對象。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "配藥/藥品調劑的對象。" ] ;
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]
       ]
     ], [
       fhir:index 8 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.subject.patient" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.subject.patient" ] ;
       fhir:ElementDefinition.short [ fhir:value "配藥/藥品調劑的某病人。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "配藥/藥品調劑的某病人。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Patient" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.subject.Reference(TW Core Patient)" ]
       ]
     ], [
       fhir:index 9 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.subject.group" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.subject.group" ] ;
       fhir:ElementDefinition.short [ fhir:value "配藥/藥品調劑的某團體/群體。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "配藥/藥品調劑的某團體/群體。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Group" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.subject.Reference(Group)" ]
       ]
     ], [
       fhir:index 10 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.context" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.context" ] ;
       fhir:ElementDefinition.short [ fhir:value "與此配藥/藥品調劑密切相關的就醫事件(Encounter/Episode)。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "與此配藥/藥品調劑密切相關的就醫事件(Encounter/Episode)。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Encounter" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.context.Reference(TW Core Encounter)" ]
       ]
     ], [
       fhir:index 11 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.performer" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.performer" ] ;
       fhir:ElementDefinition.short [ fhir:value "執行此配藥/藥品調劑的人員。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "執行此配藥/藥品調劑的人員。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.performer" ]
       ]
     ], [
       fhir:index 12 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.authorizingPrescription" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.authorizingPrescription" ] ;
       fhir:ElementDefinition.short [ fhir:value "授權此配藥/藥品調劑的處方。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "授權此配藥/藥品調劑的處方。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "MedicationRequest" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.authorizingPrescription.Reference(TW Core MedicationRequest)" ]
       ]
     ], [
       fhir:index 13 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.type" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.type" ] ;
       fhir:ElementDefinition.short [ fhir:value "執行的配藥/藥品調劑事件類型。例如:試用填充、試用完成、部分填充、緊急填充、樣品等" ] ;
       fhir:ElementDefinition.definition [ fhir:value "執行的配藥/藥品調劑事件類型。例如:試用填充、試用完成、部分填充、緊急填充、樣品等" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.type" ]
       ]
     ], [
       fhir:index 14 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.quantity" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.quantity" ] ;
       fhir:ElementDefinition.short [ fhir:value "配藥/藥品調劑的量。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "配藥/藥品調劑的量。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ;
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ;
           fhir:index 0 ;
           fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity>
         ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.quantity" ]
       ]
     ], [
       fhir:index 15 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.whenHandedOver" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.whenHandedOver" ] ;
       fhir:ElementDefinition.short [ fhir:value "藥品發放的時間。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "藥品發放的時間。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "1" ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "dateTime" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.whenHandedOver" ]
       ]
     ], [
       fhir:index 16 ;
       fhir:Element.id [ fhir:value "TWMedicationDispense.dosageInstruction" ] ;
       fhir:ElementDefinition.path [ fhir:value "TWMedicationDispense.dosageInstruction" ] ;
       fhir:ElementDefinition.short [ fhir:value "應該如何用藥或者由照護者給藥。" ] ;
       fhir:ElementDefinition.definition [ fhir:value "應該如何用藥或者由照護者給藥。" ] ;
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
       fhir:ElementDefinition.max [ fhir:value "*" ] ;
       fhir:ElementDefinition.type [
         fhir:index 0 ;
         fhir:ElementDefinition.type.code [ fhir:value "Dosage" ]
       ] ;
       fhir:ElementDefinition.mapping [
         fhir:index 0 ;
         fhir:ElementDefinition.mapping.identity [ fhir:value "TWMedicationDispense" ] ;
         fhir:ElementDefinition.mapping.map [ fhir:value "TWCoreMedicationDispense.dosageInstruction" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/StructureDefinition/TWMedicationDispense.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/StructureDefinition/TWMedicationDispense.ttl> .