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.
Structure
Search Parameters
_haste-health-author (reference)
The author of the resource
Resource.meta.extension.where(url='https://haste.health/author').value_type (token)
Derived from the R4B Definition
$this.type().name_text (string)
Search on the narrative of the resource
_content (string)
Search on the entire content of the resource
_id (token)
Logical id of this artifact
Resource.id_lastUpdated (date)
When the resource version last changed
Resource.meta.lastUpdated_profile (uri)
Profiles this resource claims to conform to
Resource.meta.profile_query (token)
A custom search profile that describes a specific defined query operation
_security (token)
Security Labels applied to this resource
Resource.meta.security_source (uri)
Identifies where the resource comes from
Resource.meta.source_tag (token)
Tags applied to this resource
Resource.meta.tagcontact (token)
Contact details for the subscription
Subscription.contactcriteria (string)
The search rules used to determine when to send a notification
Subscription.criteriapayload (token)
The mime-type of the notification payload
Subscription.channel.payloadstatus (token)
The current state of the subscription
Subscription.statustype (token)
The type of channel for the sent notifications
Subscription.channel.typeurl (uri)
The uri that will receive the notifications
Subscription.channel.endpoint