Subscription

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionI0..*Extension
modifierExtension?! I0..*Extension
statusΣ ?!1..1codeBinding
contactΣ I0..*ContactPoint
endΣ0..1instant
reasonΣ1..1string
criteriaΣ1..1string
errorΣ0..1string
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
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