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

<AllergyIntolerance xmlns="http://hl7.org/fhir">
  <id value="medication"/>
  <clinicalStatus>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"/>
      <code value="active"/>
      <display value="Active"/>
    </coding>
  </clinicalStatus>
  <verificationStatus>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"/>
      <code value="unconfirmed"/>
      <display value="Unconfirmed"/>
    </coding>
  </verificationStatus>
  <category value="medication"/>
  <criticality value="high"/>
  <!--  subtance, coded from RxNorm  -->
  <code>
    <coding>
      <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/>
      <code value="7980"/>
      <display value="Penicillin G"/>
    </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="2010-03-01"/>
  <!--  who made the record / last updated it  -->
  <recorder>
    <reference value="Practitioner/example"/>
  </recorder>
  <reaction>
    <manifestation>
      <concept>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="247472004"/>
          <display value="Hives"/>
        </coding>
      </concept>
    </manifestation>
  </reaction>
</AllergyIntolerance>