A FHIR Bundle is a foundational interoperability container defined by HL7 that assembles disparate FHIR Resources—such as Patient, Observation, and MedicationRequest—into a single, atomic unit. This grouping mechanism is essential for transmitting a complete clinical context, like a discharge summary or a batch of lab results, over a RESTful API without losing the relational integrity between the individual data components.
Glossary
FHIR Bundle

What is a FHIR Bundle?
A FHIR Bundle is a container resource that groups multiple FHIR resources into a single coherent unit for transmission, persistence, or transactional processing.
Bundles are categorized by a type attribute that dictates the server's processing behavior, including transaction for atomic commits, batch for independent operations, and document for signed, persistent clinical records. By leveraging a FHIR Bundle, systems ensure that a collection of resources is parsed, validated, and persisted as a cohesive set, maintaining referential integrity and simplifying complex data exchange workflows.
Core Bundle Types and Their Purposes
A FHIR Bundle is a container that groups multiple resources into a single unit. The type attribute dictates how the server must process the collection, defining the atomicity, persistence, and interaction semantics.
FHIR Bundle Types: A Comparison
A comparative analysis of the five primary FHIR Bundle types, detailing their distinct processing semantics, atomicity guarantees, and intended use cases for interoperability architects.
| Feature | Document | Message | Transaction | Batch | Collection |
|---|---|---|---|---|---|
Primary Use Case | Persistent clinical record (e.g., CDA replacement) | Event-driven system communication | Atomic server-side processing | Independent multi-operation submission | Arbitrary resource grouping |
Atomicity Guarantee | N/A (static artifact) | N/A (fire-and-forget) | All-or-nothing rollback | None (independent) | None (no processing) |
Server Processing | None | None | Full transactional processing | Individual processing | None |
Strict Resource Ordering | |||||
Conditional References Allowed | |||||
Self-Contained Payload | |||||
Typical HTTP Method | POST (persist) | POST (notify) | POST | POST | N/A |
Response Required |
Frequently Asked Questions
A FHIR Bundle is a fundamental container resource that groups multiple FHIR resources together for transmission, persistence, or transactional processing. Explore the most common questions about how bundles function as the atomic unit of data exchange in healthcare interoperability.
A FHIR Bundle is a container resource that assembles a collection of FHIR resources into a single coherent unit for transmission, persistence, or processing. It acts as an envelope, wrapping resources like Patient, Observation, and MedicationRequest together with a Bundle.type attribute that defines how the server must process the contents. The bundle includes a Bundle.entry array where each entry holds a resource and a request or response object detailing the HTTP verb and URL for RESTful operations. This mechanism enables atomic transactions, batch processing, document composition, and search result sets, making it the primary transport format for FHIR APIs.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Master the core components that interact with FHIR Bundles to enable transactional integrity, document persistence, and bulk data operations.
FHIR Transaction Bundle
A specific type of Bundle where the bundle.type is set to transaction. The server processes all entries atomically as a single unit of work. If any interaction fails, the entire set is rolled back.
- Atomicity: All-or-nothing execution
- Dependency Management: Uses
Bundle.entry.request.ifNoneExistfor conditional creates - Round-Trip Reduction: Replaces multiple REST calls with one POST
FHIR Document
A persistent, signed composition where the bundle.type is document. It packages a Composition resource as the first entry, followed by all referenced clinical resources.
- Persistence: Designed for long-term storage and exchange
- Integrity: Supports digital signatures via
Bundle.signature - Human Readability: The Composition resource provides narrative text
FHIR Bulk Data Access
An asynchronous export specification that generates large datasets of flat, NDJSON files. The server creates a Bundle of type batch-response containing URLs to download the generated files.
- Async Pattern: Kick-off request returns a status URL immediately
- Output Format: NDJSON, not standard JSON Bundles
- Use Case: Population health analytics and machine learning pipelines
FHIR OperationOutcome
The standard response resource for conveying detailed success or failure information. When a Transaction Bundle fails, the server returns an OperationOutcome with issue entries detailing each error.
- Issue Severity: fatal, error, warning, information
- Diagnostics: Human-readable error descriptions
- Location: Pinpoints the exact path in the request that caused the failure
FHIR Subscription
A real-time notification mechanism. When data changes on a server, a Subscription triggers a notification. The payload delivered to the client is often a Bundle containing the changed resources.
- Event-Driven: Eliminates polling for data changes
- Channel Types: rest-hook, websocket, email
- Filtering: Define criteria using FHIRPath expressions
FHIR Provenance
A resource that establishes a chain of custody. When a Bundle is used to submit data, Provenance resources can be included to record the who, when, and why of the data's origin.
- Agent Tracking: Records the actors involved
- Signature: Can include a digital signature for non-repudiation
- Entity Relationship: Links to the specific resource version created

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us