JSON Format: Subscription-example
Raw json
{
"resourceType" : "Subscription",
"id" : "example",
"meta" : {
"profile" : [
"http://fhir.org/guides/argonaut-scheduling/StructureDefinition/argo-sub-notif"
]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example</p><p><b>meta</b>: </p><p><b>status</b>: active</p><p><b>reason</b>: Notify subscriber of schedule changes to trigger the subscriber prefetch updated slots</p><p><b>criteria</b>: </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></tr><tr><td>*</td><td/><td>rest-hook</td><td><a href="https://feed-handler.com/notification">https://feed-handler.com/notification</a></td><td>application/fhir+json</td></tr></table></div>"
},
"status" : "active",
"reason" : "Notify subscriber of schedule changes to trigger the subscriber prefetch updated slots",
"_criteria" : {
"extension" : [
{
"url" : "http://fhir.org/guides/argonaut-scheduling/StructureDefinition/extension-subscription-triggerevent",
"valueString" : "schedule where any slot that reference it has changed"
},
{
"url" : "http://fhir.org/guides/argonaut-scheduling/StructureDefinition/extension-subscription-eventfocus",
"valueCode" : "Slot"
}
]
},
"channel" : {
"extension" : [
{
"url" : "http://fhir.org/guides/argonaut-scheduling/StructureDefinition/extension-subscription-payloadprofile",
"valueUri" : "http://fhir.org/guides/argonaut-scheduling/StructureDefinition/argo-sched-notif"
}
],
"type" : "rest-hook",
"endpoint" : "https://feed-handler.com/notification",
"payload" : "application/fhir+json"
}
}
