This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

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"/> 
    <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> 

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

      <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"/> 
      <code value="active"/> 
      <display value="Active"/> 

      <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"/> 
      <code value="confirmed"/> 
      <display value="Confirmed"/> 
    <!--   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   -->
      <system value="http://snomed.info/sct"/> 
      <code value="227037002"/> 
      <display value="Fish - dietary (substance)"/> 
    <text value="Allergic to fresh fish. Tolerates canned fish"/> 

    <!--   the patient that actually has the risk of adverse reaction   -->
    <reference value="Patient/example"/> 

    <!--   the date that this entry was recorded   -->  
  <recordedDate value="2015-08-06T15:37:31-06:00"/> 
    <!--   who made the record / last updated it   -->
        <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type"/>  
        <code value="author"/>  
        <display value="Author"/>  
      <reference value="Practitioner/example"/>  

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.