http://hl7.org/fhir/StructureDefinition/Subscription|4.0.1
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.
| Name | Flags | Card | Type | Description & Constraints |
|---|---|---|---|---|
Subscription | 0..* | Server push subscription criteria | ||
?!Σ | 1..1 | code | requested | active | error | off SubscriptionStatus (required) | |
Σ | 0..* | ContactPoint | Contact details for source (e.g. troubleshooting) | |
Σ | 0..1 | instant | When to automatically delete the subscription | |
Σ | 1..1 | string | Description of why this subscription was created | |
Σ | 1..1 | string | Rule for server push | |
Σ | 0..1 | string | Latest error note | |
Σ | 1..1 | BackboneElement | The channel on which to report matches to the criteria | |
Σ | 1..1 | code | rest-hook | websocket | email | sms | message SubscriptionChannelType (required) | |
Σ | 0..1 | url | Where the channel points to | |
Σ | 0..1 | code | MIME type to send, or omit for no payload MimeType (required) | |
Σ | 0..* | string | Usage depends on the channel type |