AnpherosAnpheros PlatformDevelopers

Anpheros Platform

One global health record network for clinics, hospitals and developers

Patient-controlled records that follow people across borders. Built on open standards: FHIR R4, IPS, SMART Health Links.

Try it freeConnect your clinicFree sandbox · no card

Healthcare integrations

Integration patterns supported today: lab reports in one call, clinics writing on behalf of an organisation, devices, consented third-party apps, webhooks and SDKs — and what is not available.

A healthcare integration connects a system that produces or needs health data — a laboratory, a clinic, a device, another application — to the patient's record. With Anpheros every integration goes through the same API and the same rules: data is written as HL7 FHIR R4, attributed to its source, visible to the patient, and shared with other parties only under the patient's consent. This page describes the integration patterns the platform supports today.

Explore the Anpheros integration directory to see each integration with its verified status (available, beta or developer guide), the data and FHIR resources it exchanges, its direction, authentication and documentation.

Laboratories: whole reports in one call

A laboratory, or any system that holds lab reports, sends a complete report and the platform turns every result into a laboratory Observation:

curl -X POST https://platform.anpheros.com/v1/patients/$PID/labs/import \
     -H "Authorization: Bearer $KEY" -H "Content-Type: text/csv" \
     -H "X-Anpheros-Source-System: labx" -H "Idempotency-Key: report-2026-0917-77" \
     --data-binary @report.csv

Details: Lab connector.

Clinics: writing on behalf of an organisation

Clinics and the people who work there are directory resources (Organization, Practitioner, PractitionerRole). A clinic's system can then say who is behind each request:

With the patient's consent the clinic reads the whole record, including what other organisations wrote, and changes only what it wrote itself. Several resources can be written atomically with a FHIR transaction bundle (POST /fhir/R4).

A worked example, from the directory to a visit written as one transaction: How to integrate clinic systems with a FHIR backend.

The flow consent → lab Observation written by a clinic project → notification in the patient's app has been exercised end-to-end with a test clinic project.

Devices and wearables

Measurements from devices are Observations with author_type: "device" and a LOINC code — heart rate, blood pressure, SpO₂, weight, glucose, steps, sleep duration and others (FHIR code systems). Anpheros Daily writes the daily summaries it reads from Apple Health and Health Connect as Observations in the same way. Anpheros does not connect directly to device vendors' clouds; your application or backend reads the device and writes the result. How to read Apple Health, Health Connect and Samsung Health and map each metric to LOINC: Wearable data in FHIR.

Third-party applications: consented access

An application that wants data a person already keeps in Anpheros registers once and asks for consent through OAuth 2.1 with PKCE (SMART on FHIR standalone launch):

  1. GET /oauth/authorize?...&scope=patient/Observation.rs?category=laboratory offline_access — the hosted consent page;
  2. the person chooses the record and the duration (30, 90, 180 or 365 days);
  3. POST /oauth/token exchanges the code for an access token (30 minutes) and a rotating refresh token (30 days);
  4. the application sees only that patient, only within its scopes, under its own pairwise id.

Authentication and OAuth

Events: reacting to changes

Instead of polling, register a webhook. Deliveries are signed with HMAC-SHA256, retried with backoff for up to 24 hours and carry ids, never clinical content. When another project writes into a record you have access to, the event says so (data.external: true, with the source). Webhooks

SDKs

The TypeScript (@anpheros/sdk) and Dart / Flutter (anpheros_sdk) SDKs implement all of the above — lab import (labs.importCsv, labs.importHl7, labs.importItems), OAuth with PKCE, webhooks management and signature verification. SDKs

What is not available

Related

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/healthcare-integrations.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.

Try it free in the sandbox · first FHIR call in 5 minutesFree · 30 synthetic patients · no cardYour first API call in 2 minutes →

Product updates by email

New features, guides and the end of the beta. One email a month at most.

Send me occasional Anpheros Platform updates by email (new features, API changes, guides). I'll confirm by email and can unsubscribe in one click from any email. Privacy