← All integrations

Data & Storage · Integration

Embed a PatientSource integration in your product

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

Embed a PatientSource integration so your product can work with the records a hospital or clinic already keeps in their own system rather than asking them to copy data somewhere else. PatientSource is a modular electronic patient record built to sit alongside the systems a site already runs, so what any given deployment exposes depends on which modules that site has configured. Field and record mapping is therefore configuration per customer rather than code, and every deployment is treated as its own account. Health data carries stricter access rules than most systems, so each customer connects their own deployment, access is limited to the fields you map, credentials are encrypted and every read and write is logged. fastn owns the credential handling, retries and pagination, and monitors the integration, proposing a fix for your review when PatientSource changes its API, and the same governed connection is what your AI agents use.

In your product

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

  • Let each customer connect their own PatientSource deployment so your product reads and writes their records with no per-customer code.
  • Read only the fields you have mapped, so your product exposes what it genuinely needs rather than a whole record.
  • Write output your product generates back into the customer's own system so staff are not working from a second copy.
  • Support deployments that differ module by module as per-customer configuration rather than a branch in your code.

For your AI agents

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

  • An agent retrieves a specific record within scoped permissions, with every read logged and attributable.
  • An agent files a document your workflow produced back into the customer's own deployment, with the write attributed.
  • An agent answers an administrative question from that customer's own records rather than a stale export.

Example prompt

Find the records updated in the last 24 hours and list the ones still missing required information.

Set up PatientSource in 4 steps

  1. 01Enable the PatientSource connector in your fastn dashboard.
  2. 02Have each customer connect their own deployment with credentials scoped to the records you use.
  3. 03Map the records and fields your product needs, and only those, per customer.
  4. 04Call it from your product and expose the same connection to your agents through the MCP gateway.

Why teams use the PatientSource integration

  • Ship a PatientSource integration without building it. Your customers connect their own PatientSource account inside your product and work their records, datasets and fields there, 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 PatientSource changes, its maintainer agent proposes a tested fix, so a PatientSource update does not start in your backlog.

Used by these teams

PatientSource integration FAQ

Can AI agents use this PatientSource integration?

Yes, through the fastn MCP gateway, scoped per customer and audited. An agent retrieves a specific record within scoped permissions, with every read logged and attributable. For example: "Find the records updated in the last 24 hours and list the ones still missing required information."

Does the PatientSource 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 PatientSource 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 PatientSource integration?

A common starting point: let each customer connect their own PatientSource deployment so your product reads and writes their records with no per-customer code. The use cases above list the rest.

Add PatientSource to your product

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