FHIR platform: managed FHIR R4 with patient consent
A managed FHIR R4 platform: 30 resource types, search, history, transactions, $everything, IPS, Inferno-tested SMART launch, consent and provenance, plus a simple REST API. Free sandbox.
Anpheros is a FHIR platform — a managed FHIR database (data store) that applications use as their FHIR backend: it stores every patient record natively as HL7 FHIR R4 (4.0.1) resources and exposes them at https://platform.anpheros.com/fhir/R4, with consent, provenance and an audit added on top of the standard. Applications that already speak FHIR can use it directly; applications that do not can use the simpler REST API (/v1), which reads and writes the same resources with the same ids.
For AI applications this makes Anpheros the FHIR backend a model's context comes from: see LLM applications and healthcare data.

What is HL7 FHIR?
FHIR (Fast Healthcare Interoperability Resources) is the HL7 standard for exchanging health data over the web. It defines:
- resources — small, typed JSON (or XML) documents for each clinical concept: a
Patient, anObservation, aCondition, aMedicationStatement; - references between them (
"subject": {"reference": "Patient/123"}), so a record is a graph of resources around a patient; - a REST API for reading, searching, creating, updating and deleting resources, with standard search parameters;
- bundles for sending several resources at once (transactions) or as a document (such as a patient summary);
- terminology bindings, so values carry codes from systems such as LOINC or ICD-10;
- profiles — constraints for a use case or a country, such as the International Patient Summary.
R4 (version 4.0.1) is the release most widely implemented today. Using FHIR as the storage model — not only as an export format — means there is no translation layer between what an application writes and what another FHIR system reads.
{
"resourceType": "Observation",
"status": "final",
"category": [{"coding": [{"system": "http://terminology.hl7.org/CodeSystem/observation-category", "code": "laboratory"}]}],
"code": {"coding": [{"system": "http://loinc.org", "code": "4548-4", "display": "Hemoglobin A1c"}]},
"subject": {"reference": "Patient/…"},
"effectiveDateTime": "2026-09-01T08:00:00Z",
"valueQuantity": {"value": 6.4, "unit": "%", "system": "http://unitsofmeasure.org", "code": "%"}
}
Capability statement
GET /fhir/R4/metadata returns the CapabilityStatement: the supported resource types, their search parameters and the operations. It is public and is the authoritative list; the table below reflects it on 28 September 2026.
The 30 resource types
Patientone record per personObservationDiagnosticReport
ConditionEpisodeOfCareProcedureCarePlanGoalServiceRequestCareTeamFamilyMemberHistory
MedicationStatementMedicationAdministrationImmunizationAllergyIntolerance
DocumentReferenceQuestionnaireResponse
EncounterAppointment
OrganizationPractitionerPractitionerRole
ConsentProvenance
RelatedPersonBasic
Every patient-scoped type belongs to the patient compartment, so Patient/{id}/$everything, patient-level OAuth scopes and consent filters apply to all of them. Directory resources (Organization, Practitioner, PractitionerRole) have no patient; they are readable across projects in the same environment and changeable only by the project that created them.
Interactions and operations
- CRUD + searchEvery type; unknown search parameters refused with 400
- History_history for every version; If-Match for safe updates
- TransactionsBundles of type transaction or batch
- $everythingThe whole compartment of one patient
- $summaryAn International Patient Summary document
- Read, search, create, update, delete on every supported type; search parameters per type are listed in the CapabilityStatement. Unknown search parameters are refused with
400rather than silently ignored. - History:
GET /fhir/R4/{type}/{id}/_historyreturns every version; updates can be made conditional withIf-Match(a version mismatch answers412). - Transactions and batches:
POST /fhir/R4with aBundleof typetransactionorbatch. Patient/{id}/$everything: the whole compartment of one patient.Patient/{id}/$summary: an International Patient Summary (IPS) documentBundle, in English or Romanian (?lang=).Observation/$validate?profile=eu-lab: reports how a lab result measures up to the HL7 Europe laboratory report rules.- Paging:
_countup to 200;_revincludereturns at most 1 000 resources. - Idempotency:
POSTrequests accept anIdempotency-Key; repeating a request with the same key returns the same answer and creates nothing.
# latest HbA1c results of one patient, strict FHIR
curl "https://platform.anpheros.com/fhir/R4/Observation?patient=$PID&code=http://loinc.org|4548-4&_sort=-date" \
-H "Authorization: Bearer $KEY"
# the patient's International Patient Summary
curl "https://platform.anpheros.com/fhir/R4/Patient/$PID/\$summary?lang=en" -H "Authorization: Bearer $KEY"
FHIR and the simpler REST API
/v1 exists for developers who do not want to work with FHIR resources directly. It covers patients, observations, conditions, medications, documents, a chronological timeline and provenance, plus the platform features (context, lab import, webhooks, terminology). Every /v1 object carries its fhir reference, so an application can start with /v1 and switch to FHIR for the parts where it needs the full model.
Standards around FHIR
$summary produces an International Patient Summary validated with the official HL7 validator (0 errors); lab results are checked against the HL7 Europe laboratory rules (advisory today); third-party apps connect through SMART on FHIR standalone launch; HL7 v2 ORU^R01 lab messages are accepted as input. The formats, levels and exchange patterns are described in Healthcare data interoperability; the code systems per resource type in FHIR code systems.
Frequently asked questions
What is a FHIR platform?
A service that stores health data as HL7 FHIR resources and exposes them through the standard FHIR REST API, adding what applications need around the standard: authorisation, consent, audit, history and operations such as $everything and $summary. Anpheros is a managed FHIR R4 platform: you call it instead of running a FHIR server.
What is the difference between a FHIR server and a FHIR platform?
A FHIR server implements the FHIR API over a database. A FHIR platform runs it for you and adds the layer around it — patient consent, provenance, access logs, SDKs, webhooks, lab import and a sandbox — so applications do not have to build those parts.
Which FHIR version does Anpheros support?
FHIR R4 (4.0.1), with 30 resource types listed in the public CapabilityStatement at /fhir/R4/metadata.
Is the Anpheros FHIR platform tested independently?
The SMART App Launch STU2 "Standalone Launch" group of the open-source Inferno test kit passes 22 of 22 tests (run of 28 September 2026), and the International Patient Summary validates with 0 errors in the official HL7 validator. EHR launch and Bulk Data export are not supported yet.
Can I use the FHIR platform for free?
Yes. The sandbox is free and includes 30 synthetic patients per project; production starts at €99 a month with the first month free.
Do I have to use FHIR to use Anpheros?
No. A simpler REST API (/v1) reads and writes the same resources with the same ids, so an application can start with flat JSON and switch to FHIR where it needs the full model.
Related
- FHIR sandbox: a free private FHIR R4 test server
- International Patient Summary (IPS) in FHIR
- Medical data provenance explained: who wrote what, and how to record it
- How to store medical records using FHIR R4: step-by-step tutorial with curl
- FHIR vs. a custom medical database: when to design your own tables and when to use FHIR
- Free FHIR server
- Which FHIR server is best for a production healthcare app?
- Healthcare data interoperability
- FHIR code systems
- Medical data API
- Build a healthcare app
- API reference (OpenAPI)
- DICOM vs FHIR: where FHIR stops and medical imaging starts
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.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 →
