Example
Subscription
of
subscription
{
"resourceType": "Subscription",
"id": "example",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">[Put rendering here]</div>"
},
"status": "requested",
"contact": [
{
"system": "phone",
"value": "ext 4123"
}
],
"end": "2021-01-01T00:00:00Z",
"reason": "Monitor new neonatal function",
"criteria": "Observation?code=http://loinc.org|1975-2",
"channel": {
"type": "rest-hook",
"endpoint": "https://biliwatch.com/customers/mount-auburn-miu/on-result",
"payload": "application/fhir+json",
"header": [
"Authorization: Bearer secret-token-abc-123"
]
},
"tag": [
{
"system": "http://example.org/fhir/cs/internal",
"code": "bili-done"
}
]
"resourceType" : "Subscription",
"id" : "example",
"identifier" : [{
"system" : "urn:ietf:rfc:3986",
"value" : "urn:uuid:97e5aa1e-5916-4512-a36e-24eef784e3cc"
}],
"name" : "Example",
"status" : "active",
"topic" : "http://example.org/R5/SubscriptionTopic/example",
"contact" : [{
"system" : "phone",
"value" : "(555) 555-1212",
"use" : "work"
}],
"reason" : "Example subscription for example topic",
"filterBy" : [{
"resource" : "http://hl7.org/fhir/StructureDefinition/Encounter",
"filterParameter" : "patient",
"value" : "Patient/123"
}],
"channelType" : {
"code" : "rest-hook"
}
}
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.