<AllergyIntolerance xmlns="http://hl7.org/fhir">
  <id value="freeText-allergy-example" />
  <meta>
    <profile value="http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/allergyintolerance-ca-ps" />
  </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 "freeText-allergy-example" </p>
        <p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-allergyintolerance-ca-ps.html">Allergy Intolerance (PS-CA)</a></p>
      </div>
      <p>
        <b>Condition abatement date</b>: 2010-01-01</p>
      <p>
        <b>clinicalStatus</b>: Resolved <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>#resolved)</span></p>
      <p>
        <b>verificationStatus</b>: Confirmed <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>#confirmed)</span></p>
      <p>
        <b>type</b>: allergy</p>
      <p>
        <b>category</b>: food</p>
      <p>
        <b>criticality</b>: low</p>
      <p>
        <b>code</b>: Allergic to fresh fish. Tolerates canned fish <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span></p>
      <p>
        <b>patient</b>: <a href="Patient-patient1-example.html">Patient/patient1-example: Donald Duck</a> " DONALD"</p>
      <p>
        <b>onset</b>: 2008-01-10</p>
      <p>
        <b>asserter</b>: <a href="Patient-patient1-example.html">Patient/patient1-example: Donald Duck</a> " DONALD"</p>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips">
    <valueDateTime value="2010" />
  </extension>
  <clinicalStatus>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" />
      <code value="resolved" />
    </coding>
  </clinicalStatus>
  <verificationStatus>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" />
      <code value="confirmed" />
    </coding>
  </verificationStatus>
  <type value="allergy" />
  <category value="food" />
  <criticality value="low" />
  <code>
    <text value="Allergic to fresh fish. Tolerates canned fish" />
  </code>
  <patient>
    <reference value="Patient/patient1-example" />
    <display value="Donald Duck" />
  </patient>
  <onsetDateTime value="2008-01-10" />
  <asserter>
    <reference value="Patient/patient1-example" />
    <display value="Donald Duck" />
  </asserter>
</AllergyIntolerance>