R4 Draft for Comment

This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). 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

Bundle-request-medsallergies.xml

FHIR Infrastructure Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Not linked to any defined compartments

Raw XML (canonical form)

Retrieve a patients medications, allergies, problems and immunizations (id = "bundle-request-medsallergies")

<Bundle xmlns="http://hl7.org/fhir">
  <id value="bundle-request-medsallergies"/> 
  <!--   This bundle is a batch of reqests to the FHIR RESTful API   -->
  <type value="batch"/> 

  <!--   Each entry is used to represent a RESTful API request
       This request retrieves a single Patient resource   -->
  <entry> 
    <request> 
      <method value="GET"/> 
      <url value="/Patient/example"/> 
    </request> 
  </entry> 
  <!--   This request will retrieve the current MedicationStatements for the patient
       requested above   -->
  <entry> 
    <request> 
      <method value="GET"/> 
      <url value="/MedicationStatement?patient=example&amp;_list=$current-medications"/> 
    </request> 
  </entry> 
  <!--   This request will retrieve the current AllergyIntolerances for the same
       patient   -->
  <entry> 
    <request> 
      <method value="GET"/> 
      <url value="/AllergyIntolernce?patient=example&amp;_list=$current-allergies"/> 
    </request> 
  </entry> 
  <!--   This request will retrieve the current Conditions for the patient
       requested above   -->
  <entry> 
    <request> 
      <method value="GET"/> 
      <url value="/Condition?patient=example&amp;_list=$current-problems"/> 
    </request> 
  </entry> 
  <!--   This request will retrieve the Immunization History for the patient
       requested above   -->
  <entry> 
    <request> 
      <method value="GET"/> 
      <url value="/MedicationStatement?patient=example&amp;notgiven:not=true"/> 
    </request> 
  </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.