Subscriptions
- npm
- Yarn
- pnpm
npm install @bonfhir/subscriptions
yarn add @bonfhir/subscriptions
pnpm add @bonfhir/subscriptions
The @bonfhir/subscriptions
package helps with managing and handling server-side FHIR Subscriptions.
Subscriptions are like webhooks and allow to react to resources modifications as they occur in a FHIR server.
It is composed of a core package, this one, and then needs adapter packages dependending on the hosting model selected.
For now, bonFHIR provides out-of-the-box support for:
- AWS Lambda
- Next.js
bonFHIR creates FHIR susbcriptions of type rest-hook
only.
warning
It is only compatible with FHIR version R4B for the moment and does not support the R5 subscription model.
📄️ Subscription handlers
React to FHIR Resources changes
📄️ AWS Lambda
Host in AWS Lambda function
📄️ Next.js
Host in a Next.js application