← All integrations

Data & Storage · Integration

Embed an FHIR integration in your product

Add FHIR to your product for your customers, and give your AI agents governed access to it.

Embed a FHIR integration so your customers can connect their own FHIR server or FHIR-enabled system and work resources such as patients, encounters, observations, conditions, and medications from inside your product. Implementations differ in which resources and profiles they expose, so resource and field mapping is configuration per customer rather than code, and access is scoped per customer with every call logged. fastn handles per-customer authorization and monitors the integration, proposing a fix for your review when FHIR changes its API, so onboarding another endpoint does not become a release for you.

In your product

Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.

  • Let each customer connect their own FHIR endpoint so clinical records are available in your product without a bespoke build.
  • Read patient, encounter, and observation resources per customer so your product works from the source of truth.
  • Write resources back where the connected system allows it, so a change in your product is not re-keyed.
  • Read the capability statement at runtime so your product adapts to what each implementation actually supports.

For your AI agents

Governed, audited access for the agents you build, through the MCP server.

  • An agent reads a patient's resources in context before answering a clinician's question, within scoped permissions.
  • An agent summarizes recent observations for review, with every read logged and attributable.
  • An agent pulls newly available resources on a schedule and flags what needs attention.

Example prompt

Read this patient's observations from the last month and list the results outside the reference range.

Set up FHIR in 4 steps

  1. 01Open the FHIR connector from your fastn dashboard.
  2. 02Have each customer authorize access to their own FHIR endpoint with least-privilege scopes.
  3. 03Map the resources, profiles, and fields your product uses, then enable actions and triggers.
  4. 04Call them from your product, or expose them to an agent through the MCP server.

Why teams use the FHIR integration

  • Ship an FHIR integration without building it. Your customers point it at their own endpoint and credentials and work their records, datasets and fields through it, and nothing lands on your team.
  • Handle the part that actually costs time: schemas differ per customer and change without notice, and volumes can be large. fastn handles the auth, token refresh, rate limits and pagination, and when FHIR changes, its maintainer agent proposes a tested fix, so an FHIR update does not start in your backlog.

Used by these teams

FHIR integration FAQ

How is an FHIR integration configured per customer?

FHIR is a specification rather than a service you sign up for, so there is no FHIR account. Each customer supplies their own endpoint and credentials, and that integration is scoped to them, so they only ever reach their own records, datasets and fields.

Can AI agents use this FHIR integration?

Yes, through the fastn MCP gateway, scoped per customer and audited. An agent reads a patient's resources in context before answering a clinician's question, within scoped permissions. For example: "Read this patient's observations from the last month and list the results outside the reference range."

Does the FHIR integration adapt when a customer's schema changes?

Schema and field mapping is configuration per customer, so a change on their side is a mapping update rather than a code change and a release on yours.

How are large FHIR reads handled?

Pagination and throttling are handled for you, and initial backfills are rate-limited so a large import does not exhaust a customer's API allowance.

What can I build with the FHIR integration?

A common starting point: let each customer connect their own FHIR endpoint so clinical records are available in your product without a bespoke build. The use cases above list the rest.

Add FHIR to your product

Start free with 3 customer connections. No sales call required, and no per-customer integration code.