This page is part of the Subscriptions R5 Backport (v0.1.0: STU 1 Ballot 1) based on FHIR R4. The current version which supercedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions
{
"resourceType" : "Subscription",
"id" : "subscription-admission",
"meta" : {
"profile" : [
"http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription"
]
},
"text" : {
"status" : "extensions",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>Backport R5 Subscription Topic Canonical</b>: <a href=\"http://hl7.org/SubscriptionTopic/admission\">http://hl7.org/SubscriptionTopic/admission</a></p><p><b>status</b>: active</p><p><b>end</b>: Dec 31, 2020 12:00:00 PM</p><p><b>reason</b>: Example Backported Subscription for Patient Admission</p><p><b>criteria</b>: Encounter?patient=Patient/123</p><h3>Channels</h3><table class=\"grid\"><tr><td>-</td><td><b>Extension</b></td><td><b>Type</b></td><td><b>Endpoint</b></td><td><b>Payload</b></td><td><b>Header</b></td></tr><tr><td>*</td><td>, , , </td><td>rest-hook</td><td><a href=\"https://example.org/Endpoints/eae3806a-f7fb-4e3f-a14d-c4c58ca9c038\">https://example.org/Endpoints/eae3806a-f7fb-4e3f-a14d-c4c58ca9c038</a></td><td>application/fhir+json</td><td>Authorization: Bearer secret-token-abc-123</td></tr></table></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-topic-canonical",
"valueUri" : "http://hl7.org/SubscriptionTopic/admission"
}
],
"status" : "active",
"end" : "2020-12-31T12:00:00Z",
"reason" : "Example Backported Subscription for Patient Admission",
"criteria" : "Encounter?patient=Patient/123",
"channel" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period",
"valueUnsignedInt" : 86400
},
{
"url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout",
"valueUnsignedInt" : 60
},
{
"url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-notification-url-location",
"valueCode" : "all"
},
{
"url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count",
"valuePositiveInt" : 20
}
],
"type" : "rest-hook",
"endpoint" : "https://example.org/Endpoints/eae3806a-f7fb-4e3f-a14d-c4c58ca9c038",
"payload" : "application/fhir+json",
"_payload" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content",
"valueCode" : "id-only"
}
]
},
"header" : [
"Authorization: Bearer secret-token-abc-123"
]
}
}