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

<AdverseEvent xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <meta>
    <profile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-adverseevent"/>
  </meta>
  <text>
    <status value="generated"/><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" </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-qicore-adverseevent.html">QICoreAdverseEvent</a></p></div><p><b>identifier</b>: id: 49476534</p><p><b>actuality</b>: actual</p><p><b>event</b>: O/E - itchy rash <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#304386008)</span></p><p><b>subject</b>: <a href="Patient-example.html">Patient/example</a> " CHALMERS"</p><p><b>date</b>: 2017-01-29T12:34:56Z</p><p><b>seriousness</b>: Non-serious <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.0.0/CodeSystem-adverse-event-seriousness.html">AdverseEventSeriousness</a>#non-serious)</span></p><p><b>recorder</b>: <a href="Practitioner-example.html">Practitioner/example</a> " CAREFUL"</p><h3>SuspectEntities</h3><table class="grid"><tr><td>-</td><td><b>Instance</b></td></tr><tr><td>*</td><td><a href="Medication-example.html">Medication/example</a></td></tr></table></div>
  </text>
<!--     an identifier used for this allergic propensity (adverse reaction risk)     -->
  <identifier>
    <system value="http://acme.com/ids/patients/risks"/>
    <value value="49476534"/>
  </identifier>
<!--     this was an actual adverse event, not just a potential one     -->
  <actuality value="actual"/>
<!--     more precise details of the event     -->
  <event>
    <coding>
    <!--     example uses SNOMED CT. Other likely possibilitues incluide MedDRA     -->
      <system value="http://snomed.info/sct"/>
      <code value="304386008"/>
      <display value="O/E - itchy rash"/>
    </coding>
  </event>
<!--     the patient that actually had the adverse event     -->
  <subject>
    <reference value="Patient/example"/>
  </subject>
<!--     when the event happened     -->
  <date value="2017-01-29T12:34:56+00:00"/>
<!--     In overall terms even if it was a severe rash it is a relatively mild event overall
       -->
  <seriousness>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/adverse-event-seriousness"/>
      <code value="non-serious"/>
      <display value="Non-serious"/>
    </coding>
  </seriousness>
<!--     who made the record / last updated it     -->
  <recorder>
    <reference value="Practitioner/example"/>
  </recorder>
<!--  Element was removed in R4, not clear where this would be expressed in the R4 resource  -->
<!-- description value="This was a mild rash on the left forearm"/ -->
<!--     may have been for cream to treat sunburn on that arm, reference to that medication
       -->
  <suspectEntity>
    <instance>
      <reference value="Medication/example"/>
    </instance>
  </suspectEntity>
</AdverseEvent>