FHIR Topic-Based Subscriptions: Solving the Polling Problem
Subscriptions - ginoc.io
Summary
FHIR introduces Topic-Based Subscriptions to solve the inefficiency of constant data polling. This pattern allows systems to receive real-time notifications when specific medical resources or events change, significantly improving interoperability efficiency.
Details
This mechanism utilizes the Publish & Subscribe pattern, defining a Topic (the canonical definition of the data/event) and a Subscription (the link between the Topic and the client). The Topic defines the cause of the notification and allowed filters, while the Subscription sets the specific endpoint and filters. Clients can choose payload types, such as ID-only or full resource data, and support various channel types like REST-Hook or WebSocket. This architecture supports both client-managed (In-Band) and server-managed (Out-of-Band) workflows, greatly enhancing data retrieval efficiency and scalability. FHIR R5+ includes dedicated resources for managing status and related resources.
Original content copyright by respective publishers