This page is part of the Subscriptions R5 Backport (v0.1.0: STU 1 Ballot 1) based on FHIR R4. The current version which supercedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions
The Subscriptions Framework is a mechanism designed to allow clients to ask for notifications when data changes. It is an active notification system; a FHIR server actively sends notifications to clients as changes occur.
There is a defined Subscription resource in FHIR R4, which has been in place since DSTU2. In those releases of FHIR, subscriptions are defined by a client at run-time via a query. The FHIR server must then run the query and track the query result-set for each subscription request. Each time a change to the server’s data is made, a server must re-run the query and send notifications to clients if their result-set changes (e.g., a new entry is added or removed).
The above approach works well for some use cases, but has issues which prevent it from being used in others. Some of the issues identified include:
While some of the issues would be addressable with modifications to the existing Subscription
resource, the FHIR Infrastructure Work Group felt that more extensive changes were needed, and so started a redesign of Subscriptions for R5.
More than a year of focused work resulted in a new design for Subscriptions in FHIR R5. The redesign focused on three main areas:
SubscriptionTopic
resource.Subscription
resource to add clarity and flexibility.Bundle
type.The result of the work has been overwhelmingly positive - changes to the mechanism address the issues identified and retain all of the existing functionality. However, many implementers are concerned that both publication and adoption of FHIR R5 are both in the future.
In response to requests for a way to use “R5-style” subscriptions in earlier versions of FHIR, this Implementation Guide has been authored. The goal is to provide a standard set of artifacts and extensions so that consistent behavior can be achieved prior to the release and adoption of FHIR R5.