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
payload (token)
The mime-type of the notification payload
Subscription.channel.payload_id (token)
Logical id of this artifact
Resource.id_query (token)
A custom search profile that describes a specific defined query operation
SubscriptionCustomChannelSearchParameter (token)
This SearchParameter enables query of subscriptions by additional channel type.
_content (string)
Search on the entire content of the resource
SubscriptionPayloadTypeSearchParameter (token)
This SearchParameter enables query of subscriptions by payload type.
url (uri)
The uri that will receive the notifications
Subscription.channel.endpoint_tag (token)
Tags applied to this resource
Resource.meta.tag_type (token)
Derived from the R4B Definition
$this.type().name_profile (uri)
Profiles this resource claims to conform to
Resource.meta.profileSubscriptionFilterCriteriaSearchParameter (string)
This SearchParameter enables query of subscriptions by filter criteria.
_lastUpdated (date)
When the resource version last changed
Resource.meta.lastUpdatedcontact (token)
Contact details for the subscription
Subscription.contactSubscriptionIdentifierSearchParameter (token)
This SearchParameter enables query of subscriptions by identifier.
SubscriptionTopicSearchParameter (string)
This SearchParameter enables query of subscriptions by canonical topic url.
Subscription.criteriastatus (token)
The current state of the subscription
Subscription.statuscriteria (string)
The search rules used to determine when to send a notification
Subscription.criteria_text (string)
Search on the narrative of the resource
_haste-health-author (reference)
The author of the resource
Resource.meta.extension.where(url='https://haste.health/author').value_security (token)
Security Labels applied to this resource
Resource.meta.securitytype (token)
The type of channel for the sent notifications
Subscription.channel.type_source (uri)
Identifies where the resource comes from
Resource.meta.source