This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v4.0.1:
R4
-
Mixed
Normative
and
STU
)
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
Bundle-request-medsallergies.xml
Example
Bundle/bundle-request-medsallergies
(XML)
Raw
XML
(
canonical
form
+
also
see
XML
Format
Specification
)
Retrieve
a
patients
medications,
allergies,
problems
and
immunizations
(id
=
"bundle-request-medsallergies")
<?xml version="1.0" encoding="UTF-8"?>
<!-- Each entry is used to represent a RESTful API request
This request retrieves a single Patient resource -->
<!-- This request will retrieve the current MedicationStatements for the patient
requested above -->
<!-- This request will retrieve the current AllergyIntolerances for the same
patient -->
<!-- This request will retrieve the current Conditions for the patient
requested above -->
<!-- This request will retrieve the Immunization History for the patient
requested above -->
<Bundle xmlns="http://hl7.org/fhir">
<id value="bundle-request-medsallergies"/>
<type value="batch"/>
<entry> <request> <method value="GET"/> <url value="/Patient/example"/> </request> </entry>
<entry> <request> <method value="GET"/> <url value="/MedicationStatement?patient=example&_list=$current-medications"/> </request> </entry>
<entry> <request> <method value="GET"/> <url value="/AllergyIntolerance?patient=example&_list=$current-allergies"/> </request> </entry>
<entry> <request> <method value="GET"/> <url value="/Condition?patient=example&_list=$current-problems"/> </request> </entry>
<entry> <request> <method value="GET"/> <url value="/MedicationStatement?patient=example&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.