Skip to main content

Subscription

Trial Use 3 Foundation

The subscription resource describes a particular client's request to be notified about a SubscriptionTopic.

Endpoints

devhttps://api.sandbox.ovok.com/fhir/R5/Subscription
InteractionMethodPath
ReadGET/fhir/R5/Subscription/[id]
VreadGET/fhir/R5/Subscription/[id]/_history/[vid]
UpdatePUT/fhir/R5/Subscription/[id]
PatchPATCH/fhir/R5/Subscription/[id]
DeleteDELETE/fhir/R5/Subscription/[id]
CreatePOST/fhir/R5/Subscription
SearchGET/fhir/R5/Subscription?...
HistoryGET/fhir/R5/Subscription/[id]/_history
Type-historyGET/fhir/R5/Subscription/_history

Top-level elements

ElementType(s)CardinalityDescription
identifierIdentifier0..*Additional identifiers (business identifier)
namestring0..1Human readable name for this subscription
statuscode1..1requested
topiccanonical1..1Reference to the subscription topic being subscribed to
contactContactPoint0..*Contact details for source (e.g. troubleshooting)
endinstant0..1When to automatically delete the subscription
managingEntityReference0..1Entity responsible for Subscription changes
reasonstring0..1Description of why this subscription was created
filterByBackboneElement0..*Criteria for narrowing the subscription topic stream
channelTypeCoding1..1Channel type for notifications
endpointurl0..1Where the channel points to
parameterBackboneElement0..*Channel type
heartbeatPeriodunsignedInt0..1Interval in seconds to send 'heartbeat' notification
timeoutunsignedInt0..1Timeout in seconds to attempt notification delivery
contentTypecode0..1MIME type to send, or omit for no payload
contentcode0..1empty
maxCountpositiveInt0..1Maximum number of events that can be combined in a single notification

Resource-specific search parameters

ParameterTypeDescription
contacttokenContact details for the subscription
content-leveltokenContent level included in notifications
filter-valuestringFilter value used to narrow notifications
identifiertokenA subscription identifier
namestringA human-readable name
ownerreferenceThe managing entity
payloadtokenThe mime-type of notifications
statustokenThe current state of the subscription
topicuriThe canonical topic url that triggers notifications
typetokenThe type of channel for the sent notifications
urluriThe uri that will receive the notifications

Reference

  • Official FHIR R5 spec: Subscription
  • Maturity: Trial Use 3 (FMM 3).