電子病歷交換單張實作指引(EMR-IG)
0.1.0 - ci-build
This page is part of the 電子病歷交換單張實作指引(EMR-IG) (v0.1.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
Draft as of 2024-08-23 |
XML representation of the PMRAllergyIntolerance resource profile.
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="PMRAllergyIntolerance"/>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition PMRAllergyIntolerance</b></p><a name="PMRAllergyIntolerance"> </a><a name="hcPMRAllergyIntolerance"> </a><a name="PMRAllergyIntolerance-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 & 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_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-PMRAllergyIntolerance-definitions.html#AllergyIntolerance">AllergyIntolerance</a><a name="AllergyIntolerance"> </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="https://twcore.mohw.gov.tw/ig/twcore/0.2.0/StructureDefinition-AllergyIntolerance-twcore.html">TWCoreAllergyIntolerance</a></td><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">過敏或不耐症(通常指:對某種物質有不良反應的風險)</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_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-PMRAllergyIntolerance-definitions.html#AllergyIntolerance.code">code</a><a name="AllergyIntolerance.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"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://twcore.mohw.gov.tw/ig/twcore/0.2.0/StructureDefinition-CodeableConcept-tw.html" title="CodeableConcept">CodeableConceptTW</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Major Illness</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_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-PMRAllergyIntolerance-definitions.html#AllergyIntolerance.code.text">text</a><a name="AllergyIntolerance.code.text"> </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..<span style="opacity: 0.5">1</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 style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">標識過敏或不耐受的描述。[應填入於門診病歷過敏史History of allergies]</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_bck01.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-PMRAllergyIntolerance-definitions.html#AllergyIntolerance.patient">patient</a><a name="AllergyIntolerance.patient"> </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"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>(<a href="StructureDefinition-PMRPatient.html">門診病歷-病人基本資料</a>)</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">誰有此過敏或不耐受?</span></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_bck000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-PMRAllergyIntolerance-definitions.html#AllergyIntolerance.patient.reference">reference</a><a name="AllergyIntolerance.patient.reference"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#string">string</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><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/emr/StructureDefinition/PMRAllergyIntolerance"/>
<version value="0.1.0"/>
<name value="PMRAllergyIntolerance"/>
<title value="門診病歷-過敏史"/>
<status value="draft"/>
<date value="2024-08-23T16:35:07+08:00"/>
<publisher value="衛生福利部"/>
<contact>
<telecom>
<system value="url"/>
<value value="https://www.mohw.gov.tw/mp-1.html"/>
</telecom>
</contact>
<description value="此Profiles用於紀錄病患過敏史"/>
<fhirVersion value="4.0.1"/>
<mapping>
<identity value="rim"/>
<uri value="http://hl7.org/v3"/>
<name value="RIM Mapping"/>
</mapping>
<mapping>
<identity value="w5"/>
<uri value="http://hl7.org/fhir/fivews"/>
<name value="FiveWs Pattern Mapping"/>
</mapping>
<mapping>
<identity value="v2"/>
<uri value="http://hl7.org/v2"/>
<name value="HL7 v2 Mapping"/>
</mapping>
<kind value="resource"/>
<abstract value="false"/>
<type value="AllergyIntolerance"/>
<baseDefinition
value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/AllergyIntolerance-twcore"/>
<derivation value="constraint"/>
<snapshot>
<element id="AllergyIntolerance">
<path value="AllergyIntolerance"/>
<short value="過敏或不耐症(通常指:對某種物質有不良反應的風險)"/>
<definition
value="可能對個人產生有害或不希望的生理反應的風險,這種反應是與暴露於某種物質相關的,並且對每個人來說都是獨特的。"/>
<comment value="物質包括但不限於:適合個人的劑量正確使用的治療性物質、食品、來自植物或動物的材質、或昆蟲叮咬所釋放的毒液。"/>
<alias value="Allergy"/>
<alias value="Intolerance"/>
<alias value="Adverse Reaction"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="AllergyIntolerance"/>
<min value="0"/>
<max value="*"/>
</base>
<constraint>
<key value="ait-1"/>
<severity value="error"/>
<human
value="AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error."/>
<expression
value="verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()"/>
<xpath
value="f:verificationStatus/f:coding/f:code/@value='entered-in-error' or exists(f:clinicalStatus)"/>
<source
value="http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"/>
</constraint>
<constraint>
<key value="ait-2"/>
<severity value="error"/>
<human
value="AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error"/>
<expression
value="verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()"/>
<xpath
value="not(f:verificationStatus/f:coding/f:code/@value='entered-in-error') or not(exists(f:clinicalStatus))"/>
<source
value="http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"/>
</constraint>
<constraint>
<key value="dom-2"/>
<severity value="error"/>
<human
value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
<expression value="contained.contained.empty()"/>
<xpath value="not(parent::f:contained and f:contained)"/>
<source
value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
</constraint>
<constraint>
<key value="dom-3"/>
<severity value="error"/>
<human
value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
<expression
value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
<xpath
value="not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
<source
value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
</constraint>
<constraint>
<key value="dom-4"/>
<severity value="error"/>
<human
value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/>
<expression
value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/>
<xpath
value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/>
<source
value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
</constraint>
<constraint>
<key value="dom-5"/>
<severity value="error"/>
<human
value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
<expression value="contained.meta.security.empty()"/>
<xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
<source
value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
</constraint>
<constraint>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice">
<valueBoolean value="true"/>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation">
<valueMarkdown
value="When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."/>
</extension>
<key value="dom-6"/>
<severity value="warning"/>
<human
value="A resource should have narrative for robust management"/>
<expression value="text.`div`.exists()"/>
<xpath value="exists(f:text/h:div)"/>
<source
value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="Entity. Role, or Act"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="Observation[classCode=OBS, moodCode=EVN]"/>
</mapping>
</element>
<element id="AllergyIntolerance.id">
<path value="AllergyIntolerance.id"/>
<short
value="不重複的ID用以識別儲存在特定FHIR Server中的AllergyIntolerance紀錄,通常又稱為邏輯性ID。"/>
<definition value="resource的邏輯ID,在resource的URL中使用。一旦指定,這個值永遠不會改變。"/>
<comment
value="一個resource使用新增操作(create operation)提交給伺服器時,此resource沒有id,它的id在resource被創建後由伺器分配/指定。"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Resource.id"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="id"/>
</extension>
<code value="http://hl7.org/fhirpath/System.String"/>
</type>
<isModifier value="false"/>
<isSummary value="true"/>
</element>
<element id="AllergyIntolerance.meta">
<path value="AllergyIntolerance.meta"/>
<short value="此AllergyIntolerance Resource的metadata"/>
<definition
value="關於resource的metadata。這是由基礎建設維護的內容。內容的更改可能並不總是與resource的版本更改相關聯。"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Resource.meta"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Meta"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="true"/>
</element>
<element id="AllergyIntolerance.implicitRules">
<path value="AllergyIntolerance.implicitRules"/>
<short value="創建此內容所依據的一組規則"/>
<definition
value="構建resource時遵循的一系列規則的參照,在處理內容時必須理解這些規則。通常這是對IG所定義之特殊規則及其他profiles的參照。"/>
<comment
value="宣告這套規則限制了內容只能被有限的交易夥伴所理解。這從本質上限制了資料的長期有用性。然而,現有的健康生態體系高度分裂,還沒有準備好以普遍可計算的方式定義、收集和交換資料。只要有可能,實作者和/或規範編寫者應該避免使用這個資料項目。通常在使用時,此URL是對IG的參照,此IG將這些特殊規則與其他profiles、value sets等一起定義為其敘述的一部分。"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Resource.implicitRules"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="uri"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="true"/>
<isModifierReason
value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
<isSummary value="true"/>
</element>
<element id="AllergyIntolerance.language">
<path value="AllergyIntolerance.language"/>
<short value="用以表述AllergyIntolerance Resource內容的語言。"/>
<definition value="編寫此resource的語言"/>
<comment
value="提供語言是為了支援索引和可存取性(通常,文字表述轉語音等服務使用此語言標籤)。html lanuage tag適用於此敘述。resource上的語言標籤可用於指定從resource中的資料所產成的其他表述之語言。不是所有的內容都必須使用此語言。不應該假定Resource.language自動適用於敘述。如果指定語言,它也應該被指定在html中的div資料項目(關於xml:lang和html lang屬性之間的關係,見HTML5中的規則)。"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Resource.language"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<example>
<label value="Value"/>
<valueString value="zh-TW"/>
</example>
<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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<binding>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
<valueCanonical value="http://hl7.org/fhir/ValueSet/all-languages"/>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="Language"/>
</extension>
<strength value="preferred"/>
<description
value="人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。"/>
<valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
</binding>
</element>
<element id="AllergyIntolerance.text">
<path value="AllergyIntolerance.text"/>
<short value="AllergyIntolerance Resource之內容摘要以供人閱讀"/>
<definition
value="人可讀的敘述,包含resource的摘要,可用於向人表述resource的內容。敘述不需要對所有的結構化資料進行編碼,但需要包含足夠的細節使人在閱讀敘述時理解「臨床安全性」。resource定義有哪些內容應該在敘述中表示,以確保臨床安全。"/>
<comment
value="內嵌(contained)的resource沒有敘述,非內嵌(contained)的resource則**建議應該(SHOULD)**有敘述。有時resource可能只有文字表述,很少或沒有額外的結構化資料(只要滿足所有minOccurs=1的資料項目)。這可能出現在舊系統的資料,當資訊以 「文字表述區塊(text blob) 」的形式被取得,或者文字表述是原始輸入或說明,而編碼資訊稍後再添加。"/>
<alias value="narrative"/>
<alias value="html"/>
<alias value="xhtml"/>
<alias value="display"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="DomainResource.text"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Narrative"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="Act.text?"/>
</mapping>
</element>
<element id="AllergyIntolerance.contained">
<path value="AllergyIntolerance.contained"/>
<short value="內嵌的(contained)、行內的Resources"/>
<definition
value="這些resource內嵌(contains)的resource不會另外存於任何FHIR伺服器,意即它們無法在任何FHIR伺服器中被找到,也無法有自己獨立的資料異動/交易(transaction)範圍。"/>
<comment
value="當內容可以從任何FHIR伺服器找到時,不應該以內嵌(contained)resource的方式呈現,因為一旦失去識別,再次恢復它是非常困難的(並且取決於情境)。內嵌(contained)的resource可在它們的meta資料項目中表述profiles和tag,但不應該有安全標號(security labels)。"/>
<alias value="inline resources"/>
<alias value="anonymous resources"/>
<alias value="contained resources"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="DomainResource.contained"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Resource"/>
</type>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="AllergyIntolerance.extension">
<path value="AllergyIntolerance.extension"/>
<short value="擴充的資料項目"/>
<definition
value="可用於表示不屬於此resource基本定義的額外資訊。為了擴充的使用安全和可管理,對擴充的定義和使用有一套嚴格的管理。儘管任何實作者都可以定義一個擴充,但作為擴充定義的一部分,**必須(SHALL)** 滿足一系列要求。"/>
<comment
value="任何應用程式、專案或標準使用擴充時,都不應該帶有任何負面的聯想。使用擴充是允許FHIR規範為每個人保留一個核心的簡易性。"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="DomainResource.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() > 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(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="AllergyIntolerance.modifierExtension">
<path value="AllergyIntolerance.modifierExtension"/>
<short value="此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。"/>
<definition
value="可以用來表示不屬於此resource的基本定義的額外資訊,並修改包含它所內嵌(contained)的資料項目的理解和/或對包含資料項目之後續使用的理解。通常修飾用的資料項目提供否定或限定的資訊。為了使擴充的使用安全和可管理,對擴充的定義和使用有一套嚴格的管理。雖然任何實作者都可以定義一個擴充,但在定義擴充時 **必須(SHALL)** 滿足一組要求。處理resource的應用程式需要檢查修飾用的擴充資料項目。
修飾用的擴充資料項目 **必須沒有(SHALL NOT)** 改變resource或DomainResource上任何資料項目的含義(包括不能改變modifierExtension本身的含義)。"/>
<comment
value="任何應用程式、專案或標準使用擴充時,都不應該帶有任何負面的聯想。使用擴充是允許FHIR規範為每個人保留一個核心的簡易性。"/>
<requirements
value="修飾用的資料項目擴充允許將不能安全地忽略的擴充,與絕大多數可以安全地忽略的擴充明確區分開來。這樣做有助於促進可互操作性,因為無需禁止實作者使用擴充,想要瞭解更多資訊,請參見[修飾用的資料項目擴充之定義](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)。"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="DomainResource.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() > 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(.), "value")])"/>
<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 resource that contains them"/>
<isSummary value="false"/>
</element>
<element id="AllergyIntolerance.identifier">
<path value="AllergyIntolerance.identifier"/>
<short value="過敏或不耐症之外部識別碼"/>
<definition
value="由執行者或其他系統指定給這個AllergyIntolerance的業務識別碼,隨著resource更新和從伺服器到伺服器的傳送,這些識別碼保持不變。"/>
<comment
value="這是過敏或不耐症紀錄的業務識別碼,不是一個 resource 識別碼(請參見討論小節)。最好的做法是該識別碼只出現在單一個resource實例上,但是實務上有時會要求具有相同識別碼的多個resource實例共存,這些 resources 實例甚至可能屬於不同的resource類型。例如:多個 Patient及一個Person resource實例可能共用同一個社會保險碼(此處是指美國民眾會有唯一可識別的社會保險碼)。"/>
<requirements value="允許各參與系統按照一致的方式,在不同伺服器之間確認並識別 AllergyIntolerance。"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="AllergyIntolerance.identifier"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Identifier"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="w5"/>
<map value="FiveWs.identifier"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="IAM-7"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="id"/>
</mapping>
</element>
<element id="AllergyIntolerance.clinicalStatus">
<path value="AllergyIntolerance.clinicalStatus"/>
<short value="概念(Concept)— 參照一個專門術語或只是文字表述"/>
<definition value="過敏或不耐症的臨床狀態"/>
<comment
value="如果 clincalStatus 缺少資料,請查閱討論小節。其資料類型是CodeableConcept,這是因為clinicalStatus涉及到一些臨床判斷,可能需要的具體性超過FHIR值集所要求的範圍。例如:SNOMED代碼可能提供額外的的具體性。"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="AllergyIntolerance.clinicalStatus"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="CodeableConcept"/>
<profile
value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"/>
</type>
<condition value="ele-1"/>
<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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mustSupport value="true"/>
<isModifier value="false"/>
<binding>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="AllergyIntoleranceClinicalStatus"/>
</extension>
<strength value="required"/>
<description value="過過敏或不耐症的臨床狀態;應填入所綁定值集中的其中一個代碼。"/>
<valueSet
value="http://hl7.org/fhir/ValueSet/allergyintolerance-clinical|4.0.1"/>
</binding>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="CE/CNE/CWE"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="CD"/>
</mapping>
<mapping>
<identity value="orim"/>
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD"/>
</mapping>
</element>
<element id="AllergyIntolerance.verificationStatus">
<path value="AllergyIntolerance.verificationStatus"/>
<short value="概念(Concept)— 參照一個專門術語或只是文字表述"/>
<definition value="一個人對某已識別物質(包括醫藥產品)產生反應的可能性或風險有多確定的陳述"/>
<comment
value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="AllergyIntolerance.verificationStatus"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="CodeableConcept"/>
<profile
value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"/>
</type>
<condition value="ele-1"/>
<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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mustSupport value="true"/>
<isModifier value="false"/>
<binding>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="AllergyIntoleranceVerificationStatus"/>
</extension>
<strength value="required"/>
<description value="一個人對特定物質產生反應的可能性或風險有多確定的陳述;應填入所綁定值集中的其中一個代碼。"/>
<valueSet
value="http://hl7.org/fhir/ValueSet/allergyintolerance-verification|4.0.1"/>
</binding>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="CE/CNE/CWE"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="CD"/>
</mapping>
<mapping>
<identity value="orim"/>
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD"/>
</mapping>
</element>
<element id="AllergyIntolerance.type">
<path value="AllergyIntolerance.type"/>
<short value="allergy | intolerance - 根本原因或運作機制(如果知道)。"/>
<definition value="為什麼某人對特定物質(如藥物或食物)會有反應的生理根本原因"/>
<comment
value="過敏反應通常是我們身體免疫系統的一種反應,它被認為可能預示著未來有更嚴重的健康風險。然而,現代醫學研究顯示,有些過去被認為是免疫反應的情況實際上可能並不是,但仍然可能對生命造成危害。有時候,醫生難以確定一個特定反應的機制是免疫相關還是非免疫相關的。此外,「過敏」這個詞經常被廣泛地使用,並且可能與「不耐症」這個詞的使用有所重疊。在實際應用中,這兩個概念的界限可能不太清晰或不容易理解。儘管如此,醫療紀錄中仍然包含了有關過敏反應的資訊,因為許多既有的醫療系統都已經收集了這些資料。免疫學檢測可以提供一些證據幫助確定反應的基礎和引起反應的物質,但這些檢測並不總是百分之百準確,無法100%確定對特定物質的敏感性。如果不清楚反應是否由過敏引起還是由不耐症引起,那麼在醫療紀錄中最好不要具體指定反應的類型,即可忽略及不填寫此資料項目。"/>
<alias value="Category"/>
<alias value="Class"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="AllergyIntolerance.type"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="true"/>
<binding>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="AllergyIntoleranceType"/>
</extension>
<strength value="required"/>
<description value="確定反應風險的基本生理機制;應填入所綁定值集中的其中一個代碼。"/>
<valueSet
value="http://hl7.org/fhir/ValueSet/allergy-intolerance-type|4.0.1"/>
</binding>
<mapping>
<identity value="w5"/>
<map value="FiveWs.class"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="IAM-9"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="code"/>
</mapping>
</element>
<element id="AllergyIntolerance.category">
<path value="AllergyIntolerance.category"/>
<short value="food | medication | environment | biologic"/>
<definition value="被識別的物質的類別"/>
<comment
value="這個資料資料項目被包括在內,因為它目前正在一些臨床系統中被採集。這個資料可以從使用編碼系統的物質中得到,在這種情況下實際上是多餘的。當按類別查詢時,考慮沒有類別的AllergyIntoleranceresource的影響。例如,當查詢類別=藥品時,沒有類別價值的藥品過敏將不會被返回。關於如何用:缺失修飾符查詢類別以獲得沒有類別的過敏,請參考查詢的更多資訊。此外,類別應謹慎使用,因為類別可能是基於寄件者的主觀因素。"/>
<alias value="Category"/>
<alias value="Type"/>
<alias value="Reaction Type"/>
<alias value="Class"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="AllergyIntolerance.category"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="code"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="true"/>
<binding>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="AllergyIntoleranceCategory"/>
</extension>
<strength value="required"/>
<description value="確定的物質的類別;應填入所綁定值集中的其中一個代碼。"/>
<valueSet
value="http://hl7.org/fhir/ValueSet/allergy-intolerance-category|4.0.1"/>
</binding>
<mapping>
<identity value="w5"/>
<map value="FiveWs.class"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="AL1-2"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="value < IntoleranceValue (Agent)"/>
</mapping>
</element>
<element id="AllergyIntolerance.criticality">
<path value="AllergyIntolerance.criticality"/>
<short value="low | high | unable-to-assess"/>
<definition value="對已識別物質的反應的潛在臨床危害程度,或稱嚴重性估計。"/>
<comment
value="對於任何對可能引發不良反應的傾向,預設的危險程度應該設定為「低風險」,這表示 **至少相對不建議** 有意或自願接觸這種物質。如果醫生識別出對更嚴重或可能危及生命的反應,如過敏性休克的傾向,則將其標記為「高風險」,這表示 **絕對不建議** 有意或自願接觸這種物質。如果缺少這個資料項目,則表示危險程度未知(雖然在其他地方可能已知)。取得疾病層次(condition level)危險性(criticality))的現有系統實際上是在表示危險性的概念,而在反應層次(reaction level)記錄的嚴重性(severity)表示真正的反應嚴重性。現有系統同時記錄疾病危險性和反應嚴重性,可能使用「嚴重性(severity)」一詞來表示兩者。危險性是未來可能出現的最糟糕情況(即不考慮具體情境),而嚴重性則依賴於特定情境。"/>
<alias value="Severity"/>
<alias value="Seriousness"/>
<alias value="Contra-indication"/>
<alias value="Risk"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="AllergyIntolerance.criticality"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="true"/>
<binding>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="AllergyIntoleranceCriticality"/>
</extension>
<strength value="required"/>
<description value="對已識別物質的反應的潛在臨床危害程度,或稱嚴重性估計;應填入所綁定值集中的其中一個代碼。"/>
<valueSet
value="http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality|4.0.1"/>
</binding>
<mapping>
<identity value="w5"/>
<map value="FiveWs.grade"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="AL1-4"/>
</mapping>
<mapping>
<identity value="rim"/>
<map
value="inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]"/>
</mapping>
</element>
<element id="AllergyIntolerance.code">
<path value="AllergyIntolerance.code"/>
<short value="Major Illness"/>
<definition
value="此資料項目是用來代碼化表示有關過敏或不耐症的資訊。它可以表示對某種物質或藥物產品引發不良反應風險的代碼(例如:「乳膠」),也可以表示有關過敏或不耐症的代碼(例如:「乳膠過敏」),或者是表示對特定物質或類別的否定或排除情況的代碼(例如:「無乳膠過敏」),還可以表示一般性的否定性聲明(例如:「無已知過敏」,「無已知藥品過敏」)。需要注意的是:特定反應的物質可能不同於被認為引發風險的物質,但它們之間必須是一致的,在處理這些資訊時,只處理「code」而忽略「reaction.substance」在臨床上必須在是安全的。如果接收系統無法確認AllergyIntolerance.reaction.substance是否符合AllergyIntolerance.code的語義範圍,則應該忽略AllergyIntolerance.reaction.substance。"/>
<comment
value="建議在填寫過敏或不耐症相關資料時,儘量使用專業術語。常用的專門術語包括RxNorm、SNOMED CT、DM+D、NDFRT、ICD-9、IDC-10、UNII和ATC等。如果找不到合適的專業術語,則可以用文字表述。文字表述還可以提供更多詳細資訊。
當我們為「code」資料項目指定特定物質或產品代碼時,通常意味著該病人對這種物質或產品有過敏或不耐受反應。在SNOMED CT的過敏模型中,這些物質或產品被視為「過敏物質(Causative agent)」。
另外,還有一個名為「substanceExposureRisk」的擴充資料項目,它比「code」資料項目提供更多靈活性,可以用來描述對特定物質或產品的過敏或不耐受反應,無論是正面還是負面。這個擴充資料項目特別有用於表達「沒有已知過敏」或「沒有不良反應風險」的情況,即使對於那些沒有預先確定「無過敏」概念的物質或產品也適用。如果使用了「substanceExposureRisk」擴充資料項目,則應該省略AllergyIntolerance.code資料項目。"/>
<alias value="Code"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="AllergyIntolerance.code"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="CodeableConcept"/>
<profile
value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"/>
</type>
<condition value="ele-1"/>
<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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mustSupport value="true"/>
<isModifier value="false"/>
<binding>
<strength value="extensible"/>
<description value="應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。"/>
<valueSet
value="http://hl7.org/fhir/ValueSet/allergyintolerance-code"/>
</binding>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="CE/CNE/CWE"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="CD"/>
</mapping>
<mapping>
<identity value="orim"/>
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD"/>
</mapping>
</element>
<element id="AllergyIntolerance.code.id">
<path value="AllergyIntolerance.code.id"/>
<representation value="xmlAttr"/>
<short value="唯一可識別ID,以供資料項目間相互參照。"/>
<definition value="resource中資料項目的唯一ID(用於內部參照)。這可以是任何不含空格的字串。"/>
<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="AllergyIntolerance.code.extension">
<path value="AllergyIntolerance.code.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="擴充的資料項目"/>
<definition value="擴充的資料項目"/>
<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() > 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(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="AllergyIntolerance.code.coding">
<path value="AllergyIntolerance.code.coding"/>
<short value="由專門術語系統(terminology system)定義的代碼"/>
<definition value="由專門術語系統(terminology system)所定義之代碼的參照"/>
<comment
value="代碼可以在列舉清單(enumerations)或代碼清單(code lists)中非常隨意地定義,直至有非常正式的定義,例如:SNOMED CT—更多資訊見HL7 v3核心原則(Core Principles )。編碼的排序是未定義的因而 **必須沒有(SHALL NOT)** 被用來推斷意義。一般來說,最多只有一個編碼值(coding values)會被標記為UserSelected = true。"/>
<requirements value="允許代碼系統中的替代編碼,以及翻譯到其他編碼系統。"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="CodeableConcept.coding"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Coding"/>
<profile
value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw"/>
</type>
<condition value="ele-1"/>
<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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mustSupport value="true"/>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
<mapping>
<identity value="v2"/>
<map
value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="CV"/>
</mapping>
<mapping>
<identity value="orim"/>
<map value="fhir:Coding rdfs:subClassOf dt:CDCoding"/>
</mapping>
</element>
<element id="AllergyIntolerance.code.text">
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true"/>
</extension>
<path value="AllergyIntolerance.code.text"/>
<short value="標識過敏或不耐受的描述。[應填入於門診病歷過敏史History of allergies]"/>
<definition value="輸入資料的使用者所見/所選/所說的人類可讀文字表述,和(或)其代表使用者的預期含義。"/>
<comment value="很多時候,此文字表述與其中一個代碼的顯示名稱相同。"/>
<requirements
value="專門術語中的代碼並不總是能捕捉人類使用的細微差別的正確意義,或者根本就沒有合適的代碼;這些情況下,文字表述被用來捕捉來源的全部意義。"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="CodeableConcept.text"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="v2"/>
<map value="C*E.9. But note many systems use C*E.2 for this"/>
</mapping>
<mapping>
<identity value="rim"/>
<map
value="./originalText[mediaType/code="text/plain"]/data"/>
</mapping>
<mapping>
<identity value="orim"/>
<map
value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
</mapping>
</element>
<element id="AllergyIntolerance.patient">
<path value="AllergyIntolerance.patient"/>
<short value="誰有此過敏或不耐受?"/>
<definition value="患有過敏或不耐症的病人"/>
<alias value="Patient"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="AllergyIntolerance.patient"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="Reference"/>
<targetProfile
value="https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/PMRPatient"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="w5"/>
<map value="FiveWs.subject[x]"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="(PID-3)"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value=".participation[typeCode=SBJ].role[classCode=PAT]"/>
</mapping>
<mapping>
<identity value="w5"/>
<map value="FiveWs.subject"/>
</mapping>
</element>
<element id="AllergyIntolerance.patient.id">
<path value="AllergyIntolerance.patient.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="AllergyIntolerance.patient.extension">
<path value="AllergyIntolerance.patient.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() > 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(.), "value")])"/>
<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="AllergyIntolerance.patient.reference">
<path value="AllergyIntolerance.patient.reference"/>
<short value="病人"/>
<definition
value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/>
<comment
value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Reference.reference"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<condition value="ref-1"/>
<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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="AllergyIntolerance.patient.type">
<path value="AllergyIntolerance.patient.type"/>
<short value="Type the reference refers to (e.g. "Patient")"/>
<definition
value="The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.
The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)."/>
<comment
value="This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Reference.type"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="uri"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="true"/>
<binding>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="FHIRResourceTypeExt"/>
</extension>
<strength value="extensible"/>
<description
value="Aa resource (or, for logical models, the URI of the logical model)."/>
<valueSet value="http://hl7.org/fhir/ValueSet/resource-types"/>
</binding>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="AllergyIntolerance.patient.identifier">
<path value="AllergyIntolerance.patient.identifier"/>
<short value="Logical reference, when literal reference is not known"/>
<definition
value="An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference."/>
<comment
value="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy.
When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference
Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.
Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Reference.identifier"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Identifier"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value=".identifier"/>
</mapping>
</element>
<element id="AllergyIntolerance.patient.display">
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
<valueBoolean value="true"/>
</extension>
<path value="AllergyIntolerance.patient.display"/>
<short value="Text alternative for the resource"/>
<definition
value="Plain text narrative that identifies the resource in addition to the resource reference."/>
<comment
value="This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Reference.display"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="rim"/>
<map value="N/A"/>
</mapping>
</element>
<element id="AllergyIntolerance.encounter">
<path value="AllergyIntolerance.encounter"/>
<short value="過敏或不耐症被確認時的就醫事件(Encounter)"/>
<definition value="過敏症或不耐症被確認的就醫事件(Encounter)"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="AllergyIntolerance.encounter"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Reference"/>
<targetProfile
value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Encounter-twcore"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="w5"/>
<map value="FiveWs.context"/>
</mapping>
<mapping>
<identity value="rim"/>
<map
value=".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"/>
</mapping>
</element>
<element id="AllergyIntolerance.onset[x]">
<path value="AllergyIntolerance.onset[x]"/>
<short value="過敏或不耐症被識別的時間"/>
<definition value="過敏或不耐症被識別的估計或實際日期、日期時間或年齡。"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="AllergyIntolerance.onset[x]"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="dateTime"/>
</type>
<type>
<code value="Age"/>
</type>
<type>
<code value="Period"/>
</type>
<type>
<code value="Range"/>
</type>
<type>
<code value="string"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="w5"/>
<map value="FiveWs.init"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="effectiveTime.low"/>
</mapping>
</element>
<element id="AllergyIntolerance.recordedDate">
<path value="AllergyIntolerance.recordedDate"/>
<short value="resource實例的第一個版本被記錄的日期"/>
<definition value="recordedDate指的是這個特定的過敏不耐症紀錄在系統中建立的日期,通常是由系統產生的日期。"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="AllergyIntolerance.recordedDate"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="dateTime"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="w5"/>
<map value="FiveWs.recorded"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="IAM-13"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value=".participation[typeCode=AUT].time"/>
</mapping>
</element>
<element id="AllergyIntolerance.recorder">
<path value="AllergyIntolerance.recorder"/>
<short value="誰記錄了過敏或不耐受"/>
<definition value="記錄此紀錄並對其內容負責的個人"/>
<alias value="Author"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="AllergyIntolerance.recorder"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Reference"/>
<targetProfile
value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore"/>
<targetProfile
value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/PractitionerRole-twcore"/>
<targetProfile
value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore"/>
<targetProfile
value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="w5"/>
<map value="FiveWs.author"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value=".participation[typeCode=AUT].role"/>
</mapping>
</element>
<element id="AllergyIntolerance.asserter">
<path value="AllergyIntolerance.asserter"/>
<short value="關於過敏的資訊來源"/>
<definition value="有關過敏紀錄的資訊來源"/>
<comment value="記錄者要對內容負有責任,但可以參照他們獲得資訊的來源。"/>
<alias value="Source"/>
<alias value="Informant"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="AllergyIntolerance.asserter"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Reference"/>
<targetProfile
value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore"/>
<targetProfile
value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
<targetProfile
value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore"/>
<targetProfile
value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/PractitionerRole-twcore"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="true"/>
<mapping>
<identity value="w5"/>
<map value="FiveWs.source"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="IAM-14 (if patient) / IAM-18 (if practitioner)"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value=".participation[typeCode=INF].role"/>
</mapping>
</element>
<element id="AllergyIntolerance.lastOccurrence">
<path value="AllergyIntolerance.lastOccurrence"/>
<short value="最後一次已知反應發生的日期(/時間)"/>
<definition value="表示最後已知的過敏反應事件發生的日期和/或時間。"/>
<comment
value="這個日期可能會與某個反應開始日期重複。如果需要以文字表述最後發生的日期,例如:「在童年時」或「10年前」,應該使用 Comment 資料項目。"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="AllergyIntolerance.lastOccurrence"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="dateTime"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map
value="outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)].effectiveTime"/>
</mapping>
</element>
<element id="AllergyIntolerance.note">
<path value="AllergyIntolerance.note"/>
<short value="其他欄位中沒有記錄的額外文字陳述"/>
<definition value="有關不良反應的可能性,這些資訊是未被記錄在其他資料項目中的補充敘述。"/>
<comment
value="例如:包括標記為「高風險」的原因,以及與將來接觸或使用該物質相關的指示,比如在重症照護病房內使用或在使用時需要皮質類固醇保護。這些註釋應該與過敏或不耐症作為一般狀況有關,而不是特定事件。對於特定事件的描述和註釋,請使用 AllergyIntolerance.event.description 和 AllergyIntolerance.event.notes。"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="AllergyIntolerance.note"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Annotation"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map
value="subjectOf.observationEvent[code="annotation"].value"/>
</mapping>
</element>
<element id="AllergyIntolerance.reaction">
<path value="AllergyIntolerance.reaction"/>
<short value="暴露於此過敏或不耐症物質的不良反應"/>
<definition value="關於每次接觸特定物質所引起的不良反應事件的細節"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="AllergyIntolerance.reaction"/>
<min value="0"/>
<max value="*"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mustSupport value="true"/>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map
value="outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)]"/>
</mapping>
</element>
<element id="AllergyIntolerance.reaction.id">
<path value="AllergyIntolerance.reaction.id"/>
<representation value="xmlAttr"/>
<short value="唯一可識別ID,以供資料項目間相互參照。"/>
<definition value="resource中資料項目的唯一ID(用於內部參照)。這可以是任何不含空格的字串。"/>
<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="AllergyIntolerance.reaction.extension">
<path value="AllergyIntolerance.reaction.extension"/>
<short value="擴充的資料項目"/>
<definition value="擴充的資料項目"/>
<comment
value="無論使用或定義擴充的機構或管轄區,任何應用程式、專案或標準使用擴充都不背負任何汙名(stigma)。使用擴充是允許FHIR規範為每個人保留一個核心的簡易性。"/>
<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() > 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(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="AllergyIntolerance.reaction.modifierExtension">
<path value="AllergyIntolerance.reaction.modifierExtension"/>
<short value="此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。"/>
<definition
value="可以用來表示不屬於資料項目的基本定義的附加資訊,並且修改對它所內嵌(contained)的資料項目的理解和(或)對包含資料項目之後續使用的理解。通常,修飾用的資料項目提供否定或限定。為了使擴充的使用安全和可管理,對擴充的定義和使用有一套嚴格的管理。儘管任何實作者都可以定義一個擴充,但作為擴充定義的一部分,有一套要求 **必須(SHALL)** 滿足。處理resource的應用程式被要求檢查修飾用的擴充資料項目。
修飾用的擴充資料項目 **必須沒有(SHALL NOT)** 改變resource或DomainResource上任何資料項目的含義(包括不能改變modifierExtension本身的含義)。"/>
<comment
value="無論使用或定義擴充的機構或管轄區,任何應用程式、專案或標準使用擴充都不背負任何汙名(stigma)。使用擴充是允許FHIR規範為每個人保留一個核心的簡易性。"/>
<requirements
value="修飾用的資料項目擴充將不能安全地忽略的擴充與絕大多數可以安全地忽略的擴充明確區分開來。透過消除禁止實作者擴充存在的需求來促進可互通性。更多訊息,請參見[修飾用的資料項目擴充之定義](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)。"/>
<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() > 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(.), "value")])"/>
<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"/>
</element>
<element id="AllergyIntolerance.reaction.substance">
<path value="AllergyIntolerance.reaction.substance"/>
<short value="被認為是事件原因的特定物質或醫藥產品"/>
<definition
value="確定與不良反應事件有關的特定物質(或藥品)。注意:對於特定反應而言,所涉及的物質可能與被認為是風險原因的物質不同,但它必須與之一致。例如:它可能是一種更具體的物質(例如:品牌藥物)或包含被確認的物質的複合產品。在臨床上,僅處理「code」而忽略「reaction.substance」必須是安全的。如果接收系統無法確定 AllergyIntolerance.reaction.substance 是否在 AllergyIntolerance.code 的語義範圍內,則接收系統應忽略 AllergyIntolerance.reaction.substance。"/>
<comment
value="表現形式可以用一個詞、短語或簡短的描述來表達。例如:噁心、皮疹或無反應。在可能的情況下,最好用專門術語對表現形式進行編碼。這裡輸入的值可作為不良反應清單的一部分顯示在應用螢幕上,正如英國國家醫療服務體系CUI 指南中所建議的那樣,常用的專門術語包括,但不限於SNOMED CT或ICD10。"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="AllergyIntolerance.reaction.substance"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="CodeableConcept"/>
<profile
value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"/>
</type>
<condition value="ele-1"/>
<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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<binding>
<strength value="extensible"/>
<description value="應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。"/>
<valueSet value="http://hl7.org/fhir/ValueSet/substance-code"/>
</binding>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="CE/CNE/CWE"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="CD"/>
</mapping>
<mapping>
<identity value="orim"/>
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD"/>
</mapping>
</element>
<element id="AllergyIntolerance.reaction.manifestation">
<path value="AllergyIntolerance.reaction.manifestation"/>
<short value="與此事件相關的臨床症狀/體徵"/>
<definition value="觀察到的或與不良反應事件相關的臨床症狀和/或體徵"/>
<comment
value="表現形式可以用一個詞、短語或簡短的描述來表達。例如:噁心、皮疹或無反應。在可能的情況下,最好用術語對表現形式進行編碼。這裡輸入的數值可作為不良反應清單的一部分顯示在應用螢幕上,正如英國國家醫療服務體系CUI指南中所建議的那樣。常用的術語包括,但不限於SNOMED CT或ICD10。"/>
<alias value="Symptoms"/>
<alias value="Signs"/>
<min value="1"/>
<max value="*"/>
<base>
<path value="AllergyIntolerance.reaction.manifestation"/>
<min value="1"/>
<max value="*"/>
</base>
<type>
<code value="CodeableConcept"/>
<profile
value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"/>
</type>
<condition value="ele-1"/>
<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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<mustSupport value="true"/>
<isModifier value="false"/>
<binding>
<strength value="extensible"/>
<description value="應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。"/>
<valueSet value="http://hl7.org/fhir/ValueSet/clinical-findings"/>
</binding>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="CE/CNE/CWE"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="CD"/>
</mapping>
<mapping>
<identity value="orim"/>
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD"/>
</mapping>
</element>
<element id="AllergyIntolerance.reaction.description">
<path value="AllergyIntolerance.reaction.description"/>
<short value="對整個活動的描述"/>
<definition value="關於整個反應的文字描述,如果必要則包括表現形式的細節。"/>
<comment
value="使用描述來提供發生反應的特定事件的任何細節,如情況、反應細節、之前/之後發生了什麼。與事件有關的資訊,但不描述特定的照護應在comment資料項目中記錄。例如:病人在四歲時因鏈球菌感染被注射青黴素,隨後出現嚴重的蕁麻疹。"/>
<alias value="Narrative"/>
<alias value="Text"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="AllergyIntolerance.reaction.description"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="text"/>
</mapping>
</element>
<element id="AllergyIntolerance.reaction.onset">
<path value="AllergyIntolerance.reaction.onset"/>
<short value="症狀顯現的日期(/時間)"/>
<definition value="記錄反應開始的日期和/或時間"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="AllergyIntolerance.reaction.onset"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="dateTime"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="v2"/>
<map value="AL1-6"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="effectiveTime.low"/>
</mapping>
</element>
<element id="AllergyIntolerance.reaction.severity">
<path value="AllergyIntolerance.reaction.severity"/>
<short value="mild | moderate | severe (整個事件的程度)"/>
<definition value="對整個反應事件的臨床評估,可能會考慮多個不同的表現,以確定反應的嚴重程度。"/>
<comment
value="這種評估是非常主觀的。可能有一些特定的實務領域已經應用了客觀的評分標準,客觀的評分標準可以作為擴充資料項目包含在這個模型中。"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="AllergyIntolerance.reaction.severity"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<binding>
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="AllergyIntoleranceSeverity"/>
</extension>
<strength value="required"/>
<description value="應填入所綁定值集中的其中一個代碼。"/>
<valueSet
value="http://hl7.org/fhir/ValueSet/reaction-event-severity|4.0.1"/>
</binding>
<mapping>
<identity value="rim"/>
<map
value="inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]"/>
</mapping>
</element>
<element id="AllergyIntolerance.reaction.exposureRoute">
<path value="AllergyIntolerance.reaction.exposureRoute"/>
<short value="此對象如何接觸到該物質"/>
<definition value="確認此對象是透過哪種途徑接觸到該物質"/>
<comment value="應盡可能使用專門術語對接觸途徑進行編碼。"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="AllergyIntolerance.reaction.exposureRoute"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="CodeableConcept"/>
<profile
value="https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"/>
</type>
<condition value="ele-1"/>
<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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<binding>
<strength value="extensible"/>
<description value="應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。"/>
<valueSet value="http://hl7.org/fhir/ValueSet/route-codes"/>
</binding>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
<mapping>
<identity value="v2"/>
<map value="CE/CNE/CWE"/>
</mapping>
<mapping>
<identity value="rim"/>
<map value="CD"/>
</mapping>
<mapping>
<identity value="orim"/>
<map value="fhir:CodeableConcept rdfs:subClassOf dt:CD"/>
</mapping>
</element>
<element id="AllergyIntolerance.reaction.note">
<path value="AllergyIntolerance.reaction.note"/>
<short value="其他資料項目未記錄之關於事件的文字表述"/>
<definition value="其他關於不良反應事件的文字表述,這些資訊未在其他資料項目中記錄。"/>
<comment
value="使用此資料項目記錄與特定事件間接相關的資訊,但在其他資料項目未記錄的資訊。例如:如果臨床紀錄不再可用,則可根據病人母親提供的資訊來紀錄,儘管病人的母親已經過世。"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="AllergyIntolerance.reaction.note"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Annotation"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map
value="subjectOf.observationEvent[code="annotation"].value"/>
</mapping>
</element>
</snapshot>
<differential>
<element id="AllergyIntolerance">
<path value="AllergyIntolerance"/>
</element>
<element id="AllergyIntolerance.code">
<path value="AllergyIntolerance.code"/>
<short value="Major Illness"/>
</element>
<element id="AllergyIntolerance.code.text">
<path value="AllergyIntolerance.code.text"/>
<short value="標識過敏或不耐受的描述。[應填入於門診病歷過敏史History of allergies]"/>
<min value="1"/>
</element>
<element id="AllergyIntolerance.patient">
<path value="AllergyIntolerance.patient"/>
<type>
<code value="Reference"/>
<targetProfile
value="https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/PMRPatient"/>
</type>
</element>
<element id="AllergyIntolerance.patient.reference">
<path value="AllergyIntolerance.patient.reference"/>
<short value="病人"/>
<min value="1"/>
<mustSupport value="true"/>
</element>
</differential>
</StructureDefinition>