This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0.  For a full list of available versions, see the Directory of published versions 
Example Bundle/bundle-example (XML)
Raw XML (canonical form + also see XML Format Specification)
An example of a search response (id = "bundle-example")
<?xml version="1.0" encoding="UTF-8"?>
<Bundle xmlns="http://hl7.org/fhir">
  <id value="bundle-example"/> 
      
  <meta> 
    <lastUpdated value="2014-08-18T01:43:30Z"/> 
         
  </meta>  
  <type value="searchset"/>   
      
  <total value="3"/> 
      
  <link> 
    <relation value="self"/> 
    <url value="https://example.com/base/MedicationRequest?patient=347&_include=MedicationRequest.medicat
    ion&_count=2"/> 
  </link> 
      
  <link> 
    <relation value="next"/> 
    <url value="https://example.com/base/MedicationRequest?patient=347&searchId=ff15fd40-ff71-4b48-b366-0
    9c706bed9d0&page=2"/> 
  </link> 
  
      
  <entry> 
    <fullUrl value="https://example.com/base/MedicationRequest/3123"/> 
        
    <resource> 
      <MedicationRequest> 
        <id value="3123"/> 
            
        <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative: MedicationRequest</b> <a name="3123"> </a> </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 MedicationRequest "3123" </p> </div> <p> <b> status</b> : <span title="  snip  ">unknown</span> </p> <p> <b> intent</b> : order</p> <h3> Medications</h3> <table class="grid"><tr> <td style="display: none">-</td> <td> <b> Reference</b> </td> </tr> <tr> <td style="display: none">*</td> <td> <a href="broken-link.html">Medication/example</a> </td> </tr> </table> <p> <b> subject</b> : <a href="broken-link.html">Patient/347</a> </p> </div> </text> <status value="unknown"/> 
        <intent value="order"/> 
        <medication> 
          <reference> 
          <reference value="Medication/example"/> 
          </reference> 
        </medication> 
        <subject> 
          <reference value="Patient/347"/> 
        </subject> 
            
      </MedicationRequest> 
    </resource> 
        
    <search> 
             
      <mode value="match"/>  
          
      <score value="1"/> 
    </search> 
  </entry> 
  <entry> 
    <fullUrl value="https://example.com/base/Medication/example"/> 
    <resource> 
      <Medication> 
        <id value="example"/> 
            
      <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative: Medication</b> <a name="example"> </a> </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 Medication "example" </p> </div> </div> </text> </Medication> 
    </resource> 
    <search> 
             
      <mode value="include"/>  
    </search> 
  </entry> 
</Bundle> 
 
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.