This
page
is
part
of
the
FHIR
Specification
(v5.0.0:
R5
-
STU
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
Publish-box
(todo)
Example
SubscriptionStatus/0f322dbe-4f8d-4cbd-9ecb-bc8dc6f65f6a
(XML)
Raw
XML
(
canonical
form
+
also
see
XML
Format
Specification
)
notification
wrapped
in
FHIR
Messaging
(id
=
"0f322dbe-4f8d-4cbd-9ecb-bc8dc6f65f6a")
<?xml version="1.0" encoding="UTF-8"?>
<Bundle xmlns="http://hl7.org/fhir">
<id value="0f322dbe-4f8d-4cbd-9ecb-bc8dc6f65f6a"/>
<type value="message"/>
<timestamp value="2020-04-17T10:24:13.1882432-05:00"/>
<entry>
<fullUrl value="urn:uuid:801728e4-75e9-42e6-b6d0-0cc3e835a70d"/>
<resource>
<MessageHeader>
<id value="801728e4-75e9-42e6-b6d0-0cc3e835a70d"/>
display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border:
1px solid #8da1b4; border-radius: 5px; line-height: 60%: subscription-notification (Details: http://example.org/fhir/message-events code
subscription-notification = 'subscription-notification', stated as 'null')
<text>
<status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b> Generated Narrative: MessageHeader 801728e4-75e9-42e6-b6d0-0cc3e835a70d</b> </p> <a name="801728e4-75e9-42e6-b6d0-0cc3e835a70d"> </a> <a name="hc801728e4-75e9-42e6-b6d0-0cc3e835a70d"> </a> <a name="801728e4-75e9-42e6-b6d0-0cc3e835a70d-en-AU"> </a> <p> <b> event</b> : message-events subscription-notification: subscription-notification</p> <h3> Sources</h3> <table class="grid"><tr> <td style="display: none">-</td> <td> <b> Endpoint[x]</b> </td> </tr> <tr> <td style="display: none">*</td> <td> <a href="broken-link.html">http://example.org/FHIR/R5</a> </td> </tr> </table> <p> <b> focus</b> : <a href="broken-link.html">urn:uuid:c13b0b59-525c-4e41-b874-b5b87538a5b7</a> </p> </div>
</text>
<eventCoding>
<system value="http://example.org/fhir/message-events"/>
<code value="subscription-notification"/>
</eventCoding>
<source>
<endpointUrl value="http://example.org/FHIR/R5"/>
</source>
<focus>
<reference value="urn:uuid:c13b0b59-525c-4e41-b874-b5b87538a5b7"/>
</focus>
</MessageHeader>
</resource>
</entry>
<entry>
<fullUrl value="urn:uuid:c13b0b59-525c-4e41-b874-b5b87538a5b7"/>
<resource>
<Bundle>
<id value="c13b0b59-525c-4e41-b874-b5b87538a5b7"/>
<type value="subscription-notification"/>
<timestamp value="2020-04-17T10:24:13.1882432-05:00"/>
<entry>
<fullUrl value="urn:uuid:bef7e5fb-b5ad-4b59-a618-1bace2bbf5c0"/>
<resource>
<SubscriptionStatus>
<id value="bef7e5fb-b5ad-4b59-a618-1bace2bbf5c0"/>
<status value="active"/>
<type value="event-notification"/>
<eventsSinceSubscriptionStart value="2"/>
<notificationEvent>
<eventNumber value="2"/>
<focus>
<reference value="http://example.org/FHIR/R5/Encounter/2"/>
</focus>
</notificationEvent>
<subscription>
<reference value="http://example.org/FHIR/R5/Subscription/123"/>
</subscription>
<topic value="http://example.org/FHIR/R5/SubscriptionTopic/admission"/>
</SubscriptionStatus>
</resource>
</entry>
<entry>
<fullUrl value="https://example.org/FHIR/R5/Encounter/2"/>
<resource>
<Encounter>
<id value="2"/>
<meta>
<versionId value="1"/>
<lastUpdated value="2019-08-07T10:49:22Z"/>
</meta>
<status value="in-progress"/>
<class>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="VR"/>
<display value="virtual"/>
</coding>
</class>
<subject>
<reference value="Patient/ABC"/>
</subject>
</Encounter>
</resource>
<request>
<method value="PUT"/>
<url value="Encounter/2"/>
</request>
<response>
<status value="201"/>
</response>
</entry>
</Bundle>
</resource>
</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.