臺灣核心實作指引(TW Core IG)
0.3.0 - Trial Use

This page is part of the 臺灣核心實作指引(TW Core IG) (v0.3.0: Releases) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Logical Model: TWMedicationDispenseModel - XML Profile

Active as of 2024-10-15

XML representation of the TWMedicationDispense logical model.

Raw xml | Download


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="TWMedicationDispense"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition TWMedicationDispense</b></p><a name="TWMedicationDispense"> </a><a name="hcTWMedicationDispense"> </a><a name="TWMedicationDispense-en-US"> </a><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" 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="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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" 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 : 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-TWMedicationDispense-definitions.html#TWMedicationDispense" title="臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型">TWMedicationDispense</a><a name="TWMedicationDispense"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型<br/><span style="font-weight:bold">Instances of this logical model are not marked to be the target of a Reference</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.identifier" title="配藥/藥品調劑的外部識別碼。">identifier</a><a name="TWMedicationDispense.identifier"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#Identifier">Identifier</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">配藥/藥品調劑的外部識別碼。<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.status" title="一個編碼概念,用以具體說明配藥/藥品調劑事件的狀態。">status</a><a name="TWMedicationDispense.status"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">一個編碼概念,用以具體說明配藥/藥品調劑事件的狀態。</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.category" title="配藥/藥品調劑的類別,描述預期將服用或用藥的地點之代碼。">category</a><a name="TWMedicationDispense.category"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">配藥/藥品調劑的類別,描述預期將服用或用藥的地點之代碼。</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.medication" title="服用的藥品。">medication</a><a name="TWMedicationDispense.medication"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">服用的藥品。</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : 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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.medication.medication" title="藥品的定義。">medication</a><a name="TWMedicationDispense.medication.medication"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/medication.html">Medication</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">藥品的定義。</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : 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_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.medication.code" title="服用的藥品。">code</a><a name="TWMedicationDispense.medication.code"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">服用的藥品。</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : 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-TWMedicationDispense-definitions.html#TWMedicationDispense.subject" title="配藥/藥品調劑的對象。">subject</a><a name="TWMedicationDispense.subject"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">配藥/藥品調劑的對象。</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : 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_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.subject.patient" title="配藥/藥品調劑的某病人。">patient</a><a name="TWMedicationDispense.subject.patient"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/patient.html">Patient</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">配藥/藥品調劑的某病人。</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : 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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.subject.group" title="配藥/藥品調劑的某團體/群體。">group</a><a name="TWMedicationDispense.subject.group"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/group.html">Group</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">配藥/藥品調劑的某團體/群體。</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.context" title="與此配藥/藥品調劑密切相關的就醫事件(Encounter/Episode)。">context</a><a name="TWMedicationDispense.context"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/encounter.html">Encounter</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">與此配藥/藥品調劑密切相關的就醫事件(Encounter/Episode)。</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.performer" title="執行此配藥/藥品調劑的人員。">performer</a><a name="TWMedicationDispense.performer"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">執行此配藥/藥品調劑的人員。<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.authorizingPrescription" title="授權此配藥/藥品調劑的處方。">authorizingPrescription</a><a name="TWMedicationDispense.authorizingPrescription"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/medicationrequest.html">MedicationRequest</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">授權此配藥/藥品調劑的處方。<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.type" title="執行的配藥/藥品調劑事件類型。例如:試用填充、試用完成、部分填充、緊急填充、樣品等">type</a><a name="TWMedicationDispense.type"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">執行的配藥/藥品調劑事件類型。例如:試用填充、試用完成、部分填充、緊急填充、樣品等</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.quantity" title="配藥/藥品調劑的量。">quantity</a><a name="TWMedicationDispense.quantity"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#SimpleQuantity" title="Quantity">SimpleQuantity</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">配藥/藥品調劑的量。</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.whenHandedOver" title="藥品發放的時間。">whenHandedOver</a><a name="TWMedicationDispense.whenHandedOver"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#dateTime">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">藥品發放的時間。</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-TWMedicationDispense-definitions.html#TWMedicationDispense.dosageInstruction" title="應該如何用藥或者由照護者給藥。">dosageInstruction</a><a name="TWMedicationDispense.dosageInstruction"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#Dosage">Dosage</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">應該如何用藥或者由照護者給藥。<br/></td></tr>
<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>
  </text>
  <url
       value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/TWMedicationDispense"/>
  <version value="0.3.0"/>
  <name value="TWMedicationDispenseModel"/>
  <title value="臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型"/>
  <status value="active"/>
  <date value="2024-10-15T12:42:36+08:00"/>
  <contact>
    <name value="衛生福利部"/>
    <telecom>
      <system value="url"/>
      <value value="https://www.mohw.gov.tw/"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="CCYU@mohw.gov.tw"/>
    </telecom>
  </contact>
  <description value="臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型"/>
  <fhirVersion value="4.0.1"/>
  <mapping>
    <identity value="TWMedicationDispense"/>
    <uri value="https://twcore.mohw.gov.tw/ig/twcore"/>
    <name value="TW Core IG"/>
  </mapping>
  <kind value="logical"/>
  <abstract value="false"/>
  <type
        value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/TWMedicationDispense"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="TWMedicationDispense">
      <path value="TWMedicationDispense"/>
      <short value="臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型"/>
      <definition value="臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <isModifier value="false"/>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.identifier">
      <path value="TWMedicationDispense.identifier"/>
      <short value="配藥/藥品調劑的外部識別碼。"/>
      <definition value="配藥/藥品調劑的外部識別碼。"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="TWMedicationDispense.identifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.identifier"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.status">
      <path value="TWMedicationDispense.status"/>
      <short value="一個編碼概念,用以具體說明配藥/藥品調劑事件的狀態。"/>
      <definition value="一個編碼概念,用以具體說明配藥/藥品調劑事件的狀態。"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="TWMedicationDispense.status"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.status"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.category">
      <path value="TWMedicationDispense.category"/>
      <short value="配藥/藥品調劑的類別,描述預期將服用或用藥的地點之代碼。"/>
      <definition value="配藥/藥品調劑的類別,描述預期將服用或用藥的地點之代碼。"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TWMedicationDispense.category"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.category"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.medication">
      <path value="TWMedicationDispense.medication"/>
      <short value="服用的藥品。"/>
      <definition value="服用的藥品。"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="TWMedicationDispense.medication"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
    </element>
    <element id="TWMedicationDispense.medication.id">
      <path value="TWMedicationDispense.medication.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.medication.extension">
      <path value="TWMedicationDispense.medication.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional content defined by implementations"/>
      <definition
                  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."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.medication.modifierExtension">
      <path value="TWMedicationDispense.medication.modifierExtension"/>
      <short value="Extensions that cannot be ignored even if unrecognized"/>
      <definition
                  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.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
      <comment
               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."/>
      <requirements
                    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)."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="true"/>
      <isModifierReason
                        value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.medication.medication">
      <path value="TWMedicationDispense.medication.medication"/>
      <short value="藥品的定義。"/>
      <definition value="藥品的定義。"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TWMedicationDispense.medication.medication"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Medication"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.Medication"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.medication.code">
      <path value="TWMedicationDispense.medication.code"/>
      <short value="服用的藥品。"/>
      <definition value="服用的藥品。"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TWMedicationDispense.medication.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.Medication.code"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.subject">
      <path value="TWMedicationDispense.subject"/>
      <short value="配藥/藥品調劑的對象。"/>
      <definition value="配藥/藥品調劑的對象。"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="TWMedicationDispense.subject"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
    </element>
    <element id="TWMedicationDispense.subject.id">
      <path value="TWMedicationDispense.subject.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.subject.extension">
      <path value="TWMedicationDispense.subject.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional content defined by implementations"/>
      <definition
                  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."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.subject.modifierExtension">
      <path value="TWMedicationDispense.subject.modifierExtension"/>
      <short value="Extensions that cannot be ignored even if unrecognized"/>
      <definition
                  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.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
      <comment
               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."/>
      <requirements
                    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)."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="true"/>
      <isModifierReason
                        value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.subject.patient">
      <path value="TWMedicationDispense.subject.patient"/>
      <short value="配藥/藥品調劑的某病人。"/>
      <definition value="配藥/藥品調劑的某病人。"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TWMedicationDispense.subject.patient"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Patient"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map
             value="TWCoreMedicationDispense.subject.Reference(TW Core Patient)"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.subject.group">
      <path value="TWMedicationDispense.subject.group"/>
      <short value="配藥/藥品調劑的某團體/群體。"/>
      <definition value="配藥/藥品調劑的某團體/群體。"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TWMedicationDispense.subject.group"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Group"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.subject.Reference(Group)"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.context">
      <path value="TWMedicationDispense.context"/>
      <short value="與此配藥/藥品調劑密切相關的就醫事件(Encounter/Episode)。"/>
      <definition value="與此配藥/藥品調劑密切相關的就醫事件(Encounter/Episode)。"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TWMedicationDispense.context"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Encounter"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map
             value="TWCoreMedicationDispense.context.Reference(TW Core Encounter)"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.performer">
      <path value="TWMedicationDispense.performer"/>
      <short value="執行此配藥/藥品調劑的人員。"/>
      <definition value="執行此配藥/藥品調劑的人員。"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="TWMedicationDispense.performer"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.performer"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.authorizingPrescription">
      <path value="TWMedicationDispense.authorizingPrescription"/>
      <short value="授權此配藥/藥品調劑的處方。"/>
      <definition value="授權此配藥/藥品調劑的處方。"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="TWMedicationDispense.authorizingPrescription"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="MedicationRequest"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map
             value="TWCoreMedicationDispense.authorizingPrescription.Reference(TW Core MedicationRequest)"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.type">
      <path value="TWMedicationDispense.type"/>
      <short value="執行的配藥/藥品調劑事件類型。例如:試用填充、試用完成、部分填充、緊急填充、樣品等"/>
      <definition value="執行的配藥/藥品調劑事件類型。例如:試用填充、試用完成、部分填充、緊急填充、樣品等"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TWMedicationDispense.type"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.type"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.quantity">
      <path value="TWMedicationDispense.quantity"/>
      <short value="配藥/藥品調劑的量。"/>
      <definition value="配藥/藥品調劑的量。"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TWMedicationDispense.quantity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Quantity"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.quantity"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.whenHandedOver">
      <path value="TWMedicationDispense.whenHandedOver"/>
      <short value="藥品發放的時間。"/>
      <definition value="藥品發放的時間。"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TWMedicationDispense.whenHandedOver"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.whenHandedOver"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.dosageInstruction">
      <path value="TWMedicationDispense.dosageInstruction"/>
      <short value="應該如何用藥或者由照護者給藥。"/>
      <definition value="應該如何用藥或者由照護者給藥。"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="TWMedicationDispense.dosageInstruction"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Dosage"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.dosageInstruction"/>
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="TWMedicationDispense">
      <path value="TWMedicationDispense"/>
      <short value="臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型"/>
      <definition value="臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型"/>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.identifier">
      <path value="TWMedicationDispense.identifier"/>
      <short value="配藥/藥品調劑的外部識別碼。"/>
      <definition value="配藥/藥品調劑的外部識別碼。"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.identifier"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.status">
      <path value="TWMedicationDispense.status"/>
      <short value="一個編碼概念,用以具體說明配藥/藥品調劑事件的狀態。"/>
      <definition value="一個編碼概念,用以具體說明配藥/藥品調劑事件的狀態。"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.status"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.category">
      <path value="TWMedicationDispense.category"/>
      <short value="配藥/藥品調劑的類別,描述預期將服用或用藥的地點之代碼。"/>
      <definition value="配藥/藥品調劑的類別,描述預期將服用或用藥的地點之代碼。"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.category"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.medication">
      <path value="TWMedicationDispense.medication"/>
      <short value="服用的藥品。"/>
      <definition value="服用的藥品。"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element id="TWMedicationDispense.medication.medication">
      <path value="TWMedicationDispense.medication.medication"/>
      <short value="藥品的定義。"/>
      <definition value="藥品的定義。"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Medication"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.Medication"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.medication.code">
      <path value="TWMedicationDispense.medication.code"/>
      <short value="服用的藥品。"/>
      <definition value="服用的藥品。"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.Medication.code"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.subject">
      <path value="TWMedicationDispense.subject"/>
      <short value="配藥/藥品調劑的對象。"/>
      <definition value="配藥/藥品調劑的對象。"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element id="TWMedicationDispense.subject.patient">
      <path value="TWMedicationDispense.subject.patient"/>
      <short value="配藥/藥品調劑的某病人。"/>
      <definition value="配藥/藥品調劑的某病人。"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Patient"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map
             value="TWCoreMedicationDispense.subject.Reference(TW Core Patient)"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.subject.group">
      <path value="TWMedicationDispense.subject.group"/>
      <short value="配藥/藥品調劑的某團體/群體。"/>
      <definition value="配藥/藥品調劑的某團體/群體。"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Group"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.subject.Reference(Group)"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.context">
      <path value="TWMedicationDispense.context"/>
      <short value="與此配藥/藥品調劑密切相關的就醫事件(Encounter/Episode)。"/>
      <definition value="與此配藥/藥品調劑密切相關的就醫事件(Encounter/Episode)。"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Encounter"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map
             value="TWCoreMedicationDispense.context.Reference(TW Core Encounter)"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.performer">
      <path value="TWMedicationDispense.performer"/>
      <short value="執行此配藥/藥品調劑的人員。"/>
      <definition value="執行此配藥/藥品調劑的人員。"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.performer"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.authorizingPrescription">
      <path value="TWMedicationDispense.authorizingPrescription"/>
      <short value="授權此配藥/藥品調劑的處方。"/>
      <definition value="授權此配藥/藥品調劑的處方。"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="MedicationRequest"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map
             value="TWCoreMedicationDispense.authorizingPrescription.Reference(TW Core MedicationRequest)"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.type">
      <path value="TWMedicationDispense.type"/>
      <short value="執行的配藥/藥品調劑事件類型。例如:試用填充、試用完成、部分填充、緊急填充、樣品等"/>
      <definition value="執行的配藥/藥品調劑事件類型。例如:試用填充、試用完成、部分填充、緊急填充、樣品等"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.type"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.quantity">
      <path value="TWMedicationDispense.quantity"/>
      <short value="配藥/藥品調劑的量。"/>
      <definition value="配藥/藥品調劑的量。"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Quantity"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.quantity"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.whenHandedOver">
      <path value="TWMedicationDispense.whenHandedOver"/>
      <short value="藥品發放的時間。"/>
      <definition value="藥品發放的時間。"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.whenHandedOver"/>
      </mapping>
    </element>
    <element id="TWMedicationDispense.dosageInstruction">
      <path value="TWMedicationDispense.dosageInstruction"/>
      <short value="應該如何用藥或者由照護者給藥。"/>
      <definition value="應該如何用藥或者由照護者給藥。"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Dosage"/>
      </type>
      <mapping>
        <identity value="TWMedicationDispense"/>
        <map value="TWCoreMedicationDispense.dosageInstruction"/>
      </mapping>
    </element>
  </differential>
</StructureDefinition>