Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). 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: R5 R4B R4 R3 R2

Example AllergyIntolerance/fishallergy (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

An allergy to a substance with additional details in notes (id = "fishallergy")

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

<AllergyIntolerance xmlns="http://hl7.org/fhir">
  <id value="fishallergy"/> 
  <text> 
    <status value="additional"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p> allergy is to fresh fish. Tolerates canned fish</p> 
      <p> recordedDate:2015-08-06T00:00:00-06:00</p> 
      <p> substance:Fish - dietary (substance)</p> 
    </div>    
  </text> 

  <!--   an identifier used for this Adverse Reaction Risk   -->
  <identifier> 
    <system value="http://acme.com/ids/patients/risks"/> 
    <value value="49476535"/> 
  </identifier> 

  <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="confirmed"/> 
      <display value="Confirmed"/> 
    </coding> 
  </verificationStatus> 
  
  <!--   this categorization is implied by "cashew nut" and therefore basically 
    redundant, but many systems collect this field anyway, since it's either 
    useful when the substance is not coded, or it's quicker to sort/filter on
    than using terminology based reasoning   -->
  <category value="food"/> 
     
  <!--   subtance - either coded, or text. A few times, 
    there's a full description of a complex substance - in these caes, use the
    extension [url] to refer to a Substance resource   -->
  <code> 
    <coding> 
      <system value="http://snomed.info/sct"/> 
      <code value="227037002"/> 
      <display value="Fish - dietary (substance)"/> 
    </coding> 
    <text value="Allergic to fresh fish. Tolerates canned fish"/> 
  </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="2015-08-06T15:37:31-06:00"/> 
  
  <!--   who made the record / last updated it   -->
  <participant>  
    <function>  
      <coding>  
        <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type"/>  
        <code value="author"/>  
        <display value="Author"/>  
      </coding>  
    </function>  
    <actor>  
      <reference value="Practitioner/example"/>  
    </actor>  
  </participant>  
  
</AllergyIntolerance> 

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.