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

<AllergyIntolerance xmlns="http://hl7.org/fhir">
  <id value="a1b2c3d4-e5f6-7890-abcd-ef1234567890"/>
  <meta>
    <profile value="http://fhir.ehdsi.eu/core/StructureDefinition/allergyIntolerance-myhealtheu-core"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Penicillin allergy - John Doe</div>
  </text>
  <clinicalStatus>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"/>
      <code value="active"/>
    </coding>
  </clinicalStatus>
  <verificationStatus>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"/>
      <code value="confirmed"/>
    </coding>
  </verificationStatus>
  <type value="allergy"/>
  <criticality value="high"/>
  <code>
    <coding>
      <system value="http://www.whocc.no/atc"/>
      <code value="A02BD01"/>
      <display value="omeprazole, amoxicillin and metronidazole"/>
    </coding>
  </code>
  <patient>
    <reference value="Patient/1d4bbc93-63b7-4f2b-8f0f-8380aa138f49"/>
  </patient>
  <onsetDateTime value="2010-03-01"/>
  <note>
    <text value="Patient reports severe reaction after first dose."/>
  </note>
  <reaction>
    <substance>
      <coding>
        <system value="https://spor.ema.europa.eu/v2/SubstanceDefinition"/>
        <code value="100000091596"/>
        <display value="Amoxicillin"/>
      </coding>
    </substance>
    <manifestation>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="39579001"/>
        <display value="Anaphylaxis"/>
      </coding>
    </manifestation>
    <onset value="2010-03-01"/>
    <severity value="severe"/>
  </reaction>
</AllergyIntolerance>