For developers
Records from many hospitals, one authorization.
To get a patient's records from multiple hospitals without a separate integration for each, use Flexpa's TEFCA Individual Access Services connection. The patient verifies their identity once at IAL2, and Flexpa finds and retrieves clinical documents from matching facilities that respond over document exchange; it has matched patients at 88,000+ facilities in production. Matching facilities that respond over a supported FHIR API ask the patient to sign in. Add the patient's health plan for claims across every provider the plan paid, and individual EHR portals for facilities outside TEFCA. Everything comes back through one FHIR R4 API.
Updated 2026-11-22
How it works
- One IAL2 verification
- TEFCA searchKno2 and CommonWell
- Matching facilities
- FHIR R4 API
Three routes, one API
| Route | What it covers | Authorization |
|---|---|---|
| TEFCA Individual Access Services | Clinical documents from matching facilities nationwide | One IAL2 verification, plus a sign-in for facilities that answer over a FHIR API |
| Health plan Patient Access APIs (CMS-9115-F) | Claims across every provider the plan paid | One plan sign-in |
| EHR patient portals (ONC (g)(10)) | Structured US Core records from a specific facility | Generally one portal sign-in per facility; an Epic MyChart Central sign-in can cover linked Epic organizations |
How the TEFCA route works
- Add flexpa_ial2_mode=true to the authorization request. The patient verifies with CLEAR, ID.me or Persona.
- Flexpa queries TEFCA through its QHINs, Kno2 and CommonWell, using the verified demographics.
- C-CDA documents from matching facilities come back wrapped as FHIR DocumentReference resources.
- Facilities that answer over a supported FHIR API instead ask the patient to sign in, and each becomes its own authorization on the same consent.
Good to know
- Flexpa is a request-only IAS provider: patients retrieve their own records, and Flexpa does not share them out to other TEFCA participants.
- Use the PatientAuthorizationId and AuthorizationType tags in meta.tag to attribute data to its connection.
- TEFCA has no guardian or proxy path for a child’s records.
Questions
Is there an API to get a patient's medical records from multiple hospitals at once?
Yes. Flexpa's TEFCA Individual Access Services connection lets a patient verify their identity once at IAL2 and retrieves clinical documents from matching facilities that respond over document exchange, through one FHIR R4 API; Flexpa has matched patients at 88,000+ facilities in production. Facilities that respond over a supported FHIR API ask the patient to sign in. You can add the patient's health plan for claims across all providers the plan paid, and individual EHR portals for facilities outside TEFCA.
What format do the records come in?
TEFCA facilities return C-CDA documents, which Flexpa wraps as FHIR R4 DocumentReference resources. Health plan connections return claims and coverage as FHIR, and EHR portals return US Core resources.
Which QHINs does Flexpa use?
Kno2 and CommonWell.
Does the patient have to log in to each hospital?
Not for facilities reached through document exchange: one IAL2 verification covers them. Facilities that respond over a supported FHIR API ask the patient to sign in, and each becomes its own authorization on the same consent.
How do I turn this on?
TEFCA is live. Contact partnerships@flexpa.com to enable it for your application, then pass flexpa_ial2_mode=true in the authorization request.