Skip to main content

5 docs tagged with "subscription"

View all tags

Publish and Subscribe

In a healthcare setting, Publish and Subscribe is a common pattern. For example, an everyday workflow in a laboratory setting is for a physician to create a lab order for a patient, and then receive a finalized lab report once the sample has been collected from the patient and processed.

Resend Webhooks

Medplum implements a custom operation, $resend, that can be used to trigger Subscriptions listening to a a particular resource. Please note that the User, Bot, or ClientApplication invoking this operation must have project admin credentials.

Subscription Extensions

Use the following FHIR extensions to customize the Subscription behavior. The behavior is non-standard, and will not necessarily work in other FHIR systems.

Subscriptions

Subscriptions are event-driven notifications, like webhooks, and are commonly used for integrations and automations. Medplum supports subscribing to changes on FHIR resources. There is a description FHIR Subscriptions on HL7.org that describes the functionality in detail.

useSubscription Hook

useSubscription creates an in-memory Subscription resource on the Medplum server with the given criteria and calls the