Release 5 Draft Ballot

This page is part of the FHIR Specification (v4.6.0: R5 Draft Ballot). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R4B R4 R3

Adverseevent-example.xml

Patient Care Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient, Practitioner, RelatedPerson

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

Example of adverseevent (id = "example")

<?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</b> </p> <p> <b> identifier</b> : id: 49476534</p> <p> <b> status</b> : completed</p> <p> <b> actuality</b> : actual</p> <p> <b> category</b> : <span> Medication Mishap</span> </p> <p> <b> code</b> : <span> This was a mild rash on the left forearm</span> </p> <p> <b> subject</b> : <a> Generated Summary: Medical record number: 12345 (USUAL); active; Peter James Chalmers
           (OFFICIAL), Jim , Peter James Windsor (MAIDEN); , Phone: (03) 5555 6473, Phone: (03) 3410
           5613, Phone: (03) 5555 8834; gender: male; birthDate: 1974-12-25; </a> </p> <p> <b> occurrence</b> : 29 Jan. 2017, 11:34:56 pm</p> <p> <b> seriousness</b> : <span> Non-serious</span> </p> <p> <b> recorder</b> : <a> Generated Summary: id: 23; active; Adam Careful </a> </p> <h3> SuspectEntities</h3> <table> <tr> <td> -</td> <td> <b> Instance[x]</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> 
  <status value="completed"/> 
  <!--    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="medication-mishap"/>  
      <display value="Medication Mishap"/>  
    </coding>  
  </category>  

  
  <!--    more precise details of the event    -->
  <code> 
    <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"/> 
  </code> 
  
  <!--    the patient that actually had the adverse event    -->
  <subject> 
    <reference value="Patient/example"/> 
  </subject> 
  
  <!--    when the event happened    --> 
  <occurrenceDateTime 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> 
  

  <!--    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> 
    <instanceReference> 
      <reference value="Medication/example"/> 
    </instanceReference> 
  </suspectEntity> 

</AdverseEvent> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.