Subscription Adapter Implementation Guide
0.1.0 - ci-build
Publish Box goes here
Use the subscriber adapter role when your organization processes care data, but the receiving system does not implement FHIR Subscription notifications or notified pull.
In this role, the adapter sits between an external source adapter and the internal processing system.
processing system
-> simple subscribe request
subscriber adapter
-> FHIR Subscription request and notification handling
source adapter
The subscriber adapter role is responsible for:
related-query;The receiving or processing system is responsible for:
The receiving system does not need to parse Backport Bundle or Parameters resources.
The receiving system requests a subscription through a simple local call:
POST /subscriber/internal/subscriptions
Content-Type: application/json
{
"topic": "https://fhir.cumuluz.org/subscription-topic/heart-failure-daily-check",
"patientId": "hf-patient-001",
"content": "empty"
}
The subscriber adapter turns this into a FHIR R4 Subscription and sends it to the source adapter. The source adapter performs the handshake. After the handshake, the subscription is active.
When the source adapter sends an event notification, the subscriber adapter:
Bundle;In the prototype UI, the subscriber inbox shows:
The subscriber side may retry a subscription request. The source adapter deduplicates by endpoint, topic and patient. Retrying the same request returns the existing subscription and does not create a second active subscription.
For the local receiving system this means it is safe to call the subscribe endpoint during startup or recovery, as long as it uses a stable callback endpoint and the same patient/topic scope.
A production subscriber adapter must add: