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
This section gives an overview of the workflow for both Servers and Clients to work with Subscriptions. Each channel MAY vary slightly from this general overview - specifically around interactions involving the Endpoint
(e.g., when using a rest-hook
the client must pre-configure an HTTP endpoint which the server validates, but when using websockets
the client simply connects to the server).
A workflow for creating a subscription is below:
SubscriptionTopics
. Topic implementation is specific to each defined topic, and will vary between implementations.SubscriptionTopics
, via the Subscription/$topic-list operation.POST
, PUT
, etc.).handshake
to the endpoint.handshake
, the endpoint should respond appropriately.Once the subscription is active, notifications will be sent according to the Channel. Note that error states may occur, see Handling Errors for more information.