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
R4
R3
R2
Publish-box
(todo)
Example
Subscription/example
(XML)
Raw
XML
(
canonical
form
+
also
see
XML
Format
Specification
)
Jump
past
Narrative
Example
of
subscription
(id
=
"example")
<?xml version="1.0" encoding="UTF-8"?>
<Subscription xmlns="http://hl7.org/fhir">
<id value="example"/>
display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border:
1px solid #8da1b4; border-radius: 5px; line-height: 60%
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:uuid:97e5aa1e-5916-4512-a36e-24eef784e3cc"/>
</identifier>
<name value="Example"/>
<status value="active"/>
<topic value="http://example.org/R5/SubscriptionTopic/example"/>
<contact>
<system value="phone"/>
<value value="(555) 555-1212"/>
<use value="work"/>
</contact>
<reason value="Example subscription for example topic"/>
<filterBy>
<resource value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<filterParameter value="patient"/>
<value value="Patient/123"/>
</filterBy>
<channelType>
<code value="rest-hook"/>
</channelType>
</
Subscription
>
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.