QI-Core Implementation Guide
4.1.0 - release

Publication Build: This will be filled in by the publication tooling

## : AllergyIntrolerance refuted example - XML Representation

Raw xml | Download

    <AllergyIntolerance xmlns="http://hl7.org/fhir">
      <id value="example-refuted"/>
      <meta>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-allergyintolerance"/>
      </meta>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource "example-refuted" </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-qicore-allergyintolerance.html">QICoreAllergyIntolerance</a></p></div><p><b>reasonRefuted</b>: Medical Status Altered <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.0.0/CodeSystem-v3-ActReason.html">ActReason</a>#MED)</span></p><p><b>identifier</b>: id: 49476534</p><p><b>clinicalStatus</b>: Inactive <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.0.0/CodeSystem-allergyintolerance-clinical.html">AllergyIntolerance Clinical Status Codes</a>#inactive)</span></p><p><b>verificationStatus</b>: Refuted <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.0.0/CodeSystem-allergyintolerance-verification.html">AllergyIntolerance Verification Status</a>#refuted)</span></p><p><b>type</b>: allergy</p><p><b>category</b>: food</p><p><b>code</b>: Cashew nuts <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#227493005)</span></p><p><b>patient</b>: <a href="Patient-example.html">Patient/example</a> " CHALMERS"</p><p><b>recordedDate</b>: 2014-10-09T14:58:00+11:00</p><p><b>recorder</b>: <a href="Practitioner-example.html">Practitioner/example</a> " CAREFUL"</p><p><b>asserter</b>: <a href="Patient-example.html">Patient/example</a> " CHALMERS"</p></div>
      </text>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted">
        <valueCodeableConcept>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
            <code value="MED"/>
            <display value="Medical Status Altered"/>
          </coding>
        </valueCodeableConcept>
      </extension>
    <!--     an identifier used for this allergic propensity (adverse reaction risk)     -->
      <identifier>
        <system value="http://acme.com/ids/patients/risks"/>
        <value value="49476534"/>
      </identifier>
    <!--     this allergy has been refuted     -->
      <clinicalStatus>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"/>
          <code value="inactive"/>
        </coding>
      </clinicalStatus>
      <verificationStatus>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"/>
          <code value="refuted"/>
        </coding>
      </verificationStatus>
      <type value="allergy"/>
    <!--     this categorisation is implied by "cashew nut" and therefore basically
        redundant, but many systems collect this field anyway, since it's either
        useful when the substance is not coded, or it's quicker to sort/filter on
        than using terminology based reasoning     -->
      <category value="food"/>
    <!--     Allergy or intolerance code (substance, product, condition or negated/excluded statement)
       or text. A few times,
        there's a full description of a complex substance/product - in these caes, use the
        extension [url] to refer to a Substance resource.     -->
      <code>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="227493005"/>
          <display value="Cashew nuts"/>
        </coding>
      </code>
    <!--     the patient that actually has the risk of adverse reaction     -->
      <patient>
        <reference value="Patient/example"/>
      </patient>
    <!--     the date that this entry was recorded     -->
      <recordedDate value="2014-10-09T14:58:00+11:00"/>
    <!--     who made the record / last updated it     -->
      <recorder>
        <reference value="Practitioner/example"/>
      </recorder>
    <!--     the patient is the reporter in this case     -->
      <asserter>
        <reference value="Patient/example"/>
      </asserter>
    </AllergyIntolerance>