Subscription

statusΣ ?!1..1codeBinding
contactΣ I0..*ContactPoint
endΣ0..1instant
reasonΣ1..1string
criteriaΣ1..1string
errorΣ0..1string
typeΣ1..1codeBinding
endpointΣ0..1url
payloadΣ0..1codeBinding
headerΣ0..*string
ProfileDescriptionStatusURL
Subscription

The subscription resource is used to define a push-based subscription from a server to another system. Once a subscription is registered with the server, the server checks every resource that is created or updated, and if the resource matches the given criteria, it sends a message on the defined "channel" so that another system can take an appropriate action.

drafthttp://hl7.org/fhir/StructureDefinition/Subscription