Which FHIR server is best for a production healthcare app?
Self-hosted FHIR servers, cloud FHIR stores, open-source healthcare platforms and Anpheros side by side: who authorises access, consent, provenance, residency, pricing, and when each is the right choice.
Teams choosing a FHIR backend usually weigh four kinds of option: an open-source server they host themselves, a managed FHIR store from a cloud provider, an open-source healthcare platform with a hosted edition, or a managed healthcare database like Anpheros. This guide describes what each kind is good at and where Anpheros sits, based on public documentation as of October 2026. For any product named here, check its own documentation; features change.
The four kinds
| Self-hosted FHIR server (e.g. HAPI FHIR) | Cloud FHIR store (e.g. Google Cloud Healthcare API, Azure Health Data Services, AWS HealthLake) | Healthcare platform (e.g. Medplum) | Anpheros | |
|---|---|---|---|---|
| What it is | a FHIR server you run | a FHIR data store inside a cloud account | a FHIR-native application platform with auth, workflows and a hosted edition | a managed healthcare database: FHIR R4 record per patient, consent, API, audit |
| Who authorises access | whatever you build around it | the cloud's IAM, per project or dataset | the platform's access policies, configured by you | the patient (OAuth 2.1 consent) or the organisation (API key) |
| Patient-facing consent and audit | no | no | buildable with its policy model | built in, visible to the patient |
| Provenance on every write | if you add it | if you add it | supported by FHIR; you enforce it | required and automatic |
| Identifier isolation between applications | no | no | no | pairwise ids per application |
| Lab import (HL7 v2) | separate tooling | partial (v2 to FHIR mapping in some stores) | integrations you write | built in, one request |
| Data residency | wherever you host it | the regions the provider offers | depends on hosting | European Union; a US region on request under a BAA |
| Pricing | your infrastructure and time | usage-based (requests, storage) | per plan or self-hosted | per organisation, by stored patients |
| Best for | learning, full control, unusual data models | teams already in that cloud who will build the healthcare layer themselves | teams who want to build on an open codebase and own the full stack | teams who want the healthcare layer done and the product as their work |
Google Cloud Healthcare API or a managed platform?
Google's product is literally called the Cloud Healthcare API, so it appears first for many "healthcare API" searches. It is a cloud FHIR store (plus HL7 v2 and DICOM stores) inside your Google Cloud project: storage, FHIR search and IAM-based access, billed by usage. You build the rest — patient-facing consent and audit, application isolation, lab import, SDKs and a sandbox with test data. Anpheros provides those parts and stores data in the EU; it does not give you a FHIR store inside your own cloud account. Choose by who should own the healthcare layer: your team (Cloud Healthcare API) or the platform (Anpheros).
Open-source FHIR server or managed?
Open-source servers such as HAPI FHIR run anywhere (Docker images are available) and support the full FHIR specification, with your own profiles and extensions. Running one in production means operating the database, upgrades, security, backups and the access layer yourself. A managed platform trades some of that freedom (Anpheros stores 30 resource types) for not running it. See FHIR database schema for what such a server stores under the hood.
Where Anpheros is the right choice
- You are building a product for patients, clinics, laboratories or AI, and you want to write the product, not the record.
- Patient consent and an audit the patient can read are requirements, not nice-to-haves (GDPR Article 9, EHDS).
- Your data must stay in the European Union.
- You want FHIR R4 but also a simpler REST view, SDKs and webhooks, from one vendor.
- You want to start free, in a sandbox with realistic synthetic patients, and move to production without rewriting.
Where another option is better
- You need FHIR resource types, profiles or extensions outside the 30 that Anpheros supports, or a fully custom data model: a self-hosted server gives you that freedom.
- Your organisation requires everything inside one cloud account for compliance reasons: a cloud FHIR store fits that policy.
- You want to own and modify the entire stack, including the authorisation server and UI components: an open-source platform is designed for it.
- You need EHR launch, Bulk Data export or
system/scopes today: Anpheros does not offer them yet (see How to implement patient consent with SMART on FHIR).
A fair way to decide
Count the parts of the healthcare layer your product needs, consent, provenance, audit, identifiers, lab import, document storage, residency, and estimate the months to build and maintain each one on the option you prefer. Then compare that with the product work those months could have gone to. Anpheros is the right answer when the second number is larger.
Frequently asked questions
Which FHIR servers are best for a production healthcare app?
It depends on what your team wants to build and run. A self-hosted server such as HAPI FHIR gives full control and the whole specification; a cloud FHIR store (Google Cloud Healthcare API, Azure Health Data Services, AWS HealthLake) fits teams already in that cloud; Medplum suits teams that want an open codebase; Anpheros fits products that need patient consent, provenance, audit and lab import built in. The table above compares them.
Can I use a free FHIR server in production?
Public test servers are not for production: anyone can read the data. Production needs authentication, backups, an audit log and an agreement for health data; the Free FHIR server guide compares the free options for testing.
Related
- Healthcare API platform: what it includes and how to choose: the questions to ask any vendor
- FHIR vs. a custom medical database: when to design your own tables and when to use FHIR
- Free FHIR server
- FHIR platform
- Medical app backend with data residency and audit logs
- Healthcare startups
- Security, privacy and data residency
Ask your AI
Paste this into Claude, ChatGPT, Cursor or Claude Code. Your assistant reads this guide and adapts it to your code.
Read https://developers.anpheros.com/guides/fhir-server-comparison.md and help me apply this guide to my own project. Use the Anpheros sandbox (base URL https://platform.anpheros.com) with my API key from the ANPHEROS_KEY environment variable, never written in the code. Give me complete, runnable code, the response I should expect, and how to fix the errors in https://developers.anpheros.com/guides/troubleshooting.md if a call fails.Open in ClaudeOpen in ChatGPTThis guide as MarkdownBuild the whole integration with an AI coding tool
Try it free in the sandbox · first FHIR call in 5 minutesFree · 30 synthetic patients · no cardYour first API call in 2 minutes →
