<?xml version="1.0" encoding="UTF-8"?><AdverseEvent xmlns="http://hl7.org/fhir">
  <id value="example"/>

  <!--   an identifier used for this allergic propensity (adverse reaction risk)   -->
  <text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example</p><p><b>identifier</b>: 49476534</p><p><b>actuality</b>: actual</p><p><b>category</b>: Product Use Error <span>(Details : {http://terminology.hl7.org/CodeSystem/adverse-event-category code &#39;product-use-error&#39; = &#39;Product Use Error&#39;, given as &#39;Product Use Error&#39;})</span></p><p><b>event</b>: This was a mild rash on the left forearm <span>(Details : {SNOMED CT code &#39;304386008&#39; = &#39;O/E - itchy rash&#39;, given as &#39;O/E - itchy rash&#39;})</span></p><p><b>subject</b>: <a>Patient/example</a></p><p><b>date</b>: 29/01/2017 12:34:56 PM</p><p><b>seriousness</b>: Non-serious <span>(Details : {http://terminology.hl7.org/CodeSystem/adverse-event-seriousness code &#39;Non-serious&#39; = &#39;Non-serious&#39;, given as &#39;Non-serious&#39;})</span></p><p><b>severity</b>: Mild <span>(Details : {http://terminology.hl7.org/CodeSystem/adverse-event-severity code &#39;mild&#39; = &#39;Mild&#39;, given as &#39;Mild&#39;})</span></p><p><b>recorder</b>: <a>Practitioner/example</a></p><h3>SuspectEntities</h3><table><tr><td>-</td><td><b>Instance</b></td></tr><tr><td>*</td><td><a>Medication/example</a></td></tr></table></div></text><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"/>

  <!--   high level categorizion. The "event" below will say more   -->
  <category> 
    <coding> 
      <system value="http://terminology.hl7.org/CodeSystem/adverse-event-category"/> 
      <code value="product-use-error"/> 
      <display value="Product Use Error"/> 
    </coding> 
  </category> 

  
  <!--   more precise details of the event   -->
  <event>
    <coding>
      <!--   example uses SNOMED CT. Other likely possibilities include MedDRA   -->
      <system value="http://snomed.info/sct"/>
      <code value="304386008"/>
      <display value="O/E - itchy rash"/>
    </coding>
	<text value="This was a mild rash on the left forearm"/>
  </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"/>
  
  <!--   This was a rash, so overall not serious   -->
  <seriousness>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/adverse-event-seriousness"/>
        <code value="Non-serious"/>
        <display value="Non-serious"/>
    </coding>
  </seriousness>
  
  <!--   In overall terms even if it was a severe rash it is a relatively mild event overall   --> 
  <severity>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/adverse-event-severity"/>
      <code value="mild"/>
      <display value="Mild"/>
    </coding>
  </severity>

  <!--   who made the record / last updated it   -->
  <recorder>
    <reference value="Practitioner/example"/>
  </recorder>

  <!--   may have been for cream to treat sunburn on that arm, reference to that medication   -->
  <suspectEntity>
    <instance>
      <reference value="Medication/example"/>
    </instance>
  </suspectEntity>

</AdverseEvent>