<?xml version="1.0" encoding="UTF-8"?>

<AllergyIntolerance xmlns="http://hl7.org/fhir">
  <id value="haau3-allergy-derived-code"/>
  <meta>
    <profile value="https://haau3.com/fhir/StructureDefinition/haau3-allergy-intolerance"/>
    <tag>
      <system value="https://haau3.com/fhir/CodeSystem/staging-transform-rule"/>
      <code value="allergy.code_derived_from_reaction_substance"/>
    </tag>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: AllergyIntolerance haau3-allergy-derived-code</b></p><a name="haau3-allergy-derived-code"> </a><a name="hchaau3-allergy-derived-code"> </a><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"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-haau3-allergy-intolerance.html">haau3 AllergyIntolerance</a></p><p style="margin-bottom: 0px">Tag: </p></div><p><b>identifier</b>: <code>https://haau3.com/fhir/NamingSystem/source-resource-id</code>/AllergyIntolerance/example-source-record</p><p><b>clinicalStatus</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical active}">Active</span></p><p><b>code</b>: <span title="Codes:">Recorded substance</span></p><p><b>patient</b>: <a href="Patient-us-core-patient.html">Derrick Lin  Male, DoB: 1965-04-12 ( Medical record number (use: usual, ))</a></p><h3>Reactions</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Substance</b></td><td><b>Manifestation</b></td></tr><tr><td style="display: none">*</td><td><span title="Codes:">Recorded substance</span></td><td><span title="Codes:">Recorded manifestation</span></td></tr></table></div>
  </text>
  <identifier>
    <system value="https://haau3.com/fhir/NamingSystem/source-resource-id"/>
    <value value="AllergyIntolerance/example-source-record"/>
  </identifier>
  <clinicalStatus>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"/>
      <code value="active"/>
    </coding>
  </clinicalStatus>
  <code>
    <text value="Recorded substance"/>
  </code>
  <patient>
    <reference value="Patient/us-core-patient"/>
  </patient>
  <reaction>
    <substance>
      <text value="Recorded substance"/>
    </substance>
    <manifestation>
      <text value="Recorded manifestation"/>
    </manifestation>
  </reaction>
</AllergyIntolerance>