<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="allergy-intolerance" />
  <text>
    <status value="extensions" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b>Generated Narrative: StructureDefinition allergy-intolerance</b>
      </p>
      <a name="allergy-intolerance"></a>
      <a name="hcallergy-intolerance"></a>
      <table border="0" cellpadding="0" cellspacing="0" class="xhtTableBorder0">
        <tr class="xhtRowBorder1">
          <th scope="col" style="" class="hierarchy xhtCellBorder0">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a>
          </th>
          <th scope="col" style="" class="hierarchy xhtCellBorder0">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a>
          </th>
          <th scope="col" style="" class="hierarchy xhtCellBorder0">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a>
          </th>
          <th scope="col" style="; width: 100px" class="hierarchy xhtCellBorder0">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a>
          </th>
          <th scope="col" style="" class="hierarchy xhtCellBorder0">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a>
            <span style="float: right">
              <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format">
                <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit" />
              </a>
            </span>
          </th>
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck1.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_resource.png" alt="" style="background-color: white; background-color: inherit" title="Resource" class="hierarchy" />
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance">AllergyIntolerance</a>
            <a name="AllergyIntolerance"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/conformance-rules.html#constraints" title="This element has or is affected by constraints ( pcare-ait-1 )" class="xhtConstraintStyle">C</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">*</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="https://simplifier.net/resolve?scope=ca.infoway.io.core@1.2.1-dft&amp;canonical=http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/allergyintolerance-ca-core">AllergyIntoleranceCACore</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Allergy or Intolerance (generally: Risk of adverse reaction to a substance)</span>
            <br class="constraint" />
            <span class="constraint">Constraints: </span>
            <span title="code.text is expected not to exceed 250 characters for PS-AB compatibility." class="xhtPieceBold constraint">pcare-ait-1</span>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck11.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.identifier">identifier</a>
            <a name="AllergyIntolerance.identifier"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck110.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: white; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.identifier.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.identifier.system">system</a>
            <a name="AllergyIntolerance.identifier.system"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#uri" class="xhtPieceDeEmphasized">uri</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">The namespace for the identifier value</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck100.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin_end.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.identifier.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.identifier.value">value</a>
            <a name="AllergyIntolerance.identifier.value"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#string" class="xhtPieceDeEmphasized">string</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">The value that is unique</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck11.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: white; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.clinicalStatus">clinicalStatus</a>
            <a name="AllergyIntolerance.clinicalStatus"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept" class="xhtPieceDeEmphasized">CodeableConcept</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">active | inactive | resolved</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck101.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin_end.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.clinicalStatus.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.clinicalStatus.coding">coding</a>
            <a name="AllergyIntolerance.clinicalStatus.coding"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck1010.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_blank.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: white; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.clinicalStatus.coding.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.clinicalStatus.coding.system">system</a>
            <a name="AllergyIntolerance.clinicalStatus.coding.system"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#uri" class="xhtPieceDeEmphasized">uri</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Identity of the terminology system</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck1010.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_blank.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" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.clinicalStatus.coding.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.clinicalStatus.coding.code">code</a>
            <a name="AllergyIntolerance.clinicalStatus.coding.code"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#code" class="xhtPieceDeEmphasized">code</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Symbol in syntax defined by the system</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck1000.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_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" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.clinicalStatus.coding.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.clinicalStatus.coding.display">display</a>
            <a name="AllergyIntolerance.clinicalStatus.coding.display"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#string" class="xhtPieceDeEmphasized">string</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Representation defined by the system</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck11.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.verificationStatus">verificationStatus</a>
            <a name="AllergyIntolerance.verificationStatus"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept" class="xhtPieceDeEmphasized">CodeableConcept</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">unconfirmed | confirmed | refuted | entered-in-error</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck101.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin_end.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: white; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.verificationStatus.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.verificationStatus.coding">coding</a>
            <a name="AllergyIntolerance.verificationStatus.coding"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck1010.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_blank.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" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.verificationStatus.coding.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.verificationStatus.coding.system">system</a>
            <a name="AllergyIntolerance.verificationStatus.coding.system"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#uri" class="xhtPieceDeEmphasized">uri</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Identity of the terminology system</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck1000.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_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" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.verificationStatus.coding.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.verificationStatus.coding.display">display</a>
            <a name="AllergyIntolerance.verificationStatus.coding.display"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#string" class="xhtPieceDeEmphasized">string</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Representation defined by the system</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.criticality">criticality</a>
            <a name="AllergyIntolerance.criticality"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#code" class="xhtPieceDeEmphasized">code</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">low | high | unable-to-assess</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_datatype.gif" alt="" style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.code">code</a>
            <a name="AllergyIntolerance.code"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">1..<span class="xhtPieceDeEmphasized">1</span></td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="StructureDefinition-codeable-concept.html" title="CodeableConcept">PCareCodeableConcept</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Concept - reference to a terminology or just  text</span>
            <br class="binding" />
            <span class="xhtPieceBold binding">Binding: </span>
            <a href="https://simplifier.net/resolve?scope=ca.infoway.io.core@1.2.1-dft&amp;canonical=https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticalbiologicproductandsubstancecode" title="https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticalbiologicproductandsubstancecode" class="binding">PharmaceuticalBiologicProductAndSubstanceCode (1.2.1-dft)</a>
            <span class="binding"> (</span>
            <a href="http://hl7.org/fhir/R4/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant." class="binding">preferred</a>
            <span class="binding">)</span>
            <span class="binding">: </span>
            <span class="binding">Type of the substance/product, allergy or intolerance condition, or negation/exclusion codes for reporting no known allergies.</span>
            <table class="binding grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Additional Bindings</b>
                </td>
                <td style="font-size: 11px">Purpose</td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <a href="https://simplifier.net/resolve?scope=ca.ab.fhir.psab@1.2.0-pre6&amp;canonical=https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct" title="https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct">PrescriptionMedicinalProduct (20250315)</a>
                </td>
                <td style="font-size: 11px">
                  <span title="Unknown code for purpose">candidate</span>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <a href="https://simplifier.net/resolve?scope=ca.infoway.io.core@1.2.1-dft&amp;canonical=https://fhir.infoway-inforoute.ca/ValueSet/ICD10CA" title="https://fhir.infoway-inforoute.ca/ValueSet/ICD10CA">CodeICD10CA (1.2.1-dft)</a>
                </td>
                <td style="font-size: 11px">
                  <span title="Unknown code for purpose">candidate</span>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <a href="https://simplifier.net/resolve?scope=ca.infoway.io.core@1.2.1-dft&amp;canonical=https://fhir.infoway-inforoute.ca/ValueSet/LicensedNaturalHealthProducts" title="https://fhir.infoway-inforoute.ca/ValueSet/LicensedNaturalHealthProducts">LicensedNaturalHealthProducts (1.2.1-dft)</a>
                </td>
                <td style="font-size: 11px">
                  <span title="Unknown code for purpose">candidate</span>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <a href="http://hl7.org/fhir/uv/ips/STU1.1/ValueSet-absent-or-unknown-allergies-uv-ips.html" title="http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-allergies-uv-ips">Absent or Unknown Allergies - IPS</a>
                </td>
                <td style="font-size: 11px">
                  <span title="Unknown code for purpose">candidate</span>
                </td>
              </tr>
            </table>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>MAY</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known" title="Obligation Codes: populate if known">populate-if-known</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-producer.html">Producer</a>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-consumer.html">Consumer</a>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck11.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_reference.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.patient">patient</a>
            <a name="AllergyIntolerance.patient"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">1</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/references.html">Reference</a>(<a href="StructureDefinition-patient.html">P-Care Patient</a>)</td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Who the sensitivity is for</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck100.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin_end.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: white; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.patient.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.patient.reference">reference</a>
            <a name="AllergyIntolerance.patient.reference"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">1..<span class="xhtPieceDeEmphasized">1</span></td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#string" class="xhtPieceDeEmphasized">string</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Literal reference, Relative, internal or absolute URL</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.onset[x]">onset[x]</a>
            <a name="AllergyIntolerance.onset_x_"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#dateTime" class="xhtPieceDeEmphasized">dateTime</a>
            <span class="xhtPieceDeEmphasized">, </span>
            <a href="http://hl7.org/fhir/R4/datatypes.html#Age" class="xhtPieceDeEmphasized">Age</a>
            <span class="xhtPieceDeEmphasized">, </span>
            <a href="http://hl7.org/fhir/R4/datatypes.html#Period" class="xhtPieceDeEmphasized">Period</a>
            <span class="xhtPieceDeEmphasized">, </span>
            <a href="http://hl7.org/fhir/R4/datatypes.html#Range" class="xhtPieceDeEmphasized">Range</a>
            <span class="xhtPieceDeEmphasized">, </span>
            <a href="http://hl7.org/fhir/R4/datatypes.html#string" class="xhtPieceDeEmphasized">string</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">When allergy or intolerance was identified</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck13.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_slice.png" alt="" style="background-color: white; background-color: inherit" title="Slice Definition" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.</span>Slices for onset[x]<a name="AllergyIntolerance.onset_x_.2"></a></td>
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0">Content/Rules for all slices</td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck124.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin_end_slicer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_slice_item.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Slice Item" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.Slices for onset[x].</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.onset[x]:onsetDateTime" title="Slice onsetDateTime">onset[x]:onsetDateTime</a>
            <a name="AllergyIntolerance.onset_x_:onsetDateTime"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#dateTime">dateTime</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">When allergy or intolerance was identified</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHOULD</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_reference.png" alt="" style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.asserter">asserter</a>
            <a name="AllergyIntolerance.asserter"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/references.html">Reference</a>(<a href="https://simplifier.net/resolve?scope=ca.infoway.io.core@1.2.1-dft&amp;canonical=http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core">Patient (CA-Core)</a> | <a href="http://hl7.org/fhir/R4/relatedperson.html">RelatedPerson</a> | <a href="https://simplifier.net/resolve?scope=ca.infoway.io.core@1.2.1-dft&amp;canonical=http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/practitioner-ca-core">Practitioner (CA-Core)</a> | <a href="https://simplifier.net/resolve?scope=ca.infoway.io.core@1.2.1-dft&amp;canonical=http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/practitionerRole-ca-core">PractitionerRole (CA-Core)</a>)</td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Source of the information about the allergy</span>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.lastOccurrence">lastOccurrence</a>
            <a name="AllergyIntolerance.lastOccurrence"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#dateTime" class="xhtPieceDeEmphasized">dateTime</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Date(/time) of last known occurrence of a reaction</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck11.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: white; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.note">note</a>
            <a name="AllergyIntolerance.note"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">*</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#Annotation" class="xhtPieceDeEmphasized">Annotation</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Additional text not captured in other fields</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck100.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin_end.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.note.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.note.text">text</a>
            <a name="AllergyIntolerance.note.text"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">1</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#markdown" class="xhtPieceDeEmphasized">markdown</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">The annotation  - text content (as markdown)</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck01.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin_end.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: white; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.reaction">reaction</a>
            <a name="AllergyIntolerance.reaction"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">*</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#BackboneElement" class="xhtPieceDeEmphasized">BackboneElement</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Adverse Reaction Events linked to exposure to substance</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>MAY</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known" title="Obligation Codes: populate if known">populate-if-known</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-producer.html">Producer</a>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-consumer.html">Consumer</a>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck011.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.reaction.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.reaction.substance">substance</a>
            <a name="AllergyIntolerance.reaction.substance"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck0111.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <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_vline.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: white; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.reaction.substance.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.reaction.substance.coding">coding</a>
            <a name="AllergyIntolerance.reaction.substance.coding"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck01110.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <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_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.reaction.substance.coding.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.reaction.substance.coding.system">system</a>
            <a name="AllergyIntolerance.reaction.substance.coding.system"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#uri" class="xhtPieceDeEmphasized">uri</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Identity of the terminology system</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck01110.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <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_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: white; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.reaction.substance.coding.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.reaction.substance.coding.code">code</a>
            <a name="AllergyIntolerance.reaction.substance.coding.code"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#code" class="xhtPieceDeEmphasized">code</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Symbol in syntax defined by the system</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck01100.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <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_vline.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: #F7F7F7; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.reaction.substance.coding.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.reaction.substance.coding.display">display</a>
            <a name="AllergyIntolerance.reaction.substance.coding.display"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#string" class="xhtPieceDeEmphasized">string</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Representation defined by the system</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck0100.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <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_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" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.reaction.substance.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.reaction.substance.text">text</a>
            <a name="AllergyIntolerance.reaction.substance.text"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#string" class="xhtPieceDeEmphasized">string</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Plain text representation of the concept</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck011.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_datatype.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.reaction.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.reaction.manifestation">manifestation</a>
            <a name="AllergyIntolerance.reaction.manifestation"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">1</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">*</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="StructureDefinition-codeable-concept.html" title="CodeableConcept">PCareCodeableConcept</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Concept - reference to a terminology or just  text</span>
            <br class="binding" />
            <span class="xhtPieceBold binding">Binding: </span>
            <a href="https://simplifier.net/resolve?scope=ca.infoway.io.core@1.2.1-dft&amp;canonical=https://fhir.infoway-inforoute.ca/ValueSet/clinicalfindingcode" title="https://fhir.infoway-inforoute.ca/ValueSet/clinicalfindingcode" class="binding">ClinicalFindingCode (1.2.1-dft)</a>
            <span class="binding"> (</span>
            <a href="http://hl7.org/fhir/R4/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant." class="binding">preferred</a>
            <span class="binding">)</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>MAY</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known" title="Obligation Codes: populate if known">populate-if-known</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-producer.html">Producer</a>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-consumer.html">Consumer</a>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck0111.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <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_vline.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: white; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.reaction.manifestation.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.reaction.manifestation.coding">coding</a>
            <a name="AllergyIntolerance.reaction.manifestation.coding"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
          <td style="" class="hierarchy xhtCellBorder0" />
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck01110.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <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_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.reaction.manifestation.coding.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.reaction.manifestation.coding.system">system</a>
            <a name="AllergyIntolerance.reaction.manifestation.coding.system"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#uri" class="xhtPieceDeEmphasized">uri</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Identity of the terminology system</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck01110.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <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_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: white; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.reaction.manifestation.coding.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.reaction.manifestation.coding.code">code</a>
            <a name="AllergyIntolerance.reaction.manifestation.coding.code"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#code" class="xhtPieceDeEmphasized">code</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Symbol in syntax defined by the system</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck01100.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <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_vline.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: #F7F7F7; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.reaction.manifestation.coding.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.reaction.manifestation.coding.display">display</a>
            <a name="AllergyIntolerance.reaction.manifestation.coding.display"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#string" class="xhtPieceDeEmphasized">string</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Representation defined by the system</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck0100.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <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_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" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.reaction.manifestation.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.reaction.manifestation.text">text</a>
            <a name="AllergyIntolerance.reaction.manifestation.text"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#string" class="xhtPieceDeEmphasized">string</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Plain text representation of the concept</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck010.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.reaction.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.reaction.description">description</a>
            <a name="AllergyIntolerance.reaction.description"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#string" class="xhtPieceDeEmphasized">string</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Description of the event as a whole</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck010.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: white; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.reaction.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.reaction.onset">onset</a>
            <a name="AllergyIntolerance.reaction.onset"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#dateTime" class="xhtPieceDeEmphasized">dateTime</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Date(/time) when manifestations showed</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowOdd">
          <td style="background-image: url(tbl_bck010.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.reaction.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.reaction.severity">severity</a>
            <a name="AllergyIntolerance.reaction.severity"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">1</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#code" class="xhtPieceDeEmphasized">code</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">mild | moderate | severe (of event as a whole)</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="xhtRowBorder0 xhtRowEven">
          <td style="background-image: url(tbl_bck000.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap">
            <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" />
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">AllergyIntolerance.reaction.</span>
            <a href="StructureDefinition-allergy-intolerance-definitions.html#AllergyIntolerance.reaction.note">note</a>
            <a name="AllergyIntolerance.reaction.note"></a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #B60000" title="This element has obligations">O</span>
            <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only"> This element has obligations. </span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">0</span>
            <span class="xhtPieceDeEmphasized">..</span>
            <span class="xhtPieceDeEmphasized">*</span>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <a href="http://hl7.org/fhir/R4/datatypes.html#Annotation" class="xhtPieceDeEmphasized">Annotation</a>
          </td>
          <td style="" class="hierarchy xhtCellBorder0">
            <span class="xhtPieceDeEmphasized">Text about event not captured in other fields</span>
            <table class="obligation grid">
              <tr>
                <td style="font-size: 11px">
                  <b>Obligations</b>
                </td>
                <td style="font-size: 11px">
                  <b>Actor</b>
                </td>
              </tr>
              <tr>
                <td style="font-size: 11px">
                  <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-persist" title="Obligation Codes: persist">persist</a> &amp; <b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td>
                <td style="font-size: 11px; opacity: 0.50;">
                  <a href="ActorDefinition-pcare-server.html">P-Care Server</a>
                </td>
              </tr>
            </table>
          </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="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance" />
  <version value="0.1.0" />
  <name value="PCareAllergyIntolerance" />
  <title value="P-Care AllergyIntolerance" />
  <status value="draft" />
  <date value="2026-10-19T22:14:59+00:00" />
  <publisher value="Infoway" />
  <description value="Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="CACDI" />
    <name value="Canadian Core Data for Interoperability (CACDI)" />
    <comment value="Mapping for AllergyIntoleranceCACore to  Canadian Core Data for Interoperability (CACDI)." />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="AllergyIntolerance" />
  <baseDefinition value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/allergyintolerance-ca-core" />
  <derivation value="constraint" />
  <snapshot>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
      <valueString value="1.1.0" />
    </extension>
    <element id="AllergyIntolerance">
      <path value="AllergyIntolerance" />
      <short value="Allergy or Intolerance (generally: Risk of adverse reaction to a substance)" />
      <definition value="Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance." />
      <comment value="Substances include, but are not limited to: a therapeutic substance administered correctly at an appropriate dosage for the individual; food; material derived from plants or animals; or venom from insect stings." />
      <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="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-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-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>
        <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>
      <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>
        <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="pcare-ait-1" />
        <severity value="warning" />
        <human value="code.text is expected not to exceed 250 characters for PS-AB compatibility." />
        <expression value="code.text.empty() or code.text.length() &lt;= 250" />
        <source value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance" />
      </constraint>
      <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="Logical id of this artifact" />
      <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." />
      <comment value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation." />
      <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>
      <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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.meta">
      <path value="AllergyIntolerance.meta" />
      <short value="Metadata about the resource" />
      <definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Resource.meta" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Meta" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.implicitRules">
      <path value="AllergyIntolerance.implicitRules" />
      <short value="A set of rules under which this content was created" />
      <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." />
      <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Resource.implicitRules" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </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() &gt; 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" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.language">
      <path value="AllergyIntolerance.language" />
      <short value="Language of the resource content" />
      <definition value="The base language in which the resource is written." />
      <comment value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Resource.language" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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="A human language." />
        <valueSet value="http://hl7.org/fhir/ValueSet/languages" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.text">
      <path value="AllergyIntolerance.text" />
      <short value="Text summary of the resource, for human interpretation" />
      <definition value="A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." />
      <comment value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded information is added later." />
      <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>
      <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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Act.text?" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.contained">
      <path value="AllergyIntolerance.contained" />
      <short value="Contained, inline Resources" />
      <definition value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." />
      <comment value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have 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>
      <mapping>
        <identity value="rim" />
        <map value="Entity. Role, or Act" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.extension">
      <path value="AllergyIntolerance.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <ordered value="false" />
        <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 resource. 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="DomainResource.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.extension:abatement">
      <path value="AllergyIntolerance.extension" />
      <sliceName value="abatement" />
      <short value="When the allergy or intolerance resolved" />
      <definition value="The date or estimated date that the allergy or intolerance resolved. This is called abatement because of the many overloaded connotations associated with resolution." />
      <comment value="Age is generally used when the patient reports an age at which the allergy or intolerance abated. If there is no abatement element, the clinicalStatus can be used to convey whether allergy or intolerance has resolved or not. When abatementString exists, it conveys that the allergy or intolerance is abated." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="DomainResource.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement|5.3.0" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.modifierExtension">
      <path value="AllergyIntolerance.modifierExtension" />
      <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="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="DomainResource.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), '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" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.identifier">
      <path value="AllergyIntolerance.identifier" />
      <short value="External ids for this item" />
      <definition value="Business identifiers assigned to this AllergyIntolerance by the performer or other systems which remain constant as the resource is updated and propagates from server to server." />
      <comment value="This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number." />
      <requirements value="Allows identification of the AllergyIntolerance as it is known by various participating systems and in a way that remains consistent across servers." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="AllergyIntolerance.identifier" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Identifier" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
      <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.identifier.id">
      <path value="AllergyIntolerance.identifier.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.identifier.extension">
      <path value="AllergyIntolerance.identifier.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="false" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.identifier.use">
      <path value="AllergyIntolerance.identifier.use" />
      <short value="usual | official | temp | secondary | old (If known)" />
      <definition value="The purpose of this identifier." />
      <comment value="Applications can assume that an identifier is permanent unless it explicitly says that it is temporary." />
      <requirements value="Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Identifier.use" />
        <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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="This is labeled as &quot;Is Modifier&quot; because applications should not mistake a temporary id for a permanent one." />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="IdentifierUse" />
        </extension>
        <strength value="required" />
        <description value="Identifies the purpose for this identifier, if known ." />
        <valueSet value="http://hl7.org/fhir/ValueSet/identifier-use|4.0.1" />
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Role.code or implied by context" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.identifier.type">
      <path value="AllergyIntolerance.identifier.type" />
      <short value="Description of identifier" />
      <definition value="A coded type for the identifier that can be used to determine which identifier to use for a specific purpose." />
      <comment value="This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type." />
      <requirements value="Allows users to make use of identifiers when the identifier system is not known." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Identifier.type" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="IdentifierType" />
        </extension>
        <strength value="extensible" />
        <description value="A coded type for an identifier that can be used to determine which identifier to use for a specific purpose." />
        <valueSet value="http://hl7.org/fhir/ValueSet/identifier-type|4.0.1" />
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="CX.5" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Role.code or implied by context" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.identifier.system">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.identifier.system" />
      <short value="The namespace for the identifier value" />
      <definition value="Establishes the namespace for the value - that is, a URL that describes a set values that are unique." />
      <comment value="Identifier.system is always case sensitive." />
      <requirements value="There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Identifier.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <example>
        <label value="General" />
        <valueUri value="http://www.acme.com/identifiers/patient" />
      </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() &gt; 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="v2" />
        <map value="CX.4 / EI-2-4" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II.root or Role.id.root" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./IdentifierType" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.identifier.value">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.identifier.value" />
      <short value="The value that is unique" />
      <definition value="The portion of the identifier typically relevant to the user and which is unique within the context of the system." />
      <comment value="If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Identifier.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <example>
        <label value="General" />
        <valueString value="123456" />
      </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() &gt; 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="v2" />
        <map value="CX.1 / EI.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Value" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.identifier.period">
      <path value="AllergyIntolerance.identifier.period" />
      <short value="Time period when id is/was valid for use" />
      <definition value="Time period during which identifier is/was valid for use." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Identifier.period" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Period" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="CX.7 + CX.8" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Role.effectiveTime or implied by context" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./StartDate and ./EndDate" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.identifier.assigner">
      <path value="AllergyIntolerance.identifier.assigner" />
      <short value="Organization that issued id (may be just text)" />
      <definition value="Organization that issued/manages the identifier." />
      <comment value="The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Identifier.assigner" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization|4.0.1" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="CX.4 / (CX.4,CX.9,CX.10)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./IdentifierIssuingAuthority" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.clinicalStatus">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.clinicalStatus" />
      <short value="active | inactive | resolved" />
      <definition value="The clinical status of the allergy or intolerance." />
      <comment value="Refer to [discussion](http://hl7.org/fhir/R4/extensibility.html#Special-Case) if clincalStatus is missing data.&#xA;The data type is CodeableConcept because clinicalStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="AllergyIntolerance.clinicalStatus" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <condition value="ele-1" />
      <condition value="ait-1" />
      <condition value="ait-2" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="This element is labeled as a modifier because the status contains the codes inactive and resolved that mark the AllergyIntolerance as no longer active." />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AllergyIntoleranceClinicalStatus" />
        </extension>
        <strength value="required" />
        <description value="The clinical status of the allergy or intolerance." />
        <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>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.status" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code=&quot;clinicalStatus&quot;, moodCode=EVN].value" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.clinicalStatus.id">
      <path value="AllergyIntolerance.clinicalStatus.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.clinicalStatus.extension">
      <path value="AllergyIntolerance.clinicalStatus.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="false" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.clinicalStatus.coding">
      <path value="AllergyIntolerance.clinicalStatus.coding" />
      <short value="Code defined by a terminology system" />
      <definition value="A reference to a code defined by a terminology system." />
      <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true." />
      <requirements value="Allows for alternative encodings within a code system, and translations to other code systems." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="CodeableConcept.coding" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="C*E.1-8, C*E.10-22" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="union(., ./translation)" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.clinicalStatus.coding.id">
      <path value="AllergyIntolerance.clinicalStatus.coding.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.clinicalStatus.coding.extension">
      <path value="AllergyIntolerance.clinicalStatus.coding.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="false" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.clinicalStatus.coding.system">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.clinicalStatus.coding.system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <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() &gt; 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="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.clinicalStatus.coding.version">
      <path value="AllergyIntolerance.clinicalStatus.coding.version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <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() &gt; 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="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.clinicalStatus.coding.code">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.clinicalStatus.coding.code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <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() &gt; 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="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.clinicalStatus.coding.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.clinicalStatus.coding.display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.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() &gt; 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="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.clinicalStatus.coding.userSelected">
      <path value="AllergyIntolerance.clinicalStatus.coding.userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.clinicalStatus.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="AllergyIntolerance.clinicalStatus.text" />
      <short value="Plain text representation of the concept" />
      <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user." />
      <comment value="Very often the text is the same as a displayName of one of the codings." />
      <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source." />
      <min value="0" />
      <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() &gt; 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="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=&quot;text/plain&quot;]/data" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.verificationStatus">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.verificationStatus" />
      <short value="unconfirmed | confirmed | refuted | entered-in-error" />
      <definition value="Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified substance (including pharmaceutical product)." />
      <comment value="This element retains its base FHIR modifier semantics. P-Care permits entered-in-error; receivers must not ignore verificationStatus when present. The IPS exclusion is use-case-specific and is not retained." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="AllergyIntolerance.verificationStatus" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <condition value="ele-1" />
      <condition value="ait-1" />
      <condition value="ait-2" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="This element is labeled as a modifier because the status contains the codes refuted and entered-in-error that mark the AllergyIntolerance as not currently valid." />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AllergyIntoleranceVerificationStatus" />
        </extension>
        <strength value="required" />
        <description value="Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance." />
        <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>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.status" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code=&quot;verificationStatus&quot;, moodCode=EVN].value" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.verificationStatus.id">
      <path value="AllergyIntolerance.verificationStatus.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.verificationStatus.extension">
      <path value="AllergyIntolerance.verificationStatus.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="false" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.verificationStatus.coding">
      <path value="AllergyIntolerance.verificationStatus.coding" />
      <short value="Code defined by a terminology system" />
      <definition value="A reference to a code defined by a terminology system." />
      <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true." />
      <requirements value="Allows for alternative encodings within a code system, and translations to other code systems." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="CodeableConcept.coding" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="C*E.1-8, C*E.10-22" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="union(., ./translation)" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.verificationStatus.coding.id">
      <path value="AllergyIntolerance.verificationStatus.coding.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.verificationStatus.coding.extension">
      <path value="AllergyIntolerance.verificationStatus.coding.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="false" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.verificationStatus.coding.system">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.verificationStatus.coding.system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <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() &gt; 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="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.verificationStatus.coding.version">
      <path value="AllergyIntolerance.verificationStatus.coding.version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <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() &gt; 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="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.verificationStatus.coding.code">
      <path value="AllergyIntolerance.verificationStatus.coding.code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <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() &gt; 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="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.verificationStatus.coding.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.verificationStatus.coding.display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.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() &gt; 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="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.verificationStatus.coding.userSelected">
      <path value="AllergyIntolerance.verificationStatus.coding.userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.verificationStatus.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="AllergyIntolerance.verificationStatus.text" />
      <short value="Plain text representation of the concept" />
      <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user." />
      <comment value="Very often the text is the same as a displayName of one of the codings." />
      <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source." />
      <min value="0" />
      <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() &gt; 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="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=&quot;text/plain&quot;]/data" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.type">
      <path value="AllergyIntolerance.type" />
      <short value="allergy | intolerance - Underlying mechanism (if known)" />
      <definition value="Identification of the underlying physiological mechanism for the reaction risk." />
      <comment value="Allergic (typically immune-mediated) reactions have been traditionally regarded as an indicator for potential escalation to significant future risk. Contemporary knowledge suggests that some reactions previously thought to be immune-mediated are, in fact, non-immune, but in some cases can still pose a life threatening risk. It is acknowledged that many clinicians might not be in a position to distinguish the mechanism of a particular reaction. Often the term &quot;allergy&quot; is used rather generically and may overlap with the use of &quot;intolerance&quot; - in practice the boundaries between these two concepts might not be well-defined or understood. This data element is included nevertheless, because many legacy systems have captured this attribute. Immunologic testing may provide supporting evidence for the basis of the reaction and the causative substance, but no tests are 100% sensitive or specific for sensitivity to a particular substance. If, as is commonly the case, it is unclear whether the reaction is due to an allergy or an intolerance, then the type element should be omitted from the resource." />
      <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>
      <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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AllergyIntoleranceType" />
        </extension>
        <strength value="required" />
        <description value="Identification of the underlying physiological mechanism for a Reaction Risk." />
        <valueSet value="http://hl7.org/fhir/ValueSet/allergy-intolerance-type|4.0.1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <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="Category of the identified substance." />
      <comment value="This data element has been included because it is currently being captured in some clinical systems. This data can be derived from the substance where coding systems are used, and is effectively redundant in that situation.  When searching on category, consider the implications of AllergyIntolerance resources without a category.  For example, when searching on category = medication, medication allergies that don't have a category valued will not be returned.  Refer to [search](http://hl7.org/fhir/R4/search.html) for more information on how to search category with a :missing modifier to get allergies that don't have a category.  Additionally, category should be used with caution because category can be subjective based on the sender." />
      <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>
      <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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AllergyIntoleranceCategory" />
        </extension>
        <strength value="required" />
        <description value="Category of an identified substance associated with allergies or intolerances." />
        <valueSet value="http://hl7.org/fhir/ValueSet/allergy-intolerance-category|4.0.1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <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 &lt; IntoleranceValue (Agent)" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.criticality">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.criticality" />
      <short value="low | high | unable-to-assess" />
      <definition value="Estimate of the potential clinical harm, or seriousness, of the reaction to the identified substance." />
      <comment value="The default criticality value for any propensity to an adverse reaction should be 'Low Risk', indicating at the very least a relative contraindication to deliberate or voluntary exposure to the substance. 'High Risk' is flagged if the clinician has identified a propensity for a more serious or potentially life-threatening reaction, such as anaphylaxis, and implies an absolute contraindication to deliberate or voluntary exposure to the substance. If this element is missing, the criticality is unknown (though it may be known elsewhere).  Systems that capture a severity at the condition level are actually representing the concept of criticality whereas the severity documented at the reaction level is representing the true reaction severity.  Existing systems that are capturing both condition criticality and reaction severity may use the term &quot;severity&quot; to represent both.  Criticality is the worst it could be in the future (i.e. situation-agnostic) whereas severity is situation-dependent." />
      <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>
      <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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AllergyIntoleranceCriticality" />
        </extension>
        <strength value="required" />
        <description value="Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance." />
        <valueSet value="http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality|4.0.1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <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 &lt;= SeverityObservation (Severity Level)]" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.code">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="MAY:populate-if-known" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/producer" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/allergyintolerance-ca-core|1.1.0" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/consumer" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/allergyintolerance-ca-core|1.1.0" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="MAY:populate-if-known" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/producer" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/consumer" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.code" />
      <short value="Concept - reference to a terminology or just  text" />
      <definition value="A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text." />
      <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." />
      <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="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/codeable-concept">
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/type-profile-constraints">
            <valueCode value="full" />
          </extension>
        </profile>
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AllergyIntoleranceCode" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/additional-binding">
          <extension url="purpose">
            <valueCode value="candidate" />
          </extension>
          <extension url="valueSet">
            <valueCanonical value="https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct|20250315" />
          </extension>
          <extension url="documentation">
            <valueMarkdown value="Canadian Clinical Drug Data Set CCDD" />
          </extension>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/additional-binding">
          <extension url="purpose">
            <valueCode value="candidate" />
          </extension>
          <extension url="valueSet">
            <valueCanonical value="https://fhir.infoway-inforoute.ca/ValueSet/ICD10CA|1.2.1-dft" />
          </extension>
          <extension url="documentation">
            <valueMarkdown value="International Classifications of Disease ICD 10 CA Codes" />
          </extension>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/additional-binding">
          <extension url="purpose">
            <valueCode value="candidate" />
          </extension>
          <extension url="valueSet">
            <valueCanonical value="https://fhir.infoway-inforoute.ca/ValueSet/LicensedNaturalHealthProducts|1.2.1-dft" />
          </extension>
          <extension url="documentation">
            <valueMarkdown value="ValusSet of Licensed Natural Health Products" />
          </extension>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/additional-binding">
          <extension url="key">
            <valueId value="candidate-absent-or-unknown-allergies-uv-ips" />
          </extension>
          <extension url="purpose">
            <valueCode value="candidate" />
          </extension>
          <extension url="valueSet">
            <valueCanonical value="http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-allergies-uv-ips" />
          </extension>
          <extension url="documentation">
            <valueMarkdown value="Negation/exclusion codes for reporting no known allergies or not available data." />
          </extension>
        </extension>
        <strength value="preferred" />
        <description value="Type of the substance/product, allergy or intolerance condition, or negation/exclusion codes for reporting no known allergies." />
        <valueSet value="https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticalbiologicproductandsubstancecode|1.2.1-dft" />
      </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>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="AL1-3 / IAM-3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="substance/product:&#xD;&#xD;.participation[typeCode=CAGNT].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code &lt;= ExposureAgentEntityType]&#xD;&#xD;negated/excluded substance/product:&#xD;&#xD;.participation[typeCode=CAGNT, negationInd=true].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code &lt;= ExposureAgentEntityType]&#xD;&#xD;positive or negated/excluded condition/situation:&#xD;&#xD;Observation.code=ASSERTION; Observation.value" />
      </mapping>
      <mapping>
        <identity value="CACDI" />
        <map value="Allergy or Intolerance" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.patient">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.patient" />
      <short value="Who the sensitivity is for" />
      <definition value="The patient who has the allergy or intolerance." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <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="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/patient" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="false" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.patient.reference">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.patient.reference" />
      <short value="Literal reference, Relative, internal or absolute URL" />
      <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 &quot;/[type]/[id]&quot; 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() &gt; 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.patient.type">
      <path value="AllergyIntolerance.patient.type" />
      <short value="Type the reference refers to (e.g. &quot;Patient&quot;)" />
      <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.&#xA;&#xA;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. &quot;Patient&quot; 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() &gt; 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|4.0.1" />
      </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. &#xA;&#xA;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&#xA;&#xA;Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.&#xA;&#xA;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() &gt; 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() &gt; 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 when the allergy or intolerance was asserted" />
      <definition value="The encounter when the allergy or intolerance was asserted." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="AllergyIntolerance.encounter" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/encounter-ca-core" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <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]">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.onset[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <ordered value="false" />
        <rules value="closed" />
      </slicing>
      <short value="When allergy or intolerance was identified" />
      <definition value="Estimated or actual date,  date-time, or age when allergy or intolerance was identified." />
      <comment value="Onset may be a full or partial dateTime, Age, Period, Range, or text string." />
      <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>
      <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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.init" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="effectiveTime.low" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.onset[x]:onsetDateTime">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHOULD:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.onset[x]" />
      <sliceName value="onsetDateTime" />
      <short value="When allergy or intolerance was identified" />
      <definition value="Estimated or actual date,  date-time, or age when allergy or intolerance was identified." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="AllergyIntolerance.onset[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.init" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="effectiveTime.low" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.onset[x]:onsetAge">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/implied-type-slice">
        <valueBoolean value="true" />
      </extension>
      <path value="AllergyIntolerance.onset[x]" />
      <sliceName value="onsetAge" />
      <short value="When allergy or intolerance was identified" />
      <definition value="Estimated or actual date,  date-time, or age when allergy or intolerance was identified." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="AllergyIntolerance.onset[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Age" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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.onset[x]:onsetPeriod">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/implied-type-slice">
        <valueBoolean value="true" />
      </extension>
      <path value="AllergyIntolerance.onset[x]" />
      <sliceName value="onsetPeriod" />
      <short value="When allergy or intolerance was identified" />
      <definition value="Estimated or actual date,  date-time, or age when allergy or intolerance was identified." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="AllergyIntolerance.onset[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Period" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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.onset[x]:onsetRange">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/implied-type-slice">
        <valueBoolean value="true" />
      </extension>
      <path value="AllergyIntolerance.onset[x]" />
      <sliceName value="onsetRange" />
      <short value="When allergy or intolerance was identified" />
      <definition value="Estimated or actual date,  date-time, or age when allergy or intolerance was identified." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="AllergyIntolerance.onset[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Range" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <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.onset[x]:onsetString">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/implied-type-slice">
        <valueBoolean value="true" />
      </extension>
      <path value="AllergyIntolerance.onset[x]" />
      <sliceName value="onsetString" />
      <short value="When allergy or intolerance was identified" />
      <definition value="Estimated or actual date,  date-time, or age when allergy or intolerance was identified." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="AllergyIntolerance.onset[x]" />
        <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() &gt; 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="Date first version of the resource instance was recorded" />
      <definition value="The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="AllergyIntolerance.recordedDate" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <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="Who recorded the sensitivity" />
      <definition value="Individual who recorded the record and takes responsibility for its content." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <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="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/practitioner-ca-core" />
        <targetProfile value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/practitionerRole-ca-core" />
        <targetProfile value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <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="Source of the information about the allergy" />
      <definition value="The source of the information about the allergy that is recorded." />
      <comment value="The recorder takes responsibility for the content, but can reference the source from where they got it." />
      <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="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
        <targetProfile value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/practitioner-ca-core" />
        <targetProfile value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/practitionerRole-ca-core" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <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">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.lastOccurrence" />
      <short value="Date(/time) of last known occurrence of a reaction" />
      <definition value="Represents the date and/or time of the last known occurrence of a reaction event." />
      <comment value="This date may be replicated by one of the Onset of Reaction dates. Where a textual representation of the date of last occurrence is required e.g. 'In Childhood, '10 years ago' the Comment element should be used." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="AllergyIntolerance.lastOccurrence" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code &lt;= CommonClinicalObservationType, value &lt;= ObservationValue (Reaction Type)].effectiveTime" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.note">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.note" />
      <short value="Additional text not captured in other fields" />
      <definition value="Additional narrative about the propensity for the Adverse Reaction, not captured in other fields." />
      <comment value="For example: including reason for flagging a seriousness of 'High Risk'; and instructions related to future exposure or administration of the substance, such as administration within an Intensive Care Unit or under corticosteroid cover. The notes should be related to an allergy or intolerance as a condition in general and not related to any particular episode of it. For episode notes and descriptions, use AllergyIntolerance.event.description and  AllergyIntolerance.event.notes." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="AllergyIntolerance.note" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Annotation" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Act" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="subjectOf.observationEvent[code=&quot;annotation&quot;].value" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.note.id">
      <path value="AllergyIntolerance.note.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.note.extension">
      <path value="AllergyIntolerance.note.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="false" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.note.author[x]">
      <path value="AllergyIntolerance.note.author[x]" />
      <short value="Individual responsible for the annotation" />
      <definition value="The individual responsible for making the annotation." />
      <comment value="Organization is used when there's no need for specific attribution as to who made the comment." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Annotation.author[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient|4.0.1" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization|4.0.1" />
      </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() &gt; 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="v2" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Act.participant[typeCode=AUT].role" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.note.time">
      <path value="AllergyIntolerance.note.time" />
      <short value="When the annotation was made" />
      <definition value="Indicates when this particular annotation was made." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Annotation.time" />
        <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() &gt; 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="v2" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Act.effectiveTime" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.note.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.note.text" />
      <short value="The annotation  - text content (as markdown)" />
      <definition value="The text of the annotation in markdown format." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Annotation.text" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="markdown" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Act.text" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="MAY:populate-if-known" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/producer" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/allergyintolerance-ca-core|1.1.0" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/consumer" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/allergyintolerance-ca-core|1.1.0" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="MAY:populate-if-known" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/producer" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/consumer" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction" />
      <short value="Adverse Reaction Events linked to exposure to substance" />
      <definition value="Details about each adverse reaction event linked to exposure to the identified substance." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="AllergyIntolerance.reaction" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code &lt;= CommonClinicalObservationType, value &lt;= ObservationValue (Reaction Type)]" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.id">
      <path value="AllergyIntolerance.reaction.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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.extension">
      <path value="AllergyIntolerance.reaction.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>
      <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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.modifierExtension">
      <path value="AllergyIntolerance.reaction.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), '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" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.substance">
      <path value="AllergyIntolerance.reaction.substance" />
      <short value="Specific substance or pharmaceutical product considered to be responsible for event" />
      <definition value="Identification of the specific substance (or pharmaceutical product) considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'.  If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance." />
      <comment value="Coding of the specific substance (or pharmaceutical product) with a terminology capable of triggering decision support should be used wherever possible.  The 'code' element allows for the use of a specific substance or pharmaceutical product, or a group or class of substances. In the case of an allergy or intolerance to a class of substances, (for example, &quot;penicillins&quot;), the 'reaction.substance' element could be used to code the specific substance that was identified as having caused the reaction (for example, &quot;amoxycillin&quot;). Duplication of the value in the 'code' and 'reaction.substance' elements is acceptable when a specific substance has been recorded in 'code'." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="AllergyIntolerance.reaction.substance" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SubstanceCode" />
        </extension>
        <strength value="example" />
        <description value="Codes defining the type of the substance (including pharmaceutical products)." />
        <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>
      <mapping>
        <identity value="rim" />
        <map value="outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code &lt;= ExposureCode].participation[typeCode=CSM].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code &lt;= ExposureAgentEntityType]" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.substance.id">
      <path value="AllergyIntolerance.reaction.substance.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.reaction.substance.extension">
      <path value="AllergyIntolerance.reaction.substance.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="false" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding">
      <path value="AllergyIntolerance.reaction.substance.coding" />
      <short value="Code defined by a terminology system" />
      <definition value="A reference to a code defined by a terminology system." />
      <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true." />
      <requirements value="Allows for alternative encodings within a code system, and translations to other code systems." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="CodeableConcept.coding" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="C*E.1-8, C*E.10-22" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="union(., ./translation)" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding.id">
      <path value="AllergyIntolerance.reaction.substance.coding.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.reaction.substance.coding.extension">
      <path value="AllergyIntolerance.reaction.substance.coding.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="false" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding.system">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.substance.coding.system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <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() &gt; 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="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding.version">
      <path value="AllergyIntolerance.reaction.substance.coding.version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <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() &gt; 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="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding.code">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.substance.coding.code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <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() &gt; 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="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.substance.coding.display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.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() &gt; 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="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding.userSelected">
      <path value="AllergyIntolerance.reaction.substance.coding.userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.substance.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.substance.text" />
      <short value="Plain text representation of the concept" />
      <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user." />
      <comment value="Very often the text is the same as a displayName of one of the codings." />
      <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source." />
      <min value="0" />
      <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() &gt; 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="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=&quot;text/plain&quot;]/data" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.manifestation">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="MAY:populate-if-known" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/producer" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/allergyintolerance-ca-core|1.1.0" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/consumer" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/allergyintolerance-ca-core|1.1.0" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="MAY:populate-if-known" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/producer" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/consumer" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.manifestation" />
      <short value="Concept - reference to a terminology or just  text" />
      <definition value="A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text." />
      <comment value="Manifestation is required when a reaction is included. Send codings when available and do not reject available codings." />
      <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="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/codeable-concept">
          <extension url="http://hl7.org/fhir/tools/StructureDefinition/type-profile-constraints">
            <valueCode value="full" />
          </extension>
        </profile>
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <strength value="preferred" />
        <valueSet value="https://fhir.infoway-inforoute.ca/ValueSet/clinicalfindingcode|1.2.1-dft" />
      </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>
      <mapping>
        <identity value="v2" />
        <map value="AL1-5" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="code" />
      </mapping>
      <mapping>
        <identity value="CACDI" />
        <map value="Allergy or Intolerance Reaction" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.id">
      <path value="AllergyIntolerance.reaction.manifestation.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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.extension">
      <path value="AllergyIntolerance.reaction.manifestation.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>
      <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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="MAY:populate-if-known" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/producer" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/allergyintolerance-ca-core|1.1.0" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/consumer" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/allergyintolerance-ca-core|1.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.manifestation.coding" />
      <short value="A reference to a code defined by a terminology system" />
      <definition value="A reference to a code defined by a terminology system." />
      <comment value="Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information." />
      <requirements value="Allows for alternative encodings within a code system, and translations to other code systems." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="CodeableConcept.coding" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Coding" />
        <profile value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/coding-ca-core" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <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>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1-8, C*E.10-22" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="union(., ./translation)" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding.id">
      <path value="AllergyIntolerance.reaction.manifestation.coding.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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding.extension">
      <path value="AllergyIntolerance.reaction.manifestation.coding.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>
      <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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding.system">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.manifestation.coding.system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding.version">
      <path value="AllergyIntolerance.reaction.manifestation.coding.version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding.code">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.manifestation.coding.code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.manifestation.coding.display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding.display.id">
      <path value="AllergyIntolerance.reaction.manifestation.coding.display.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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding.display.extension">
      <path value="AllergyIntolerance.reaction.manifestation.coding.display.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>
      <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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding.display.extension:translation">
      <path value="AllergyIntolerance.reaction.manifestation.coding.display.extension" />
      <sliceName value="translation" />
      <short value="Language Translation (Localization)" />
      <definition value="Language translation from base language of resource to another language, used to provide translations for strings, including markdown. Generally, the type of the translation extension SHOULD match that of the element being extended." />
      <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" />
        <profile value="http://hl7.org/fhir/StructureDefinition/translation|5.3.0" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="ST.translation" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding.display.value">
      <path value="AllergyIntolerance.reaction.manifestation.coding.display.value" />
      <representation value="xmlAttr" />
      <short value="Primitive value for string" />
      <definition value="Primitive value for string" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="string.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/regex">
          <valueString value="[\r\n\t\u0020-\uFFFF]*" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <maxLength value="1048576" />
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding.userSelected">
      <path value="AllergyIntolerance.reaction.manifestation.coding.userSelected" />
      <short value="If this coding was chosen directly by the user" />
      <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)." />
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." />
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Coding.userSelected" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Sometimes implied by being first" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD.codingRationale" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.manifestation.text" />
      <short value="Plain text representation of the concept" />
      <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user." />
      <comment value="Very often the text is the same as a displayName of one of the codings." />
      <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="CodeableConcept.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <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=&quot;text/plain&quot;]/data" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.description">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.description" />
      <short value="Description of the event as a whole" />
      <definition value="Text description about the reaction as a whole, including details of the manifestation if required." />
      <comment value="Use the description to provide any details of a particular event of the occurred reaction such as circumstances, reaction specifics, what happened before/after. Information, related to the event, but not describing a particular care should be captured in the comment field. For example: at the age of four, the patient was given penicillin for strep throat and subsequently developed severe hives." />
      <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>
      <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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="text" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.onset">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.onset" />
      <short value="Date(/time) when manifestations showed" />
      <definition value="Record of the date and/or time of the onset of the Reaction." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="AllergyIntolerance.reaction.onset" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="AL1-6" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="effectiveTime.low" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.severity">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.severity" />
      <short value="mild | moderate | severe (of event as a whole)" />
      <definition value="Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations." />
      <comment value="Process severity when present; it may contain clinically significant information." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="AllergyIntolerance.reaction.severity" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AllergyIntoleranceSeverity" />
        </extension>
        <strength value="required" />
        <description value="Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations." />
        <valueSet value="http://hl7.org/fhir/ValueSet/reaction-event-severity|4.0.1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value &lt;= SeverityObservation (Severity Level)]" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.exposureRoute">
      <path value="AllergyIntolerance.reaction.exposureRoute" />
      <short value="How the subject was exposed to the substance" />
      <definition value="Identification of the route by which the subject was exposed to the substance." />
      <comment value="Coding of the route of exposure with a terminology should be used wherever possible." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="AllergyIntolerance.reaction.exposureRoute" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="RouteOfAdministration" />
        </extension>
        <strength value="example" />
        <description value="A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject." />
        <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>
      <mapping>
        <identity value="rim" />
        <map value="outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code &lt;= ExposureCode].routeCode" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.note">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance|0.1.0" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.note" />
      <short value="Text about event not captured in other fields" />
      <definition value="Additional text about the adverse reaction event not captured in other fields." />
      <comment value="Use this field to record information indirectly related to a particular event and not captured in the description. For example: Clinical records are no longer available, recorded based on information provided to the patient by her mother and her mother is deceased." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="AllergyIntolerance.reaction.note" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Annotation" />
      </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() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Act" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="subjectOf.observationEvent[code=&quot;annotation&quot;].value" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="AllergyIntolerance">
      <path value="AllergyIntolerance" />
      <constraint>
        <key value="pcare-ait-1" />
        <severity value="warning" />
        <human value="code.text is expected not to exceed 250 characters for PS-AB compatibility." />
        <expression value="code.text.empty() or code.text.length() &lt;= 250" />
        <source value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance" />
      </constraint>
    </element>
    <element id="AllergyIntolerance.identifier.system">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.identifier.system" />
    </element>
    <element id="AllergyIntolerance.identifier.value">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.identifier.value" />
    </element>
    <element id="AllergyIntolerance.clinicalStatus">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.clinicalStatus" />
    </element>
    <element id="AllergyIntolerance.clinicalStatus.coding.system">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.clinicalStatus.coding.system" />
    </element>
    <element id="AllergyIntolerance.clinicalStatus.coding.code">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.clinicalStatus.coding.code" />
    </element>
    <element id="AllergyIntolerance.clinicalStatus.coding.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.clinicalStatus.coding.display" />
    </element>
    <element id="AllergyIntolerance.verificationStatus">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.verificationStatus" />
      <comment value="This element retains its base FHIR modifier semantics. P-Care permits entered-in-error; receivers must not ignore verificationStatus when present. The IPS exclusion is use-case-specific and is not retained." />
    </element>
    <element id="AllergyIntolerance.verificationStatus.coding.system">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.verificationStatus.coding.system" />
    </element>
    <element id="AllergyIntolerance.verificationStatus.coding.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.verificationStatus.coding.display" />
    </element>
    <element id="AllergyIntolerance.criticality">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.criticality" />
    </element>
    <element id="AllergyIntolerance.code">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="MAY:populate-if-known" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/producer" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/consumer" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.code" />
      <min value="1" />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/codeable-concept" />
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AllergyIntoleranceCode" />
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/additional-binding">
          <extension url="key">
            <valueId value="candidate-ccdd-allergies" />
          </extension>
          <extension url="purpose">
            <valueCode value="candidate" />
          </extension>
          <extension url="valueSet">
            <valueCanonical value="https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct|20250315" />
          </extension>
          <extension url="documentation">
            <valueMarkdown value="Canadian Clinical Drug Data Set CCDD" />
          </extension>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/additional-binding">
          <extension url="key">
            <valueId value="candidate-icd10-allergies" />
          </extension>
          <extension url="purpose">
            <valueCode value="candidate" />
          </extension>
          <extension url="valueSet">
            <valueCanonical value="https://fhir.infoway-inforoute.ca/ValueSet/ICD10CA|1.2.1-dft" />
          </extension>
          <extension url="documentation">
            <valueMarkdown value="International Classifications of Disease ICD 10 CA Codes" />
          </extension>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/additional-binding">
          <extension url="key">
            <valueId value="candidate-nlp-allergies" />
          </extension>
          <extension url="purpose">
            <valueCode value="candidate" />
          </extension>
          <extension url="valueSet">
            <valueCanonical value="https://fhir.infoway-inforoute.ca/ValueSet/LicensedNaturalHealthProducts|1.2.1-dft" />
          </extension>
          <extension url="documentation">
            <valueMarkdown value="ValusSet of Licensed Natural Health Products" />
          </extension>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/additional-binding">
          <extension url="key">
            <valueId value="candidate-absent-or-unknown-allergies-uv-ips" />
          </extension>
          <extension url="purpose">
            <valueCode value="candidate" />
          </extension>
          <extension url="valueSet">
            <valueCanonical value="http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-allergies-uv-ips" />
          </extension>
          <extension url="documentation">
            <valueMarkdown value="Negation/exclusion codes for reporting no known allergies or not available data." />
          </extension>
        </extension>
        <strength value="preferred" />
        <description value="Type of the substance/product, allergy or intolerance condition, or negation/exclusion codes for reporting no known allergies." />
        <valueSet value="https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticalbiologicproductandsubstancecode|1.2.1-dft" />
      </binding>
    </element>
    <element id="AllergyIntolerance.patient">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.patient" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/patient" />
      </type>
    </element>
    <element id="AllergyIntolerance.patient.reference">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.patient.reference" />
      <min value="1" />
    </element>
    <element id="AllergyIntolerance.onset[x]">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.onset[x]" />
      <comment value="Onset may be a full or partial dateTime, Age, Period, Range, or text string." />
    </element>
    <element id="AllergyIntolerance.onset[x]:onsetDateTime">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHOULD:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.onset[x]" />
      <sliceName value="onsetDateTime" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="AllergyIntolerance.asserter">
      <path value="AllergyIntolerance.asserter" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
        <targetProfile value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/practitioner-ca-core" />
        <targetProfile value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/practitionerRole-ca-core" />
      </type>
    </element>
    <element id="AllergyIntolerance.lastOccurrence">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.lastOccurrence" />
    </element>
    <element id="AllergyIntolerance.note">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.note" />
    </element>
    <element id="AllergyIntolerance.note.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.note.text" />
    </element>
    <element id="AllergyIntolerance.reaction">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="MAY:populate-if-known" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/producer" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/consumer" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding.system">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.substance.coding.system" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding.code">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.substance.coding.code" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.coding.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.substance.coding.display" />
    </element>
    <element id="AllergyIntolerance.reaction.substance.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.substance.text" />
    </element>
    <element id="AllergyIntolerance.reaction.manifestation">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="MAY:populate-if-known" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/producer" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/ca-core/ActorDefinition/consumer" />
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.manifestation" />
      <comment value="Manifestation is required when a reaction is included. Send codings when available and do not reject available codings." />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/codeable-concept" />
      </type>
      <binding>
        <strength value="preferred" />
        <valueSet value="https://fhir.infoway-inforoute.ca/ValueSet/clinicalfindingcode|1.2.1-dft" />
      </binding>
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding.system">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.manifestation.coding.system" />
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding.code">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.manifestation.coding.code" />
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.coding.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.manifestation.coding.display" />
    </element>
    <element id="AllergyIntolerance.reaction.manifestation.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.manifestation.text" />
    </element>
    <element id="AllergyIntolerance.reaction.description">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.description" />
    </element>
    <element id="AllergyIntolerance.reaction.onset">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.onset" />
    </element>
    <element id="AllergyIntolerance.reaction.severity">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.severity" />
      <comment value="Process severity when present; it may contain clinically significant information." />
    </element>
    <element id="AllergyIntolerance.reaction.note">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="name">
          <valueString value="pcare" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:populate" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:persist" />
        </extension>
        <extension url="code">
          <valueCode value="SHALL:no-error" />
        </extension>
        <extension url="documentation">
          <valueMarkdown value="P-Care server population, persistence, and acceptance requirements for this element." />
        </extension>
        <extension url="actor">
          <valueCanonical value="http://fhir.infoway-inforoute.ca/p-care/ActorDefinition/pcare-server" />
        </extension>
      </extension>
      <path value="AllergyIntolerance.reaction.note" />
    </element>
  </differential>
</StructureDefinition>