Subscriptions R5 Backport - Local Development build (v0.1.0). See the Directory of published versions
The Subscription R5 Backport Implementation Guide enables servers running verions of FHIR earlier than R5 to implement a subset of R5 Subscriptions in a standardized way.
During the development of FHIR R5, the Subscriptions Framework has gone through a significant redesign. Many implementers have expressed a need for functionality from the FHIR R5 version of Subscriptions to be made available in FHIR R4.
The goal of publishing this guide is to define a standard method of back-porting the R5 Subscriptions Framework for greater compatibility and adoption.
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 dynamically by posting a Subscription resource with a criteria string. The FHIR server must then run a query against that criteria 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. The redesign focused on three main areas:
SubscriptionTopic
resource.Subscription
resource to add clarity and flexibility.Bundle
type.The implementer response to these changes has been overwhelmingly positive - changes to the mechanism address the issues identified and retain all of the existing functionality. However, many of the changes cannot be made to the FHIR specifications until the release of R5. Implementers have expressed concern that the publication and adoption of FHIR R5 are too far in the future.
In order to provide topic-based subscription support in FHIR R4, this Implementation Guide supplements additions made to FHIR R4B to support the new FHIR R5 topic-based subscriptions. Wherever possible, this guide tries to align with FHIR R5 to lower implementer burden, however some differences are unavoidable.
FHIRcast is a framework for user-activity synchronization across applications. FHIRcast and Subscription are both conceptually based W3 WebSub, and while the mechanics of two projects look similar, they are fundamentally different projects used to address different use cases. In particular:
FHIR Messaging is a message-based protocol which can be used for communication. When combining Messaging and Subscriptions, complete notifications are wrapped into Messaging Bundles. More details are provided on the channels page.
Role | Name | Organization |
---|---|---|
Author | Gino Canessa | Microsoft |
Contributor | Eric Haas | Health eData |
Contributor | Josh Mandel | Microsoft / SMART Health IT |
Contributor | Adam Strickland | Epic |
Contributor | Jason Vogt | Meditech |
The authors gratefully acknowledge the many contributions from numerous users and facilitators who helped shape, mature, debug, and advance Topic-Based Subscriptions:
Avery Allen, Steve Atwood, Rick Geimer, Grahame Grieve, Bas van den Heuvel, Spencer LaGesse, Brett Marquard, Lloyd McKenzie, John Moehrke, Vassil Peytchev, Pascal Pfiffner, David Pyke, René Spronk, Jenni Syed, Isaac Vetter, and Julie Winters
The authors apologize if they have omitted any contributor from this list.