This
page
is
part
of
the
FHIR
Specification
(v4.0.1:
R4
-
Mixed
Normative
and
STU
v6.0.0-ballot4:
Release
6
Ballot
(1st
Full
Ballot)
(see
Ballot
Notes
)
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
).
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
for
published
versions
Bundle-example.xml
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"/>
<!-- the total number of matches. This is a stupid example - there's a grand total of 3
matches, and
</meta>
<type value="searchset"/>
<total value="3"/>
<!-- all search sets include the self link - the server's statement of what it thought it
was
searching on. The client can use this to cross-check whether the server executed what
it
asked the server to, if it cares -->
<link>
<relation value="self"/>
https://example.com/base/MedicationRequest?patient=347&_include=MedicationRequest.medication&
;_count=2
<url value="https://example.com/base/MedicationRequest?patient=347&_include=MedicationRequest.medicat
ion&_count=2"/>
</link>
<!-- now, the link to the next set of results. The actual URL is entirely at the
discretion of the server, and is opaque to the client. Many servers will insert
<link>
<relation value="next"/>
https://example.com/base/MedicationRequest?patient=347&searchId=ff15fd40-ff71-4b48-b366-09c706be
d9d0&page=2
<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 class="res-header-id"><b> Generated Narrative: MedicationRequest 3123</b> </p> <a name="3123"> </a> <a name="hc3123"> </a> <p> <b> status</b> : Unknown</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="patient-example-f001-pieter.html">Pieter van de Heuvel Male, DoB: 1944-11-17 ( urn:oid:2.16.840.1.113883.2.4.6.3#?ngen-9? (use
: usual, ))</a> </p> </div>
</text>
<status value="unknown"/>
<intent value="order"/>
<medication>
<reference>
<reference value="Medication/example"/>
</reference>
</medication>
<subject>
<reference value="Patient/f001"/>
</subject>
</MedicationRequest>
</resource>
<search>
<!-- this resource included as a match to the search criteria.
<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 class="res-header-id"><b> Generated Narrative: Medication example</b> </p> <a name="example"> </a> <a name="hcexample"> </a> </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.