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

This page is part of the 臺灣核心實作指引(TW Core IG) (v0.2.2: 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: TWAllergyIntoleranceModel - XML Profile

Active as of 2024-05-28

XML representation of the TWAllergyIntolerance logical model.

Raw xml | Download



<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="TWAllergyIntolerance"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><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 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-TWAllergyIntolerance-definitions.html#TWAllergyIntolerance" title="臺灣核心-過敏或不耐症(TW Core AllergyIntolerance) 之資料模型">TWAllergyIntolerance</a><a name="TWAllergyIntolerance"> </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 AllergyIntolerance) 之資料模型<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-TWAllergyIntolerance-definitions.html#TWAllergyIntolerance.clinicalStatus" title="過敏或不耐受的臨床狀態。">clinicalStatus</a><a name="TWAllergyIntolerance.clinicalStatus"> </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-TWAllergyIntolerance-definitions.html#TWAllergyIntolerance.verificationStatus" title="關於對特定物質反應的傾向或潜在風險的確定性聲明。">verificationStatus</a><a name="TWAllergyIntolerance.verificationStatus"> </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_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-TWAllergyIntolerance-definitions.html#TWAllergyIntolerance.code" title="指明此過敏或不耐受的代碼。">code</a><a name="TWAllergyIntolerance.code"> </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#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_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-TWAllergyIntolerance-definitions.html#TWAllergyIntolerance.patient" title="誰有此過敏或不耐受?">patient</a><a name="TWAllergyIntolerance.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">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/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_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: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-TWAllergyIntolerance-definitions.html#TWAllergyIntolerance.reaction" title="暴露於此過敏或不耐受物質的不良反應。">reaction</a><a name="TWAllergyIntolerance.reaction"> </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><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/TWAllergyIntolerance"/>
  <version value="0.2.2"/>
  <name value="TWAllergyIntoleranceModel"/>
  <title value="臺灣核心-過敏或不耐症(TW Core AllergyIntolerance) 之資料模型"/>
  <status value="active"/>
  <date value="2024-05-28T21:16:12+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 AllergyIntolerance) 之資料模型"/>
  <fhirVersion value="4.0.1"/>
  <mapping>
    <identity value="TWAllergyIntolerance"/>
    <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/TWAllergyIntolerance"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="TWAllergyIntolerance">
      <path value="TWAllergyIntolerance"/>
      <short value="臺灣核心-過敏或不耐症(TW Core AllergyIntolerance) 之資料模型"/>
      <definition value="臺灣核心-過敏或不耐症(TW Core AllergyIntolerance) 之資料模型"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <isModifier value="false"/>
      <mapping>
        <identity value="TWAllergyIntolerance"/>
        <map value="TWCoreAllergyIntolerance"/>
      </mapping>
    </element>
    <element id="TWAllergyIntolerance.clinicalStatus">
      <path value="TWAllergyIntolerance.clinicalStatus"/>
      <short value="過敏或不耐受的臨床狀態。"/>
      <definition value="過敏或不耐受的臨床狀態。"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TWAllergyIntolerance.clinicalStatus"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWAllergyIntolerance"/>
        <map value="TWCoreAllergyIntolerance.clinicalStatus"/>
      </mapping>
    </element>
    <element id="TWAllergyIntolerance.verificationStatus">
      <path value="TWAllergyIntolerance.verificationStatus"/>
      <short value="關於對特定物質反應的傾向或潜在風險的確定性聲明。"/>
      <definition value="關於對特定物質反應的傾向或潜在風險的確定性聲明。"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TWAllergyIntolerance.verificationStatus"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWAllergyIntolerance"/>
        <map value="TWCoreAllergyIntolerance.verificationStatus"/>
      </mapping>
    </element>
    <element id="TWAllergyIntolerance.code">
      <path value="TWAllergyIntolerance.code"/>
      <short value="指明此過敏或不耐受的代碼。"/>
      <definition value="指明此過敏或不耐受的代碼。"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="TWAllergyIntolerance.code"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWAllergyIntolerance"/>
        <map value="TWCoreAllergyIntolerance.code"/>
      </mapping>
    </element>
    <element id="TWAllergyIntolerance.patient">
      <path value="TWAllergyIntolerance.patient"/>
      <short value="誰有此過敏或不耐受?"/>
      <definition value="誰有此過敏或不耐受?"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="TWAllergyIntolerance.patient"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Patient"/>
      </type>
      <mapping>
        <identity value="TWAllergyIntolerance"/>
        <map
             value="TWCoreAllergyIntolerance.subject.Reference(TW Core Patient)"/>
      </mapping>
    </element>
    <element id="TWAllergyIntolerance.reaction">
      <path value="TWAllergyIntolerance.reaction"/>
      <short value="暴露於此過敏或不耐受物質的不良反應。"/>
      <definition value="暴露於此過敏或不耐受物質的不良反應。"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="TWAllergyIntolerance.reaction"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="TWAllergyIntolerance"/>
        <map value="TWCoreAllergyIntolerance.reaction"/>
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="TWAllergyIntolerance">
      <path value="TWAllergyIntolerance"/>
      <short value="臺灣核心-過敏或不耐症(TW Core AllergyIntolerance) 之資料模型"/>
      <definition value="臺灣核心-過敏或不耐症(TW Core AllergyIntolerance) 之資料模型"/>
      <mapping>
        <identity value="TWAllergyIntolerance"/>
        <map value="TWCoreAllergyIntolerance"/>
      </mapping>
    </element>
    <element id="TWAllergyIntolerance.clinicalStatus">
      <path value="TWAllergyIntolerance.clinicalStatus"/>
      <short value="過敏或不耐受的臨床狀態。"/>
      <definition value="過敏或不耐受的臨床狀態。"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWAllergyIntolerance"/>
        <map value="TWCoreAllergyIntolerance.clinicalStatus"/>
      </mapping>
    </element>
    <element id="TWAllergyIntolerance.verificationStatus">
      <path value="TWAllergyIntolerance.verificationStatus"/>
      <short value="關於對特定物質反應的傾向或潜在風險的確定性聲明。"/>
      <definition value="關於對特定物質反應的傾向或潜在風險的確定性聲明。"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWAllergyIntolerance"/>
        <map value="TWCoreAllergyIntolerance.verificationStatus"/>
      </mapping>
    </element>
    <element id="TWAllergyIntolerance.code">
      <path value="TWAllergyIntolerance.code"/>
      <short value="指明此過敏或不耐受的代碼。"/>
      <definition value="指明此過敏或不耐受的代碼。"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWAllergyIntolerance"/>
        <map value="TWCoreAllergyIntolerance.code"/>
      </mapping>
    </element>
    <element id="TWAllergyIntolerance.patient">
      <path value="TWAllergyIntolerance.patient"/>
      <short value="誰有此過敏或不耐受?"/>
      <definition value="誰有此過敏或不耐受?"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Patient"/>
      </type>
      <mapping>
        <identity value="TWAllergyIntolerance"/>
        <map
             value="TWCoreAllergyIntolerance.subject.Reference(TW Core Patient)"/>
      </mapping>
    </element>
    <element id="TWAllergyIntolerance.reaction">
      <path value="TWAllergyIntolerance.reaction"/>
      <short value="暴露於此過敏或不耐受物質的不良反應。"/>
      <definition value="暴露於此過敏或不耐受物質的不良反應。"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="TWAllergyIntolerance"/>
        <map value="TWCoreAllergyIntolerance.reaction"/>
      </mapping>
    </element>
  </differential>
</StructureDefinition>