This
page
is
part
of
the
FHIR
Specification
(v0.0.82:
DSTU
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
R2
Example Index:
| Example of subscription | XML | JSON |
XML
Example of subscription (id = "example")
<Subscription xmlns="http://hl7.org/fhir"> <id value="example"/> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div> </text> <criteria value="/Observation?name=http://loinc.org|1975-2"/> <reason value="Monitor new neonatal function"/> <status value="requested"/> <channel> <type value="rest-hook"/> <endpoint value="https://biliwatch.com/customers/mount-auburn-miu/on-result"/> <payload value="application/json"/> <header value="Authorization: Bearer secret-token-abc-123"/> </channel> </Subscription>
JSON
Example of subscription
{
"resourceType": "Subscription",
"id": "example",
"text": {
"status": "generated",
"div": "<div>!-- Snipped for Brevity --></div>"
},
"criteria": "/Observation?name=http://loinc.org|1975-2",
"reason": "Monitor new neonatal function",
"status": "requested",
"channel": {
"type": "rest-hook",
"endpoint": "https://biliwatch.com/customers/mount-auburn-miu/on-result",
"payload": "application/json",
"header": "Authorization: Bearer secret-token-abc-123"
}
}
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.