//
Medplum vs Aidbox vs HAPI FHIR: How to Pick a FHIR Server

Most shortlists include Medplum, Aidbox, and HAPI FHIR. They may be presented as interchangeable, but they are not. A side-by-side list of their key features often ignores who runs the server, what the license allows, and how hard it is to leave.

In our new article, we сover server types, a three-way comparison, the questions that settle the choice, which option fits which product, and what implementation involves.

Key Takeaways

  • Medplum is a FHIR-native platform, Aidbox a commercial server, and HAPI FHIR an open source Java toolkit.
  • The choice depends on who runs the server, in-house build work, PHI (Protected Health Information) rules, long-term cost, and exit options.
  • Medplum fits TypeScript projects, Aidbox buyers wanting vendor support, and HAPI FHIR Java engineers who run their own servers.
  • Total cost is the license fee plus engineering time to build and run what the server lacks.

What Is a FHIR Server, and What Does It Do in a Product?

A FHIR (Fast Healthcare Interoperability Resources) server is the backend that manages a product's health data and shares it with apps, EHRs, and labs through a standard API. Patient details, lab results, and appointments take the form of FHIR resources, so connected systems exchange data with far less custom translation.

FHIR server architecture in a product

A typical FHIR server architecture has a simple core:

Apps and integrations ↔ FHIR server (REST API) ↔ Database

Most clinical products need more than this core: identity and access, audit logging, terminology, and event subscriptions. For identity and access, outside tools often authorize through SMART on FHIR, an OAuth 2.0-based standard that grants external applications scoped permissions. Some servers include these services out of the box, while others leave them for engineers to build.

FHIR server vs FHIR facade vs FHIR-native store

Any system that answers requests through the FHIR API counts as a FHIR server. FHIR servers differ in where they store data, which leads to two designs.

A FHIR-native store keeps data as FHIR resources, which serve as the source of truth. Medplum, Aidbox, and the HAPI FHIR JPA servers all work this way.

A FHIR facade puts a standard API over a system where data is stored in another model, often a legacy EHR (Electronic Health Record). Unlike a native store, it translates each request on the fly, so the facade is only as complete as its mapping.

Facades are common because many existing systems still exchange data in HL7 (Health Level Seven) v2. Mapping that format to FHIR takes real effort, as the differences between HL7 v2 and FHIR show.

Data from exchange networks confirms how widespread HL7 v2 still is. A federal ASTP/ONC survey reported by TechTarget found that 96% of health information exchanges receive HL7 v2 admission, discharge, and transfer messages, while few routinely use FHIR APIs.



Read also:

What Kinds of FHIR Server Software Are There?

The main types of FHIR server software are open source toolkits, open-core platforms, commercial solutions, managed cloud services, and facades. The type determines who runs the server and how much gets built around it.


Image

Toolkit, platform, or commercial server?

A toolkit gives developers libraries and a reference server, and the product layer is theirs to build. A platform adds capabilities most FHIR applications need early: access policies, UI components, and server-side automation. A commercial server comes from a vendor that maintains it and sells support.

Self-hosted, vendor-hosted, or managed cloud?

Hosting decides who gets paged at 2 a.m. when the database fills up. Self-hosting gives full control, but the company also takes on managing upgrades, backups, and incident response. Vendor-hosted and managed cloud options move that work to the provider, in exchange for fees and less control.


Weighing FHIR server options?

Medplum vs Aidbox vs HAPI FHIR: How Do They Compare?

Medplum, Aidbox, and HAPI FHIR differ most on license terms, hosting, and how much the buyer builds. TechMagic is an official Medplum partner, so to keep the comparison fair, every fact in the table comes from the vendors' own pages, checked in November 2026.

Image

Medplum FHIR server

The Medplum FHIR server sits inside a full-stack TypeScript platform. Most of the platform ships under the Apache 2.0 license, including SDKs and a React component library. Medplum Bots run server-side functions triggered by events or schedules. On hosted plans, production use for patient care and research starts at $2,000 a month. Self-hosting the open-source code removes plan fees, but the company then runs operations, monitoring, and on-call duty itself.


Read also:

Aidbox FHIR server

Aidbox is a commercial FHIR server from Health Samurai. Its free development license covers testing and demos, but it prohibits PHI. A production license is tied to a dataset, not to a running process. Replicas and disaster recovery on the same database fall under one license, so a scalable setup carries no extra fee. Each separate dataset needs its own license, priced on request. The trade-off is a contract to negotiate and a dependency on one vendor.

HAPI FHIR server

HAPI FHIR is an open source implementation of the FHIR standard in Java under Apache 2.0. Its JPA (Java Persistence API) server starter runs out of the box on an embedded H2 database, which can be swapped for PostgreSQL. The starter documentation states that the service "comes with no security implementation" and no enterprise logging. HAPI FHIR costs nothing to license, but it leaves the most engineering work with the buyer.


How to Choose a FHIR Server: Which Questions Decide It?

The answer to how to choose FHIR server software depends on who runs it, who builds the app layer, what the license allows with PHI, what it costs over time, and how hard it is to leave.


Image

Who runs it, and who is on call?

On Medplum's hosted plans and Aidbox SaaS, the vendor operates the infrastructure. Self-hosted Medplum, self-managed Aidbox, and HAPI FHIR put upgrades and incident response on in-house engineers. Without DevOps capacity, self-hosting becomes a hiring decision.

That responsibility includes security. Healthcare breaches cost an average of $7.42 million in 2025, more than in any other industry, according to IBM research reported by TechTarget.


Image

How much of the app layer gets built in-house?

Most healthcare products need authentication, access policies, forms, automation, and UI. Medplum ships access policies, Bots, and React components. Aidbox includes OAuth 2.0, SMART on FHIR, and granular access control. HAPI FHIR offers security building blocks and leaves the rest to developers. Each bundled piece saves build time and ties the product closer to that server.

What does the license allow with PHI?

Aidbox's development license excludes PHI, so every dataset with patient records needs a paid production contract. Medplum and HAPI FHIR code ships under Apache 2.0, which has no clause limiting use with PHI.

For hosted options, the critical question is whether the vendor signs a BAA (Business Associate Agreement) under HIPAA (Health Insurance Portability and Accountability Act). The next is what uptime its SLA (service level agreement) guarantees.

What does it cost over three years?

The license or plan fee is one line in a three-year frame:

  • License or plan. Fees run for three years, unless the open source code is self-hosted.
  • Build. Engineers add the authentication, audit, and UI the server lacks.
  • Run. Self-hosting adds upgrades, monitoring, and on-call duty.
  • Support. A vendor contract adds its own fee, where one exists.

API projects get expensive fast. In a 2025 Workgroup for Electronic Data Interchange survey reported by TechTarget, 35% of payers estimated $1-5 million for the API components of the CMS (Centers for Medicare & Medicaid Services) interoperability and prior authorization rule.

How hard is it to leave?

Hospitals show how rarely healthcare platforms change. By 2024, just three EHR vendors supplied four in five hospitals in the USA, according to an ONC data brief reported by TechTarget.

Leaving is manageable when the product relies on standard FHIR resources and APIs, and costly when it depends on custom extensions. Even conformant servers differ, because the FHIR specification lets each one choose which interactions it supports.

Before signing, ask whether the vendor supports FHIR bulk export of large datasets and how resource history leaves with the data. Medplum and HAPI FHIR code can be self-hosted as a fallback, while Aidbox export and exit terms are worth settling in the contract.


Which FHIR Server Fits Which Product?

Medplum suits TypeScript product builds, Aidbox fits buyers who want a commercial vendor, and HAPI FHIR serves Java engineers ready to run their own stack.

When Medplum fits

  • The goal is a cost-efficient build, with access policies, Bots, and React components already part of the platform.
  • The company wants low exit risk: the same Apache 2.0 code runs on Medplum hosting today and on its own infrastructure later.
  • The engineering group works in TypeScript and React.
  • Engineering time should go to clinical workflows and patient experience instead of backend basics.

Custom EHR development projects can also use Medplum as the clinical data foundation instead of creating one. A Java-first stack is better served by HAPI FHIR.

Learn more about

When Aidbox fits

  • The buyer wants paid support tiers with direct access to vendor engineers.
  • High availability and disaster recovery on a single dataset should stay under one license.
  • A vendor-run deployment inside the buyer's cloud suits the operating model.

Medplum or HAPI FHIR fits better when the roadmap calls for open source code or published pricing.

When HAPI FHIR fits

  • The engineering group is strong in Java.
  • The company can run, secure, and scale the server itself.
  • The company values full control over every layer of the stack.
  • A small group with a tight launch date usually moves faster on a platform with access control built in.

When none of the three fits

A managed FHIR service fits organizations committed to one cloud provider. In Azure Health Data Services, Microsoft takes on operations, maintenance, and updates. A facade fits when an existing EHR stays the system of record and partners need a FHIR API for healthcare data exchange.


What Does FHIR Server Implementation Look Like in Practice?

A FHIR server implementation is mostly the work around the install: data mapping, identity and access, integrations, and operations. Below are the order of work, team shape, and stall points.

The first 90 days

Before committing to a server, test the two hardest requirements, such as an EHR integration and a role-based access rule, in a short proof of architecture.

Once the choice is made, a typical first quarter follows this order:

  1. Define the data model and map existing records to FHIR resources.
  2. Set up authentication and access policies per user role.
  3. Connect one real integration, such as a lab system.
  4. Deploy one end-to-end workflow to production-like infrastructure.

The team behind each option



Common stall points

  • Legacy mapping. Old records rarely fit FHIR resources cleanly, so validation and data integrity checks run long.
  • Access-policy design. Permissions left for later force rework once real user roles are defined.
  • Vendor integrations. Each EHR vendor sets its own approvals and rate limits, so a single estimate for all of them slips.
  • Operations. Self-hosted servers need upgrades and incident response that often go unbudgeted.

TechMagic's FHIR delivery experience

TechMagic has taken FHIR products live. One is a preventive care platform on Medplum and FHIR with physician tools for lab test ordering and appointments, plus a Health Gorilla integration for external records.

Another is an integration layer that connects one product to 10+ EMRs (Electronic Medical Records), including Epic, athenahealth, and NextGen. A shared FHIR R4 base class serves the FHIR-native systems, and an HL7 v2 builder covers file-based EMRs.

On a new build, our Medplum development team maps clinical workflows to FHIR resources first, then tests key user journeys in a Medplum sandbox with sample data and clickable prototypes.

Read also:

Final Thoughts

The right FHIR server is the one whose operating model, license terms, and exit cost match the company behind the product.

A takeaway for CTOs

Prototype the hardest requirements on each shortlisted server, and price three years of operations next to the license.

A takeaway for founders

Ask who is on call, whether the license allows PHI, and what leaving would cost. Those answers reveal the real cost of a server better than any feature list.

Predictions for the next two years

  • AI features will raise the bar for clean FHIR data. Health system executives in Deloitte's 2026 outlook expect generative and agentic AI to take 19% of their technology budgets. Products sold to those systems will need well-structured data underneath.
  • Audit trails and access policies will move up the selection list. Gartner expects that by 2027, 40% of enterprises will demote or decommission autonomous AI agents because of governance failures. Agents that touch patient data will need both controls built into the data layer.
  • Payer API deadlines will add integration pressure. Entities covered by the CMS interoperability and prior authorization rule must implement its API requirements by January 1, 2027. Products that exchange data with payers will feel it first.
Comparing FHIR servers for a launch?
CTA image

FAQ

faq-cover
What is a FHIR server?

A FHIR server is software that serves health data through a standard RESTful API defined by FHIR (Fast Healthcare Interoperability Resources). Clients use common HTTP methods such as GET, POST, PUT, and DELETE, plus standardized search parameters, so apps and partners share records in FHIR format.

Can a FHIR server send real-time updates?

FHIR defines Subscriptions, a mechanism that notifies an app when matching resources change, for example when a new lab result arrives. Medplum and Aidbox both support subscriptions, while delivery options vary by server.

Is Medplum a FHIR server, and is it open source?

Medplum is a developer platform built around a FHIR server, and most of it is open source under the Apache 2.0 license. Medplum's hosted production plans are paid, and a free tier covers prototyping. Self-hosting the open source code carries no subscription fee.

Is Aidbox open source, and can I use the free license with PHI?

Aidbox is sold by Health Samurai under a commercial license, and its editions page does not describe it as open source. The free Aidbox development license prohibits loading PHI (Protected Health Information).

Is HAPI FHIR enough for production, or do I have to build around it?

HAPI FHIR provides a working FHIR server with resource validation and terminology tools, but production use requires building around it. The HAPI FHIR JPA (Java Persistence API) server starter ships without security or enterprise logging, so its operators add access control, audit, and scaling.

How much does a FHIR server cost to run?

FHIR server cost combines license or plan fees with engineering and DevOps time. Medplum's hosted Production plan starts at $2,000 a month, Aidbox quotes commercial pricing on request, and HAPI FHIR has no license fee.

Does a FHIR server make my product HIPAA compliant?

No FHIR server makes a product HIPAA (Health Insurance Portability and Accountability Act) compliant on its own. A server can help a product get HIPAA-ready through access control and audit logging, while compliance also depends on policies and a BAA (Business Associate Agreement) with each vendor handling PHI (Protected Health Information).

Can I switch FHIR servers later without rebuilding my product?

Switching FHIR servers is possible without a full rebuild when the product relies on standard FHIR resources and APIs. Each custom extension adds migration work, so the time to plan an exit is before go-live.

How does TechMagic work with Medplum?

TechMagic, an official Medplum partner, builds FHIR products for companies in the healthcare industry. On a new build, TechMagic maps clinical workflows to FHIR resources, then tests key user journeys in a Medplum sandbox with sample data and clickable prototypes.

Subscribe to our blog

Get the inside scoop on industry news, product updates, and emerging trends, empowering you to make more informed decisions and stay ahead of the curve.

Let’s turn ideas into action

Ross Kurhanskyi
Ross Kurhanskyi

VP of business development

linkedin-icon

Trusted by:

logo
logo
logo
logo