Skip to main content
v2026.11,858 entries · CC-BY 4.0
LAC HealthMedical & Research SuppliesReagents, PPE & instruments — chain-of-custody documented.Fast, traceable sourcing built for regulated research environments, from bench consumables to instrumentation.Shop lac.us CodeCASRAIlac.us

FHIR Subscriptions Explained: SubscriptionTopic, Notification Channels, and Event-Driven Healthcare Workflows

Learn how HL7 FHIR Subscriptions enable event-driven clinical alerts using SubscriptionTopic triggers, REST-hook and WebSocket channels, and R4 Backport profiles.

Written and maintained by CASRAI Editorial Board

Last updated

FHIR Subscriptions is the native publish/subscribe (pub/sub) framework in HL7 Fast Healthcare Interoperability Resources (FHIR) that allows external clinical applications, care coordination platforms, and clinical trial systems to receive automatic, event-driven notifications whenever specific clinical or administrative changes occur on a FHIR server—eliminating the latency and server load of repetitive REST polling.

What Is FHIR Subscriptions and How Is It Used in Clinical Research and Healthcare?

In traditional RESTful EHR integration, a client application must repeatedly poll an endpoint (for example, GET /Observation?patient=123&_lastUpdated=gt2026-01-01) to discover new lab results or hospital admissions. FHIR Subscriptions replaces client polling with a server-pushed event architecture built around three core components in the topic-based model (introduced normatively in FHIR R5 and backported to FHIR R4):

  • SubscriptionTopic: A canonical, server-published definition of a clinical or workflow event (such as an inpatient admission/discharge encounter transition, a newly finalized diagnostic laboratory report, or a clinical trial adverse event). Each SubscriptionTopic specifies the resource triggers (create, update, or delete on resources like Encounter or Observation) and the allowed filter parameters (such as patient cohort, practitioner, or LOINC code).
  • Subscription: A client-created resource that registers an active listener for a specific SubscriptionTopic, defines the filter values (for example, subscribing only to patients enrolled in a specific research study or care management list), selects the communication channel (such as rest-hook or websocket), and specifies the payload security level.
  • Notification Bundle and SubscriptionStatus: When a matching event occurs, the FHIR server dispatches a notification Bundle (of type subscription-notification in R5, or history in the R4 Backport IG) whose first entry is a SubscriptionStatus resource (or Parameters profile in R4) containing the event sequence number, timestamp, subscription reference, and heartbeat/error metadata.

In clinical research, FHIR Subscriptions powers real-time serious adverse event (SAE) detection (notifying sponsors immediately when an enrolled trial participant has an emergency department Encounter), automated screening alerts when a patient meets inclusion criteria lab thresholds, and real-time EHR-to-EDC data synchronization.

What Standards or Regulatory Requirements Govern FHIR Subscriptions?

Health IT developers implement FHIR Subscriptions across three interrelated HL7 specifications depending on the underlying server version:

  1. HL7 FHIR R5 Topic-Based Subscriptions: Standardized the clean separation between server-defined event catalogs (SubscriptionTopic) and client instances (Subscription), solving the scalability flaws of legacy FHIR R4 criteria strings (where arbitrary search queries inside Subscription.criteria proved difficult for large EHR databases to evaluate on every write).
  2. HL7 FHIR R4 Subscriptions R5 Backport Implementation Guide (IG): Because U.S. regulatory certifications under ONC/ASTP 45 CFR § 170.315(g)(10) are anchored on FHIR R4, the HL7 Subscriptions Backport IG maps the R5 topic-based architecture onto FHIR R4 using standard extensions, Basic profiles for topics, and Parameters resources for notification status.
  3. Payload Security and Privacy Tiers: To align with HIPAA minimum-necessary rules and zero-trust network architectures, the specification defines three payload content modes that determine how much Protected Health Information (PHI) traverses the notification channel:
Payload Content Mode (content) What the Notification Bundle Contains Security & Authorization Model Primary Healthcare & Research Use Case
empty (Ping-Only) Only the SubscriptionStatus metadata and event count; zero clinical resource IDs or PHI Lowest risk over public networks; subscriber must authenticate via SMART Backend Services OAuth 2.0 to query the server for updates Mobile apps and external multi-tenant SaaS listeners where webhook endpoints cannot store PHI in transit logs
id-only (Resource Pointers) SubscriptionStatus plus the relative or absolute URLs (e.g., Encounter/9842) of the affected resources without clinical body fields Prevents PHI exposure in the push notification while enforcing granular RBAC/OAuth scopes when the client executes a follow-up GET Cross-organization health information exchange (HIE), care coordination alerts, and clinical trial screening engines
full-resource (Complete Payload) SubscriptionStatus plus the complete JSON/XML representation of the triggering FHIR resource(s) inside Bundle.entry.resource Requires mutual TLS (mTLS) or signed webhook tokens and a HIPAA BAA, as full PHI is pushed directly to the endpoint High-throughput internal hospital microservices, HAPI FHIR pipelines, and Mirth Connect integration engines

How Does FHIR Subscriptions Integrate with EHR and Health Informatics Workflows?

Connecting a clinical application or research platform to an EHR via FHIR Subscriptions follows a deterministic lifecycle:

  • Channel Handshake and Heartbeats: When a client POSTs a new Subscription with status requested and channel type rest-hook, the FHIR server sends an initial handshake notification to the target webhook URL. Once the endpoint responds with HTTP 200 OK, the server transitions the subscription status to active and sends periodic heartbeat notifications so the subscriber can detect silent network outages.
  • Handling Missed Events and Error Recovery: Every notification carries a monotonically increasing event counter (eventsSinceSubscriptionStart). If a subscriber sees a gap in sequence numbers (for example, jumping from event 41 to 44) or sees status error, it can invoke the $status and $events operations on the FHIR server to replay missed notifications.
  • Bridging HL7 v2 ADT/ORU Streams to FHIR: Many hospitals map internal HL7 v2 ADT^A01 (admission), ADT^A03 (discharge), and ORU^R01 (lab result) messages into FHIR R4 resources inside an enterprise FHIR facade, triggering encounter-start, encounter-end, and observation-result subscription topics for downstream digital health apps.

Frequently Asked Questions

What is fhir subscriptions and how is it used in clinical research and healthcare?

FHIR Subscriptions is an HL7 standard publish/subscribe mechanism that pushes real-time notifications from a FHIR server to subscribed applications when defined clinical or administrative events occur. In healthcare and clinical research, it is used for automated admission-discharge-transfer (ADT) care transitions, critical lab result alerts, clinical trial cohort screening, and real-time serious adverse event (SAE) surveillance without repetitive API polling.

What standards or regulatory requirements govern fhir subscriptions?

FHIR Subscriptions is governed by the HL7 FHIR R5 Subscriptions specification (which introduced SubscriptionTopic and SubscriptionStatus) and the HL7 FHIR R4 Subscriptions R5 Backport Implementation Guide, which enables FHIR R4 servers certified under ONC/ASTP 45 CFR § 170.315(g)(10) to support topic-based event notifications using empty, id-only, or full-resource payloads.

How does fhir subscriptions integrate with EHR and health informatics workflows?

An EHR or FHIR server exposes canonical SubscriptionTopic definitions (such as encounter admissions or finalized diagnostic reports). A client application registers a Subscription resource specifying filter criteria and a delivery channel (rest-hook webhook, websocket, or FHIR messaging), completes an HTTP handshake, and processes incoming notification Bundles verified by sequential event counters and SMART Backend Services authentication.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · free to try

Ask about FHIR Subscriptions Explained: SubscriptionTopic, Notification Channels, and Event-Driven Healthcare Workflows

Ask your first 2 questions free below. Subscribers get 150 a day for $29 a month.

An AI assistant specialized in research administration. It cites the sources behind every answer, labels web answers and says when it can't answer.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays free to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →