# Changelog

Source: https://www.flexpa.com/docs/changelog
Description: Product updates to the Flexpa API, Flexpa Consent, the Portal and the Flexpa network, newest first.

## 2026-11-28

**[`directory.get_endpoint_details`](https://www.flexpa.com/docs/network/directory-tools#directoryget_endpoint_details) and the legacy `get_endpoint_details` tool now return observed FHIR resource types and completed sync counts for payer and provider endpoints.** The `observations` field covers the rolling six months before calculation and can be cached for up to seven days. Neither public tool returns patient sign-in percentages.

## 2026-11-26 🦃

**[`directory.get_endpoint_details`](https://www.flexpa.com/docs/network/directory-tools#directoryget_endpoint_details) now reports whether an endpoint's sign-in page is working, alongside its connection status.** A new `loginPage` field carries the latest daily check of the endpoint's SMART authorization page: whether it was available, the page classification, an error category such as `INVALID_CLIENT` or `REDIRECT_URI_MISMATCH`, the HTTP status, and `checkedAt`. Checks run once a day, so `checkedAt` can be up to about 24 hours old.

**[Endpoint Directory](https://www.flexpa.com/docs/network/directory) pages now show one daily uptime bar.** Each day shows a single verdict on the sign-in page, taken from a browser render when Flexpa needed one to classify the page and from the HTTP check otherwise.

## 2026-11-25

**A patient access token now manages exactly the SMART Health Links its own Consent created, and `POST /smart/health-links` accepts `user.consentId` so an application token can say which Consent a link belongs to.** Pass the Consent and that patient manages the link as if they had created it themselves; omit it and the link records no Consent and is managed by your application alone.

Until now a link that recorded no Consent, which is every link created with an application token or secret key, was also reachable by a patient access token whenever the external ID had exactly one Consent. That inferred who the external ID meant, and the inference is wrong where an application reuses an external ID across people: the link may predate the Consent and belong to whoever held the identifier first. Ownership is now recorded rather than guessed.

Nothing changes for recipients: redemption never consulted Consent, and the manifest and direct transfer endpoints are untouched. Your application keeps full access to every link through its own token.

## 2026-11-24

**[Application Access Tokens](https://www.flexpa.com/docs/records#application-access-token) are the credential for managing SMART Health Links, and secret keys on those endpoints are deprecated.** Creating, listing, revoking, reading the access trail of, and counting SHLs all take an application token in the `Authorization: Bearer` header. A [Patient Access Token](https://www.flexpa.com/docs/records#patient-access-token) is still accepted wherever you want user-scoped behavior, and the recipient-facing manifest and direct transfer endpoints still need no Flexpa credential: a recipient requests the manifest with the URL the link carries plus, when the link has one, a passcode sent in the request body, then decrypts the returned files with the link's encryption key.

Secret keys continue to work on these endpoints, so nothing breaks today and no migration is urgent. They are no longer documented there, and a future release will stop accepting them, announced here first. Swap the header for an application token from the [client credentials grant](https://www.flexpa.com/docs/consent#token) when it suits you; nothing else about the request changes.

## 2026-11-23

**FooMedical [Test Mode](https://www.flexpa.com/docs/test-mode) accounts now carry current claims.** Service dates are now stored as offsets and resolved at each refresh, so the newest claim in every account is about a week old. `patient1`, `patient2` and `patient3` also gained a current pharmacy and medical history, and the same pass corrected invalid provider NPIs, references to resources that were never created, and medication displays that disagreed with their own codes.

**Accounts refresh every quarter and their dates shift, so do not assert on a specific service date.** Assert on a window instead. Resource ids stay stable across refreshes, so a stored reference to a claim keeps resolving.

## 2026-11-19

**Application settings in the portal is now two pages: [Application settings](https://portal.flexpa.com/application-settings) and [Application UI/UX](https://portal.flexpa.com/application-ui-ux).** Application settings keeps the technical setup: redirect URLs, webhooks, sync frequency, and enabled networks. Application UI/UX holds what patients see in Flexpa Consent, including the color scheme and identity providers, which moved there from Application settings. Changing anything on either page requires a portal role that can manage settings.

**The application name and logo that patients see in Flexpa Consent are now self-serve.** Change them on the Application UI/UX page. Logos can be PNG, JPEG, or WebP files up to 1 MB, and square images work best. A new name or logo can take a few minutes to appear in Flexpa Consent.

## 2026-11-18

**Flexpa Consent is now available in Spanish, and you can set the language on the [authorization URL](https://www.flexpa.com/docs/consent#build-authorization-url) with the standard OpenID Connect [`ui_locales`](https://www.flexpa.com/docs/consent#build-authorization-url) parameter.** Pass a space-separated list of BCP 47 tags ordered by preference, such as `ui_locales=es-419 es en`; Flexpa takes the first tag it ships, currently `en` or `es`. When you omit it, or list only languages Flexpa does not ship, it reads the patient's browser `Accept-Language` header and falls back to English from there — an unsupported locale never fails the authorization. Patients can change the language themselves from a picker at the bottom of any screen, and that choice is remembered on their device and takes precedence over the parameter on a later visit. `ui_locales` is excluded from resume drift detection, so changing it does not discard a resumable session.

**AI agents can now search the [CHPL directory](https://www.flexpa.com/docs/network/chpl) through [Health tools for agents](https://www.flexpa.com/docs/guides/mcp-registry).** Three new public tools need no authentication. [`directory.search_chpl_listings`](https://www.flexpa.com/docs/network/directory-tools#directorysearch_chpl_listings) finds certified EHR products by developer, product, or CHPL number. [`directory.get_chpl_listing`](https://www.flexpa.com/docs/network/directory-tools#directoryget_chpl_listing) returns one listing's FHIR endpoint bundle, API documentation, patient access terms, and how many Flexpa endpoints were imported from its bundle. [`directory.find_chpl_listing_by_url`](https://www.flexpa.com/docs/network/directory-tools#directoryfind_chpl_listing_by_url) identifies the certified product behind a bundle URL or FHIR base URL. The deprecated `/mcp/directory` connection does not include them.

## 2026-11-13

**Generated [Encounters](https://www.flexpa.com/docs/records/claims-to-clinical) now read CMS Blue Button v3 claim data.** This applies to patients who connect through the Medicare V3 endpoint, `a2b5fd90-561c-45d6-b4ff-a7647ca5e733`. CMS rebuilt v3 on a new upstream data source and renamed the code systems that carry claim type, so two classification rules were reading labels v3 no longer sends. Flexpa reads both the v1/v2 and the v3 encodings, so comparable claims classify the same way on either version. The versions do not otherwise return the same data: v3 adds partially adjudicated claims and further Part D detail.

- **Outpatient institutional claims are no longer classified as inpatient.** These are billed on the same UB-04 form as an admission and can carry a discharge disposition without being one, which previously promoted them to `IMP`. They now resolve to `AMB` where nothing more specific applies, and the Encounter omits the misleading hospitalization detail. A home health or telehealth signal on the same claim still wins, giving `HH` or `VR`.
- **Home health claims carry the home-visit SNOMED type.** CMS files them with an institutional sub-type of `inpatient` for billing reasons, so an Encounter with class `HH` could come back typed as a hospital admission. Class and type now agree.

**CMS is retiring Blue Button v1 and v2.** Both left active maintenance on June 30, 2026 and sunset on July 30, 2027. If you pin the v2 Medicare endpoint, `f986dc5a-6ec4-45e5-bba5-abc8520cba0b`, start moving to the v3 endpoint when you can. `68849e76-b439-4fb4-a366-014deb222863` is the v3 endpoint in test mode.

The outpatient classification change applies to any payer that sends CARIN BB institutional sub-types, not only Medicare.

## 2026-11-12

**[`/oauth/revoke`](https://www.flexpa.com/docs/consent#revoke) now accepts your publishable key and secret key as standard OAuth client authentication.** Send them in a Basic header (`client_secret_basic`), as on the Token Endpoint, or as `client_id` and `client_secret` in the body (`client_secret_post`). Authorization server metadata now lists both in `revocation_endpoint_auth_methods_supported`, alongside `none`. An Application Access Token now returns `400` with `unsupported_token_type` rather than `401`.

**[Node SDK](https://www.flexpa.com/docs/records/node-sdk#revoketoken) `v2.4.0` adds `revokeToken`, which revokes with your publishable key and secret key in a Basic header.** It replaces `revoke`, which is now deprecated.

## 2026-11-11

**An Epic sign-in can now authorize several organizations at once.** Where Epic supports it, a patient who signs in with their Epic ID rather than a single facility's MyChart username sees the organizations already linked to their MyChart Central account and can share records from the ones they choose. Each organization settles as its own patient authorization. See the [Epic MyChart Central / Community Auth](https://www.flexpa.com/docs/guides/patient/troubleshooting-tips#epic-mychart-central--community-auth) troubleshooting guide for the conditions that have to hold.

## 2026-11-10

**[`get_financial_summary`](https://www.flexpa.com/docs/guides/agents#get_financial_summary) now counts copay, coinsurance, and deductible as patient responsibility when a claim has no patient-paid total.** Previously such claims added nothing to `totalPaidByPatient`, so payers that report only cost sharing showed the patient paying nothing. The new `patientPaidSources` field counts the claims that used each basis.

**You can now revoke individual patient authorizations of a consent with [`/oauth/revoke`](https://www.flexpa.com/docs/consent#revoke).** Pass their IDs in the new optional `patient_authorization_ids` parameter, and Flexpa revokes only those and expunges their data. A patient who connected several sources in one consent can now disconnect one and keep the rest, where previously revoking always disconnected all of them.

**[Node SDK](https://www.flexpa.com/docs/records/node-sdk) `v2.3.0` adds an optional `patientAuthorizationIds` argument to `revoke`.**

## 2026-11-06

**Flexpa Consent now names your application on its first screen when you launch it with [`flexpa_endpoint_id`](https://www.flexpa.com/docs/consent#build-authorization-url).** Previously that screen said the records would be connected to Flexpa.

## 2026-11-06

**[Node SDK](https://www.flexpa.com/docs/records/node-sdk) `v2.2.0` adds a `lineOfBusiness` option to `buildAuthorizationUrl`.** It sets [`flexpa_line_of_business`](https://www.flexpa.com/docs/consent#build-authorization-url), so a patient you send to a known health plan with a known plan type skips the line of business selection screen. It requires `endpointId`, and `buildAuthorizationUrl` throws an error without one. Previously, SDK users had to add `flexpa_line_of_business` to the authorization URL themselves.

## 2026-11-05

**The `/mcp/consent` connector now exposes only the 18 [patient records tools](https://www.flexpa.com/docs/guides/agents#tools), with their resources and prompts.** `search_tools` and `execute_tool` are no longer available on `/mcp/consent`. They remain available at `/mcp`, the public [Health tools for agents](https://www.flexpa.com/docs/guides/mcp-registry) registry, which includes the Endpoint Directory capabilities. Existing connections that use a patient access token at `/mcp` are unchanged.

**[`find_in_record`](https://www.flexpa.com/docs/guides/agents#find_in_record) now searches claims,** including their diagnosis, service, and procedure text. Each match also lists `matched_fields`, the columns that contain the query. The [`get_patient`](https://www.flexpa.com/docs/guides/agents#get_patient) description now explains that its `id` can differ from the source-specific Patient references in coverage and claims, as described in [Patient linking](https://www.flexpa.com/docs/guides/patient-linking).

## 2026-10-30

**Flexpa Link will be removed on January 27, 2027.** After that date, new launches through the FlexpaLink SDK will fail. Existing consents, and the access and refresh tokens you hold for them, keep working.

Flexpa Consent is Flexpa's updated interface and replaces Flexpa Link. In its search flow, patients search for a
provider, facility, or health plan and can connect multiple sources in a single session, which Flexpa Link does not
support. Flexpa Consent also offers the IAL2 identity flow, which adds records from
[TEFCA](https://www.flexpa.com/docs/network#nationwide-exchanges), and works in both web and mobile apps through a standard OAuth 2.0 PKCE
redirect. The new [migration guide](https://www.flexpa.com/docs/consent/migrate) maps each `FlexpaLink.create()` option to its [authorization
URL](https://www.flexpa.com/docs/consent#build-authorization-url) parameter.

If you already launch Flexpa Consent with an authorization URL, you do not need to migrate. A request without `flexpa_search_mode` or `flexpa_ial2_mode` currently opens Flexpa Link. By January 27, 2027, it will start the Flexpa Consent search flow instead. To move these requests to the updated interface now, pass `flexpa_search_mode=true`.

## 2026-10-29

**The `state`, `usage`, `endpoint`, `sync`, and `timeUntilMaxAuth` fields in the [introspect](https://www.flexpa.com/docs/consent#introspect) response are deprecated and will be removed on February 1, 2027.** These fields describe only the first patient authorization on a consent. Read these values from `patientAuthorizations` in the [Consent API](https://www.flexpa.com/docs/consent#consent-1) instead, which returns each one per authorization. The other introspect fields are unchanged.

## 2026-10-28

**[`Patient/$pdf`](https://www.flexpa.com/docs/records#patient-pdf) now accepts a `_type` filter,** so you can export only the resource types you need instead of the full health record. Pass a comma-delimited list (`?_type=Condition,MedicationRequest`) or repeated parameters. Sections whose source resource types are all excluded are omitted, and `X-PDF-Resource-Count` reports the filtered total. Demographics always render, and excluded resources stay available as reference targets, so a `DiagnosticReport` export still shows its inline lab results. An unsupported value returns `400` listing the accepted types. Omitting `_type` leaves the export unchanged.

## 2026-10-20

**We've relaunched [privacy.flexpa.com](https://privacy.flexpa.com), replacing Flexpa Connections and making it easier for patients to exercise their privacy rights.** After verifying their identity with CLEAR or ID.me, patients can delete their data from Flexpa and disconnect every application they connected through Flexpa in a single request. See [Revoking access](https://www.flexpa.com/docs/guides/patient/revoking-access) for more details.

## 2026-10-19

**[`/oauth/revoke`](https://www.flexpa.com/docs/consent#revoke) now works without a secret key.** Send the `access_token` or `refresh_token` as `token`, with your publishable key as `client_id`. Apps without a server to hold the secret key, such as mobile apps that complete Flexpa Consent with PKCE, previously could not revoke a consent and can now disconnect a patient directly. New integrations should send `token` and `client_id`.

## 2026-10-16

**TEFCA outcome data is now available on the REST API.** Pass `?include=tefcaOutcomes` to [`GET /rest/consent/:consentId`](https://www.flexpa.com/docs/consent#consent-by-id) to include a `tefcaOutcomes` summary nested under `sync` on each `IAL2` patient authorization. The summary covers the most recent sync: QHIN network, patients found, facilities queried, documents retrieved, SMART sign-in funnel counts, and completion timestamp.

## 2026-10-15

**The [Rate Limits](https://www.flexpa.com/docs/records#rate-limits) section now lists the current limit for each kind of request.** The limits themselves have not changed. Keep driving backoff from the `Retry-After` and `X-RateLimit-*` headers, which stay authoritative when a limit changes.

## 2026-10-07

**[`Group/$expunge`](https://www.flexpa.com/docs/fhir/group#expunge) now returns a `202`** with one OperationOutcome per patient authorization confirming that its expunge has been scheduled. The response no longer reports per-patient results.

## 2026-10-02

**[Consent](https://www.flexpa.com/docs/consent) now supports a new `flexpa_line_of_business` authorization parameter to optionally skip the line of business selection screen when developers already know the patient's insurance plan type.** It works with `flexpa_endpoint_id`, which skips health plan search, so a patient you send to a known plan with a known plan type goes straight to sign-in.

The `flexpa_line_of_business` parameter accepts the following values:

- `EMPLOYER` - For employer-sponsored health plans
- `OFF_EXCHANGE` - For off-marketplace individual plans
- `MEDICARE_ADV` - For Medicare Advantage plans
- `ON_EXCHANGE` - For marketplace/ACA plans
- `MEDICAID` - For Medicaid plans

The system validates that the provided line of business is supported by the selected endpoint. If it is not, the authorization request is rejected with `error=invalid_request`. Patients whose plan has state-specific routing still see the state selection screen.

## 2026-10-01

**[Coverage](https://www.flexpa.com/docs/fhir/coverage) now carries the [CARIN Digital Insurance Card](https://hl7.org/fhir/us/insurance-card/) extensions inline where the payer supplies them,** so you can render an insurance card from the Coverage you already read. These previously arrived as a second Coverage describing the same plan, so a member appeared to hold each plan twice. The two are now reconciled onto one Coverage wherever they can be matched to the same plan, which needs a member identifier and a plan or group class on both.

Three extensions carry the card, all under `http://hl7.org/fhir/us/insurance-card/StructureDefinition/`. `C4DIC-ColorPalette-extension` holds the plan's colors, nested as `C4DIC-BackgroundColor-extension`, `C4DIC-ForegroundColor-extension` and `C4DIC-HighlightColor-extension`. `C4DIC-Logo-extension` holds the payer's logo, inline or by URL. `C4DIC-AdditionalCardInformation-extension` holds free text the payer prints on the card.

Read these off the Coverage rather than inferring them from `meta.profile`, which records that the card data was reconciled onto the Coverage rather than that every extension arrived. Few payers supply them today; as more adopt the profile they arrive the same way, with no change on your side.

**The [Consent](https://www.flexpa.com/docs/consent) search screen now opens on popular providers and health plans by default.** The new `flexpa_default_filter` authorization parameter opens search already filtered to `PAYER` or `PROVIDER` instead. Patients can still clear the filter or switch to the other one.

## 2026-09-30

**Access tokens now carry the issuer `https://api.flexpa.com`, without a trailing slash.** The `iss` claim of [Patient Access Tokens](https://www.flexpa.com/docs/records#patient-access-token) and [Application Access Tokens](https://www.flexpa.com/docs/records#application-access-token) now matches the `issuer` in the [authorization server metadata](https://api.flexpa.com/.well-known/oauth-authorization-server). If you verify access tokens yourself and check `iss`, accept `https://api.flexpa.com`. A token issued before this change carries `https://api.flexpa.com/` until it expires, at most 24 hours later. The `aud` claim does not change.

## 2026-09-28

**The [Consent API](https://www.flexpa.com/docs/consent#consent-1) now reports when an authorization can no longer be refreshed.** Each patient authorization includes a new `refreshExpiredAt` field, set when an OAuth endpoint stops accepting refreshes, such as after Flexpa sends a [`refresh_expired`](https://www.flexpa.com/docs/records/webhooks#refresh_expired) webhook. The authorization's `state` and `active` fields do not change, and previously synced data remains readable until it is deleted. See [When an endpoint stops honoring the authorization](https://www.flexpa.com/docs/guides/usage#when-an-endpoint-stops-honoring-the-authorization).

## 2026-09-24

**The [network directory](https://www.flexpa.com/docs/network/directory) now shows which health insurers connect through a [patient portal](https://www.flexpa.com/docs/network#health-insurers).** Endpoint detail pages describe the patient portal connection alongside the Patient Access API, and a new Pathway filter narrows the directory to either one.

## 2026-09-21

**Flexpa now runs a [test wallet for SMART Health Check-in](https://www.flexpa.com/docs/smart-health-checkins) at [test.wallet.flexpa.com](https://test.wallet.flexpa.com/).** SMART Health Check-in is an open protocol for pre-visit check-in over the W3C Digital Credentials API: a provider's page asks the patient's health app for what the visit needs, and the verified answer returns to that page. The test wallet implements the Wallet/Responder role as a web wallet. It holds a fabricated sample patient with US Core records and a CARIN digital insurance card, and answers `selection.fhir` and `form.fhir` items with signed, encrypted responses. Point the [specification's clinic demo](https://smart-health-checkin.org/client/demo/) or your own check-in page at its wallet registry to test against it.

**Patient records tools now require a patient access token at both `/mcp` and `/mcp/consent`.** At `/mcp`, application access tokens expose only the two registry tools and do not grant access to patient records tools or resources. `/mcp/consent` accepts only patient access tokens and returns `401` for other tokens. Integrations that use an application token must obtain a patient access token through Flexpa Consent to use [patient records tools](https://www.flexpa.com/docs/guides/agents). Existing patient-token connections at `/mcp` continue to work; use `/mcp/consent` for new patient connections.

The deprecated [`/mcp/directory` connection](https://www.flexpa.com/docs/network/directory-tools#legacy-directory-connection) retains exactly its four original tools and three prompts. Use `/mcp` for the registry tools.

## 2026-09-16

**[Flexpa Portal](https://portal.flexpa.com) now has a [Data Retrievals](https://www.flexpa.com/docs/portal#data-retrievals) view showing the [data retrievals](https://www.flexpa.com/pricing) your application has used.** The new Data Retrievals page (under Activity in the sidebar) reports **Total retrievals** and **Unique users** above a history of each retrieval, showing the date it ran, the external ID, the retrieval kind, and the patient authorization behind it. A patient whose records were pulled repeatedly counts once toward the unique figure. Available in live mode only, and requires the `phi:read` permission.

**Data Retrievals and [IAL2 Verifications](https://www.flexpa.com/docs/portal#ial2-verifications) can now be scoped to a reporting period.** Both pages default to year to date and filter the totals and the history together, so you can set the period to your contract year and read consumption against your bundled allowance directly. Presets cover year to date, the last 30 days, and all time, and either bound can be set to any date.

## 2026-09-10

**SMART Health Link activity is available in Portal Analytics and through the
[SHL statistics endpoint](https://www.flexpa.com/docs/smart-health-links#shl-statistics) in Flexpa API.**
Track links created, links accessed, and successful access events, including
repeats, using the existing date and test/live filters. Daily link counts and
distinct user totals provide additional context. The Portal section requires `phi:read`
alongside `analytics:read`. Statistics count recorded successful accesses for
links created in the selected period; denied attempts are excluded, and manifest
access does not confirm file downloads.

**[Portal Analytics](https://portal.flexpa.com/analytics) now separates activity into
Overview, Connections, Records, and Sharing views,** with shared date and test/live
filters.

## 2026-09-09

**You can now audit SMART Health Link access through the API.** The new [`GET /smart/health-links/:id/accesses`](https://www.flexpa.com/docs/smart-health-links#audit-trail) endpoint returns a link's access audit trail as a [FHIR AuditEvent](https://hl7.org/fhir/R4/auditevent.html) Bundle — who opened the link, when, and with what outcome, including denied attempts such as wrong passcodes, locked links, expirations, and revocations. Results are newest-first, filterable by outcome status and access type, and paginated with a cursor.

The [list endpoint](https://www.flexpa.com/docs/smart-health-links#list-shls) also returns `accessCount` and `lastAccessedAt`, summarizing successful accesses. Both list and audit endpoints require integer page sizes and reject malformed or empty pagination cursors with a `400` response and an `Invalid cursor` error. Empty audit Bundles omit the `entry` property.

The audit trail ships alongside the SHL management endpoints — create, list, revoke, and accesses — which accept [Application Access Tokens](https://www.flexpa.com/docs/records#application-access-token) minted through the [client credentials flow](https://www.flexpa.com/docs/consent#token), so integrations manage links server-to-server. [Patient Access Tokens](https://www.flexpa.com/docs/records#patient-access-token) continue to scope list, revoke, and accesses to the authenticated patient's own links, and endpoints are scoped by mode: test credentials see and change only test links, live credentials only live links.

[Secret keys](https://www.flexpa.com/docs/records#api-keys) continue to work for existing integrations but are only temporarily supported. New integrations should use application tokens.

**Node SDK 2.1.0 adds typed support for these endpoints.** Use [`createSmartHealthLink`, `listSmartHealthLinks`, `listSmartHealthLinkAccesses`, and `revokeSmartHealthLink`](https://www.flexpa.com/docs/records/node-sdk#smart-health-links) for link management. The SDK supports cursor pagination, audit filters, typed FHIR AuditEvents, and empty SHL revocation responses.

**Consent revocation now detects all expunge errors and keeps failed authorizations
retryable** for `/oauth/revoke` and `/link/revoke`.

## 2026-09-01

**Flexpa API now generates [InsurancePlan](https://www.flexpa.com/docs/fhir/insurance-plan) resources for certain Aetna, Cigna, and HCSC (Blue Cross and Blue Shield plans of Illinois, Montana, New Mexico, Oklahoma, and Texas) lines of business,** in addition to certain UnitedHealthcare lines of business and Medicare Advantage (Part C) plans.

A generated InsurancePlan describes the insurance product a member has. InsurancePlan resources are not returned by [`Patient/$everything`](https://www.flexpa.com/docs/records#patient-everything), so search for them with `GET /fhir/InsurancePlan` or read them by ID using the extension on a Coverage.

A generated InsurancePlan resource may include:

- **Plan identity and ownership:** plan name, coverage line, effective period, policy, group, and plan-variation identifiers, the administering payer, the pharmacy benefit manager for drug coverage, and the employer or organization sponsoring the plan.
- **Plan-level costs:** individual and family deductibles and out-of-pocket maximums, in-network and out-of-network, and whether pharmacy amounts are combined with the medical ones.
- **Covered benefits and cost sharing:** copays, coinsurance, and deductibles per service, marked in-network or out-of-network, with the conditions attached to each cost, such as applying only after the deductible is met. Each benefit names the plan document its figures came from.
- **Drug coverage:** cost sharing by pharmacy channel and drug tier.
- **Dental coverage (where available):** plan type and annual maximums, in-network and out-of-network.
- **Plan characteristics:** high-deductible health plan, HSA and HRA eligibility, funding arrangement, and whether a referral is required.

**[Flexpa Portal](https://portal.flexpa.com) now has a Consents view that shows every consent session, including abandoned ones.** The new Consents page (under Activity in the sidebar) lists all consent sessions across TEST and LIVE modes — including sessions that were abandoned before a patient authorization was created and sessions with no external ID. Each row shows the consent's created date, ID, mode, state, number of patient authorizations, and redirect URI, with filters for state and date range.

The Users page is unchanged — it continues to show users who completed at least one patient authorization. The Consents view is the right place to investigate drop-off, confirm whether a session reached Flexpa at all, or reconcile anonymous sessions.

## 2026-08-31

**The MCP server's `get_health_summary` tool now returns a complete clinical summary based on the International Patient Summary (IPS) standard.** The tool covers all 16 IPS sections: active problems, past illness, medications, allergies, immunizations, vital signs, lab results, procedures, pregnancy history, devices, social history, functional status, plan of care, advance directives, alerts, and patient story. Each section is filtered and classified to match IPS clinical rules — for example, resolved or inactive conditions are separated from active problems, and only active medications and completed procedures are included.

## 2026-08-27

**[Flexpa Portal](https://portal.flexpa.com) Analytics now show which connections your users are requesting most.** A new chart on the Analytics page ranks the coming-soon endpoints your patients have clicked "Request this connection" on, ordered by request count. Endpoints that have since become connected are excluded, so the chart reflects unmet demand. Results are scoped to the selected lookback period using the 7-day, 30-day, 90-day, and YTD toggles.

## 2026-08-26

**Flexpa Consent now lets patients request connections that aren't yet available.** When a patient searches for a plan marked "Coming soon," they can click to request it directly from the search screen. Requests are logged and used to prioritize which plans Flexpa adds next.

## 2026-08-19

**Flexpa Consent now skips [line of business](https://www.flexpa.com/docs/network/directory-tools#directorycheck_lob_support) selection for payers with a single plan type.** When a payer offers exactly one type of plan and Flexpa supports it, the flow selects it automatically instead of asking the patient a question with only one answer. State selection still applies where support varies by state, and payers with more than one plan type are unchanged.

## 2026-08-18

**Application access tokens are now bound to the mode of the API keys that mint them.** Test mode keys can now create application access tokens — previously rejected with a 403 — giving sandbox integrations access to [`GET /rest/consents`](https://www.flexpa.com/docs/consent#list-consents) and [`GET /rest/deliveries`](https://www.flexpa.com/docs/records/destinations#list-deliveries) for their test data. REST endpoints scope their results to the token's mode: live tokens see live data, test tokens see test data.

Note: live-key tokens previously saw both modes on the list endpoints and now see live data only, and the [FHIR API](https://www.flexpa.com/docs/records) still requires live mode application tokens. The redundant `mode` query filter has been removed from both list endpoints.

## 2026-08-18

**Flexpa API now generates [InsurancePlan](https://www.flexpa.com/docs/fhir/insurance-plan) resources for certain UnitedHealthcare lines of business.** Plan design comes from the payer's own plan data where available, so this extends InsurancePlan beyond the Medicare Advantage coverage it previously covered.

A plan is generated for each Medical, prescription drug, and dental plan as applicable.

A generated plan describes the product, not the member. Everyone enrolled in the same plan and coverage line shares one InsurancePlan, and each of their Coverage resources carries an `insurance-plan-reference` extension pointing at it. Member-specific amounts, such as how much of a deductible has been met, are not part of the plan.

InsurancePlan resources are not returned by [`Patient/$everything`](https://www.flexpa.com/docs/records#patient-everything), so search for them with `GET /fhir/InsurancePlan` or read them by ID using the extension on a Coverage.

For UnitedHealthcare, generated InsurancePlan resources may include:

- **Plan identity and ownership:** plan name, coverage line, effective period, policy, group, and plan-variation identifiers, the administering payer, the pharmacy benefit manager for drug coverage, and the employer or organization sponsoring the plan.
- **Plan-level costs:** individual and family deductibles and out-of-pocket maximums, in-network and out-of-network, and whether pharmacy amounts are combined with the medical ones.
- **Covered benefits and cost sharing:** copays, coinsurance, and deductibles per service, marked in-network or out-of-network, with the conditions attached to each cost, such as applying only after the deductible is met. Each benefit names the plan document its figures came from.
- **Drug coverage:** cost sharing by pharmacy channel and drug tier.
- **Dental coverage:** plan type and annual maximums, in-network and out-of-network.
- **Plan characteristics:** high-deductible health plan, HSA and HRA eligibility, funding arrangement, and whether a referral is required.

## 2026-08-17

**You can now audit S3 destination deliveries through the API.** Two new endpoints cover every object Flexpa writes to an [S3 destination](https://www.flexpa.com/docs/records/destinations): [`GET /rest/deliveries`](https://www.flexpa.com/docs/records/destinations#list-deliveries) lists delivery attempts for your application — succeeded and failed, filterable by consent, patient authorization, status, mode, and time — and [`GET /rest/deliveries/:id/manifest`](https://www.flexpa.com/docs/records/destinations#delivery-manifest) returns an audit record for a single delivery, shaped like a [FHIR Bulk Data export manifest](https://hl7.org/fhir/uv/bulkdata/export.html#response---complete-status), with per-resource-type counts, the object key, byte size, and a SHA-256 checksum computed and stored by S3.

Together they close the loop on delivery verification: an object in your bucket with no matching delivery record warrants an alert and reconciliation with Flexpa, and the manifest's counts, size, and checksum prove a recorded object holds exactly the bytes Flexpa delivered — the manifest reaches you over Flexpa API, a separate trust domain from the bucket, so the check holds even against an actor with write access to the bucket. See [Verify a delivery](https://www.flexpa.com/docs/records/destinations#verify-a-delivery).

Deliveries recorded before this release return an empty manifest `output`, and checksums appear on successful deliveries made from release onward.

## 2026-08-14

**FooMedical is no longer available in live mode.** The endpoint has been removed from the [network directory](https://www.flexpa.com/docs/network/directory) and can no longer be selected in Flexpa Consent, where it previously returned a synthetic patient with claims data. Existing FooMedical connections stop syncing new data and will need to consent again against a different endpoint. FooMedical remains available in [test mode](https://www.flexpa.com/docs/test-mode) with the same synthetic patients and credentials.

## 2026-07-29

**You can now control how often Flexpa Consent syncs new data for each connection.** Choose Daily, Weekly, or Monthly per application on the [Application settings](https://portal.flexpa.com/application-settings) page in the portal. See [Sync frequency](https://www.flexpa.com/docs/guides/usage#sync-frequency).

## 2026-07-23

**The [MCP server](https://www.flexpa.com/docs/guides/agents) now supports 12 new tools for clinical and care data**, bringing the total to 17. New tools cover problems, allergies, labs, vital signs, documents, medications, immunizations, procedures, visits, care team, full-text record search, and document content extraction. Corresponding resources and prompts are also available. See [Health records for agents](https://www.flexpa.com/docs/guides/agents) for the full reference.

## 2026-07-22

**Flexpa Consent now supports patient portal logins.** Some [health insurers](https://www.flexpa.com/docs/network#health-insurers) connect through a patient portal login rather than a Patient Access API. These plans, previously unavailable in Flexpa Consent, can now be connected: patients sign in to their plan directly inside the flow.

## 2026-07-21

**The [network directory](https://www.flexpa.com/docs/network/directory) uptime chart now shows browser render results.** In addition to HTTP reachability, each endpoint detail page now shows whether an actual working login page is shown to the user — the signal that matters most for real patient-facing availability.

## 2026-07-15

**The [Steps to connect](https://www.flexpa.com/docs/guides/patient/steps-to-connect) patient guide has been updated.** The guide now covers both the identity verification flow (CLEAR, ID.me, Persona) and the search flow in a single page, with new screenshots throughout. Identity verification content from the standalone guide has been merged in, including provider descriptions, the post-verification searching and records-found screens, and expanded error guidance for verification failures, record matching failures, and authorization errors. The guide now opens with shared Welcome and Consent steps, then lets patients identify which flow they're in via clickable screenshots before diving into the relevant walkthrough.

## 2026-07-10

**Flexpa Consent now includes [line of business](https://www.flexpa.com/docs/network/directory-tools#directorycheck_lob_support) selection.** Payer support for patient access varies by plan type and state. When that changes the outcome, Flexpa Consent asks the patient which type of plan they have (Employer, Medicare Advantage, Marketplace, purchased directly from the insurer, Medicaid, or "I'm not sure") and, when support varies by state, which state they live in. Patients on supported plans proceed to authorization as usual; patients on unsupported plans are told upfront instead of completing a sign-in that ends in a failed or empty authorization.

Payers that support all plan types skip the questions entirely, and payers with no supported lines of business appear as "Coming soon" in search results. Line of business selection applies to [health insurers](https://www.flexpa.com/docs/network#health-insurers) only — connections to [medical record systems](https://www.flexpa.com/docs/network#medical-record-systems) are unchanged — and covers both the search flow and direct launches with `flexpa_endpoint_id` on the [authorization URL](https://www.flexpa.com/docs/consent#build-authorization-url).

## 2026-07-10

**`flexpa_ial2_mode` can no longer be combined with `flexpa_endpoint_id` on the [authorization URL](https://www.flexpa.com/docs/consent#build-authorization-url).** [TEFCA IAS](https://www.flexpa.com/docs/network/cms#capability-2-ial2-digital-identity-for-record-access) launches discover records across all matching facilities rather than targeting a specific endpoint, so the combination was never meaningful. Requests that set both parameters now fail validation with an `invalid_request` error, where previously the IAL2 flow launched and `flexpa_endpoint_id` was silently ignored.

## 2026-07-09

**The [patient record PDF export](https://www.flexpa.com/docs/records#patient-pdf) has been updated with accessibility and layout improvements.**

What changed:

- **Color accessibility**: Section headers, table headers, and left-stripe accents now use a neutral slate palette instead of green, addressing color-blindness concerns (WCAG AA compliant throughout). The Flexpa masthead on the cover page is unchanged.
- **Vital signs layout**: Vital sign observations are now rendered as a horizontal pivot table (date rows × measurement columns) instead of a long vertical list, making trends easier to read at a glance.
- **Lab results layout**: Lab observations follow the same horizontal pivot layout — each row is a date, each column is a test, with reference-range flags shown inline.
- **Condition deduplication**: Active Problems and History of Past Illness sections suppress duplicate rows when the same condition (matched by FHIR code and onset date) is reported by multiple payers. Conditions without a coded value or without a recorded onset date are always shown.

## 2026-07-08

**Flexpa API can now generate [InsurancePlan](https://www.flexpa.com/docs/fhir/insurance-plan) resources for supported Medicare Advantage Part C coverage.** This requires the user to consent through the Medicare.gov (CMS Blue Button) endpoint, which returns Part C Coverage resources for members with Medicare Advantage coverage. When a patient's [Coverage](https://www.flexpa.com/docs/fhir/coverage) can be matched to CMS Plan Benefit Package (PBP) reference data, Flexpa may generate an InsurancePlan resource with plan-level benefits, costs, coverage area, issuer, and CMS source metadata.

Generated InsurancePlan resources can be searched through the FHIR API and read by ID when available to the presented access token.

When available from CMS PBP, landscape, and directory data, generated InsurancePlan resources may include:

- **Plan identity:** plan name and type, MA or MA-PD coverage type, plan year, and CMS contract, plan, segment, and formulary IDs.
- **Carrier and geography:** issuer names, parent organization, tax status, service contacts, service area, and Medicare Advantage region.
- **Quality, scale, and drug coverage:** star ratings, contract enrollment, contract effective date, formulary ID, and Part D benefit category and type.
- **Premiums and plan-level costs:** monthly premiums, medical and drug deductibles, maximum out-of-pocket amounts, and Part D out-of-pocket threshold.
- **Covered benefits and cost sharing:** CMS medical and supplemental benefit categories, in-network and out-of-network availability, authorization or referral requirements, dollar limits, copays, coinsurance, tiers, and day-based ranges.
- **Conditional plan flags:** SNP, LIS, benchmark, voluntary de minimis, sanctioned-plan, and related plan indicators when the plan qualifies.

## 2026-07-07

**[Flexpa Portal](https://portal.flexpa.com) now includes an IAL2 Verifications view.** Workspaces with live mode enabled can see all-time totals — verifications completed and unique users verified — and browse a paginated history of completed [TEFCA IAS](https://www.flexpa.com/docs/network/cms#capability-2-ial2-digital-identity-for-record-access) identity verifications, each with its external user ID and identity provider.

## 2026-07-01

**Cursor pagination is now live on [GET /endpoints](https://www.flexpa.com/docs/network#endpoints).** As previously announced, the endpoint list has grown too large to return in a single unpaginated response.

What changed:

- The response is now an object instead of a top-level array. Records move into an `endpoints` field, and a `meta` object carries `hasMore` and `nextCursor`.
- Two new query parameters: `limit` (default 100, maximum 1,000) and `cursor`.
- Requests without pagination parameters return the first page, not the full list.
- Endpoint fields are unchanged, and `includeUnavailable` and `connectableViaConsent` keep working.

To migrate, read records from the `endpoints` field and follow `meta.nextCursor` (passed back as `?cursor=`) until it is `null`. This is the same pagination as [GET /rest/consents](https://www.flexpa.com/docs/consent#list-consents).

A response from [GET /endpoints](https://www.flexpa.com/docs/network#endpoints) now looks like this:

```json
{
  "endpoints": [
    {
      "name": "san-francisco-health-plan-test",
      "id": "46062592-1111-4a06-8974-da9589119238",
      "mode": "TEST",
      "label": ["San Francisco Health Plan"],
      "refreshable": false,
      "status": "CONNECTED",
      "resources": ["Account", "AllergyIntolerance", "..."],
      "organization": {
        "id": "de83b67b-b176-49ef-b83d-8f8edcd45761",
        "name": "San Francisco Health Plan (SFHP)"
      }
    }
  ],
  "meta": {
    "hasMore": true,
    "nextCursor": "NWMzNGU1ZDItYmI0Ni00MmQzLWExY2UtOWI5ZDJkMWZlYzI2"
  }
}
```

## 2026-06-23

**[GET /rest/consent](https://www.flexpa.com/docs/consent#consent-1) now accepts a `skipResourceCounts` query parameter.** Pass `?skipResourceCounts=true` for a faster response that skips the per-authorization Medplum FHIR lookup and omits `sync.resourceTypes`. Useful when you only need consent state, sync status, or scope information.

## 2026-06-22

**Cursor pagination is now live on [GET /organizations](https://www.flexpa.com/docs/network#organizations).** As previously announced, the organization directory has grown past 240,000 organizations, and the endpoint no longer returns the full directory in a single unpaginated response.

What changed:

- The response is now an object instead of a top-level array. Records move into an `organizations` field, and a `meta` object carries `hasMore` and `nextCursor`.
- Two new query parameters: `limit` (default 100, maximum 1,000) and `cursor`.
- Requests without pagination parameters return the first page, not the full directory.
- Organization fields are unchanged, and `includeUnavailable` keeps working.

To migrate, read records from the `organizations` field and follow `meta.nextCursor` (passed back as `?cursor=`) until it is `null`. This is the same pagination as [GET /rest/consents](https://www.flexpa.com/docs/consent#list-consents).

A response from [GET /organizations](https://www.flexpa.com/docs/network#organizations) now looks like this:

```json
{
  "organizations": [
    {
      "name": "SCAN Health Plan",
      "id": "a4212073-f832-483c-8fd0-706f97fe3d8e",
      "type": "PAYER"
    }
  ],
  "meta": {
    "hasMore": true,
    "nextCursor": "YTQyMTIwNzMtZjgzMi00ODNjLThmZDAtNzA2Zjk3ZmUzZDhl"
  }
}
```

**ONC CHPL-certified product listings are now linked to provider endpoint detail pages.** [Endpoint detail pages](https://www.flexpa.com/docs/network/directory) in the public directory now show which ONC (g)(10)-certified EHR products are associated with each endpoint — including certification date, listing status, and a link to API documentation. `GET /endpoints/directory/:endpointId` returns a new `chplListings` array with this metadata for any certified products linked to the endpoint.

## 2026-06-18

**[`$pdf`](https://www.flexpa.com/docs/records#patient-pdf) now covers more resource types and includes observability headers.** Rendering improvements fix blank multi-component observations, expand nested lab panels, and deduplicate allergy entries. The response now includes four headers — `X-PDF-Sources-Total`, `X-PDF-Sources-Failed`, `X-PDF-Sources-Failed-Names`, and `X-PDF-Resource-Count` — so you can verify coverage without parsing the PDF.

## 2026-06-17

**[Flexpa Portal](https://portal.flexpa.com) now supports a Support team member role with read-only access to end-user activity, authorization errors, and usage analytics.** Workspace admins can assign the role from the Team page when inviting a new teammate.

## 2026-06-12

_Updated July 1, 2026: cursor pagination is now live on both [GET /organizations](https://www.flexpa.com/docs/network#organizations) and [GET /endpoints](https://www.flexpa.com/docs/network#endpoints). See the 2026-06-22 and 2026-07-01 entries above._

**Cursor pagination is coming to [GET /organizations](https://www.flexpa.com/docs/network#organizations) and [GET /endpoints](https://www.flexpa.com/docs/network#endpoints) on July 1, 2026.** The organization directory behind these endpoints is growing from roughly 77,000 to more than 240,000 organizations, and single unpaginated responses are no longer sustainable at that size.

What changes:

- Responses become objects instead of top-level arrays: records move into a named field (`organizations` or `endpoints`), and a `meta` object carries `hasMore` and `nextCursor`.
- Two new query parameters: `limit` (default 100, maximum 1,000) and `cursor`.
- Requests without pagination parameters return the first page, not the full directory.
- Record fields are unchanged, and `includeUnavailable` and `connectableViaConsent` keep working.

To migrate, read records from the named field and follow `meta.nextCursor` (passed back as `?cursor=`) until it is `null` — the same pagination as [GET /rest/consents](https://www.flexpa.com/docs/consent#list-consents). If the timeline is a problem, contact [support@flexpa.com](mailto:support@flexpa.com).

## 2026-06-11

Flexpa API now supports a new `refresh_expired` [webhook event](https://www.flexpa.com/docs/records/webhooks#refresh_expired). When a
patient authorization's refresh token can no longer be renewed, Flexpa will send a webhook notification so you can
prompt the affected user to re-consent and restore data access.

## 2026-06-10

ID.me is now supported as a refresh token provider for IAL2 authorizations. Previously, only CLEAR-verified authorizations could refresh automatically — now both identity providers support automatic data refreshes when `offline_access` is included in the authorization scope.

## 2026-06-08

**Forward FHIR data to your own Amazon S3 bucket with [destinations](https://www.flexpa.com/docs/records/destinations).** Configure a destination in [Portal](https://portal.flexpa.com) and Flexpa writes each patient's synced resources to your bucket as NDJSON — one FHIR resource per line — after every successful sync, with no polling required. Delivery uses a short-lived, cross-account `AssumeRole` into a role you control, scoped by a per-destination external ID, with optional SSE-KMS encryption. Destinations are configured separately for test and live mode. See the [destinations guide](https://www.flexpa.com/docs/records/destinations) for the IAM setup and object key layout.

## 2026-06-05

**New [`$pdf` endpoint](https://www.flexpa.com/docs/records#patient-pdf) for comprehensive patient health export.** `GET /fhir/Patient/$PATIENT_ID/$pdf` returns a downloadable PDF covering all data sources a patient has connected — every resource type returned by [`$everything`](https://www.flexpa.com/docs/records#patient-everything) is rendered; nothing is silently dropped. When called with a wildcard `$PATIENT_ID`, sections from each connected source are stitched into a single branded file. Pass `_format=zip` to receive a ZIP archive instead: payer and provider connections are packaged as `oauth-{endpointName}.pdf`, IAL1 self-attested identity connections as `ial1-{patientId}.pdf`, and TEFCA QHIN connections as `ial2-{facilityName}.pdf` with all C-CDAs from that facility stitched together. Scope the export to a single authorization with `patient-authorization-id`. See the [records reference](https://www.flexpa.com/docs/records#patient-pdf) for the full API and response details.

## 2026-05-28

**[Node SDK](https://www.flexpa.com/docs/records/node-sdk) `v2.0.0` promotes the TEFCA / IAL2, search-mode, and consent-resume parameters to first-class typed options on `buildAuthorizationUrl`.** Pass `flow: { type: 'ial2' }` to launch the [TEFCA IAS](https://www.flexpa.com/docs/network/cms#capability-2-ial2-digital-identity-for-record-access) identity-verified flow, or `flow: { type: 'search', hints: { firstName, lastName, dob } }` to launch the Consent 2.1 search flow with optional demographic hints. Pass `resume: true` to [resume an in-progress consent](https://www.flexpa.com/docs/consent#build-authorization-url). The `flow` discriminated union encodes the mutual exclusion and dependency rules at the type level, so invalid combinations are caught at compile time. See the [Node SDK reference](https://www.flexpa.com/docs/records/node-sdk#buildauthorizationurl) for the full options list.

## 2026-05-19

**Flexpa Consent now skips the demographic step entirely when all three hints are supplied at launch.** Passing `flexpa_hint_first_name`, `flexpa_hint_last_name`, _and_ `flexpa_hint_dob` together to the [authorization URL](https://www.flexpa.com/docs/consent#build-authorization-url) shortcuts past the demographic collection screen — patients agree to terms and land straight on record search. Partial hints (e.g. only `flexpa_hint_first_name`) still pre-fill what's provided and render the screen so patients can complete the rest.

## 2026-05-13

**Improved visibility in the [Endpoint Directory](https://www.flexpa.com/docs/network/directory).** Each endpoint detail page now shows the OAuth scopes Flexpa requests during the authorization flow, so you can see exactly what Flexpa is authorized to access on behalf of the patient at every source. Supported FHIR resources are also now marked with a verification badge when Flexpa has successfully synced that resource from a connected user within the last six months — including resources [derived from EOBs](https://www.flexpa.com/docs/records/claims-to-clinical) for payer endpoints. Absence of a verification badge doesn't mean a resource is unavailable; it may simply not appear in any connected user's record yet, or be returned only rarely.

**New webhook event: [`endpoint_status_changed`](https://www.flexpa.com/docs/records/webhooks#endpoint_status_changed).** Get notified when a Flexpa-registered endpoint's connectivity status changes — for example when a payer endpoint breaks or a previously unavailable endpoint becomes connected. The event is delivered to every webhook in the matching mode; filter on `data.endpoint_id` to focus on endpoints you care about.

## 2026-05-11

**Persona is now available as a third identity provider for [TEFCA IAS](https://www.flexpa.com/docs/network/cms#capability-2-ial2-digital-identity-for-record-access) consent, joining CLEAR and ID.me.** Persona is available to all applications in both test and live mode — no allowlist or rollout request required. By default, all supported identity providers are offered to patients; you can restrict which providers appear in Flexpa Consent from your application's identity provider settings in [Flexpa Portal](https://portal.flexpa.com).

## 2026-05-07

The **[CHPL directory](https://www.flexpa.com/docs/network/chpl)** is now live. It publishes a public directory of every ONC (g)(10)-certified EHR product — 279 products tracked — with Flexpa's live connectivity status for each one. For each listing, the directory shows connectivity status (Connected, Connection In Progress, Application In Progress, Establishing Contact, or Blocked), whether the endpoint supports auto-distribution, whether the vendor charges additional API fees, whether the connection is patient-driven, and sandbox availability. The directory is synced weekly from the [ONC Certified Health IT Product List](https://chpl.healthit.gov) and reflects the current state of Flexpa's EHR network at any point in time.

## 2026-05-06

**Resume an in-progress consent flow with the new `flexpa_resume` parameter.** Pass `flexpa_resume=true` to the [authorization URL](https://www.flexpa.com/docs/consent#build-authorization-url) to let a user pick up where they left off after exiting Flexpa Consent mid-way — for example, after closing an identity-verification tab. Resume is backed by a session cookie set when the user enters the consent flow; if the cookie is no longer present, or any request parameter differs from the original (`scope`, `redirect_uri`, `flexpa_endpoint_id`, demographic hints, etc.), Flexpa silently starts a new authorization, so there's no error path to handle. Omit the parameter to always start a new authorization.

**Fixed a regression** where access tokens for an earlier consent stopped working after the same patient completed a second TEFCA identity flow. Earlier Consents' tokens now continue to read and refresh through their natural lifetime. No application changes required.

## 2026-05-05

**Consent 2.1 is now generally available in live mode.** The search flow lets patients connect by searching for a provider, facility, or health plan, selecting from matched results, and connecting multiple sources in a single session. Unlike Flexpa Consent, it works as both a primary connection path and as a fallback when the IAL2 identity flow returns no results. Enable it by passing `flexpa_search_mode=true` to the [authorization URL](https://www.flexpa.com/docs/consent#build-authorization-url). Optional [demographic hints](https://www.flexpa.com/docs/consent#build-authorization-url) (`flexpa_hint_first_name`, `flexpa_hint_last_name`, `flexpa_hint_dob`) can pre-fill the demographic step to reduce friction.

The [Steps to connect](https://www.flexpa.com/docs/guides/patient/steps-to-connect) patient guide has been updated to reflect the new flow. If you or your patients are seeing an older interface, the [legacy steps to connect](https://www.flexpa.com/docs/guides/patient/steps-to-connect-legacy) guide covers the previous flow.

## 2026-04-28

**Consent 2.1 search flow is now available in test mode for all applications.** Patients can search by provider, facility, or health plan and select from matched results — useful as a primary connection path or as a fallback when the IAL2 identity flow returns no results or misses a facility the patient knows they've visited. Unlike Flexpa Consent, the search flow lets a patient connect multiple sources in a single session. Enable it by passing `flexpa_search_mode=true` to the [authorization URL](https://www.flexpa.com/docs/consent#build-authorization-url). Optional [demographic hints](https://www.flexpa.com/docs/consent#build-authorization-url) (`flexpa_hint_first_name`, `flexpa_hint_last_name`, `flexpa_hint_dob`) can pre-fill the demographic collection step to reduce friction. General availability in live mode is targeted for May 5.

## 2026-04-27

[Flexpa Portal](https://portal.flexpa.com) now includes **Users** and **Errors** views, giving teams visibility into connected users and integration health without leaving the portal. The Users view groups patient authorizations by your application's `externalId`, surfacing connection counts, data sources, refresh status, and tokens expiring within seven days. The Errors view unifies authorization errors and sync failures with filtering by endpoint, mode, failure reason, and date range — and links into per-sync-job FHIR request details for diagnosing extraction failures. Workspaces with a Slack channel configured can also report issues directly from any user or error row, posting context (external ID, patient authorizations, endpoint, error details) to both their channel and Flexpa support.

## 2026-04-19

[DiagnosticReport](https://www.flexpa.com/docs/fhir/diagnostic-report) `presentedForm` Binary attachments are now resolved during sync. Previously, only `DocumentReference.content[].attachment.url` was followed during reference resolution — rendered diagnostic reports (for example, a pathologist's signed PDF referenced via `DiagnosticReport.presentedForm[].url`) were silently skipped, so the structured `result` Observations were returned but the rendered report was not. Both relative `Binary/{id}` and audience-scoped absolute `{endpoint}/Binary/{id}` presentedForm urls now flow through the same extraction path. See [DocumentReference › Binary Attachments](https://www.flexpa.com/docs/fhir/document-reference#binary-attachments) for details.

## 2026-04-07

Identity-verified (IAL2) Patient resources now include a `meta.security` label indicating their [identity assurance level](https://www.flexpa.com/docs/guides/patient-linking#identity-assurance). The security coding uses [NIST SP 800-63A](https://pages.nist.gov/800-63-4/) identity assurance levels, allowing your application to programmatically distinguish identity-verified master patients from source-specific patients. See [Patient linking](https://www.flexpa.com/docs/guides/patient-linking) and the [Patient](https://www.flexpa.com/docs/fhir/patient) schema reference for details.

## 2026-04-06

Two new test endpoints are now available in Flexpa Consent test mode: **Acme Health Plan** (payer) and **YourChart** (provider). Unlike FooMedical, these test endpoints don't require credentials — simply select a patient to complete the flow. See [Test mode](https://www.flexpa.com/docs/test-mode) for details.

## 2026-03-31

The [Token endpoint](https://www.flexpa.com/docs/consent#token) no longer returns `410 Gone` when refreshing a token whose associated data has been expunged. Previously, if all expunge jobs for a consent had completed before the client refreshed, the endpoint returned a `410` with `"Patient data is no longer available"` — permanently blocking token refresh even though the authorization was still valid. The token endpoint now returns a successful `200` response with refreshed tokens, allowing the client to continue making requests.

## 2026-03-30

[Webhook](https://www.flexpa.com/docs/records/webhooks) payloads for `sync_completed` and `sync_failed` events now include a `consent_id` field in the `data` object. This is the [consent](https://www.flexpa.com/docs/consent#consent-1) ID associated with the patient authorization, making it easier to correlate webhook events back to a specific Flexpa Consent session.

## 2026-03-29

Updated FHIR resource documentation for [Condition](https://www.flexpa.com/docs/fhir/condition), [Encounter](https://www.flexpa.com/docs/fhir/encounter), and [Procedure](https://www.flexpa.com/docs/fhir/procedure) to align with [US Core STU 6.1](http://hl7.org/fhir/us/core/STU6.1/) and [USCDI v3](https://www.healthit.gov/isa/united-states-core-data-interoperability-uscdi#uscdi-v3).

## 2026-03-27

Flexpa API now supports **[claims to clinical resource generation](https://www.flexpa.com/docs/records/claims-to-clinical)**. The resource
generation pipeline derives US Core-conformant clinical resources from ExplanationOfBenefit claims data.

- **Encounter** — class determination from POS codes, revenue codes, type-of-bill, and CPT codes; SNOMED typing; period derivation with fallback chains
- **Condition** — diagnosis extraction from EOB with deduplication, NullFlavor filtering, and recorded date resolution
- **Procedure** — two-phase extraction from `eob.procedure[]` and `eob.item[]` with procedural code classification and phase-dependent deduplication
- **Provenance** — links all generated resources back to the source EOB
- **Deterministic IDs** — UUIDv5 hashes ensure idempotent output across re-syncs
- **Claims-derived extension** — marks generated resources so your application can distinguish them from natively-sourced data

## 2026-03-24

[Flexpa Portal](https://portal.flexpa.com) now supports configuring which identity providers are available to patients during the [TEFCA IAS](https://www.flexpa.com/docs/network/cms#capability-2-ial2-digital-identity-for-record-access) consent flow. In Application Settings, you can restrict identity verification to CLEAR, ID.me, or both — and Flexpa Consent will dynamically show only the allowed identity providers. By default, all supported identity providers are available.

## 2026-03-19

Flexpa Consent now allows patients to complete the TEFCA IAS consent flow even when no facility records are found.
The authorization grants access to the patient's verified Patient resource and continues to refresh automatically — so
if the patient visits a provider in the future, new records will appear without requiring re-authorization.

## 2026-03-16

The [Consent Management API](https://www.flexpa.com/docs/consent#rest-api) now includes `type` and `identityProvider` on patient authorizations.

## 2026-03-16

Flexpa API now handles linked-patient record aggregation more consistently for both `Patient/$everything` and
`Patient/$summary` in multi-source IAL2 flows.

- **`Patient/$everything` preserves query params across linked records** — When a wildcard patient request resolves to multiple `seealso`-linked Patient resources, forwarded query parameters like `_type`, `_since`, and `_count` are now preserved across both the primary fetch and linked-patient fetches.
- **`Patient/$summary` follows the same linked-patient behavior** — Summary generation now uses the same linked-patient aggregation path for wildcard patient requests before applying consent filtering and building the IPS document bundle.

## 2026-03-13

The [Token endpoint](https://www.flexpa.com/docs/consent#token) now supports `client_id` as an alternative to Basic Auth for the `refresh_token` grant type. Public clients — such as mobile apps — that cannot securely store a secret key can now refresh access tokens by passing their publishable key as `client_id` in the request body, with no `Authorization` header required. This follows the OAuth 2.0 standard for public client token refresh ([RFC 6749 §6](https://datatracker.ietf.org/doc/html/rfc6749#section-6), [RFC 8252](https://datatracker.ietf.org/doc/html/rfc8252)).

Flexpa API now applies improved code system normalization during sync:

- ICD-10 codes in procedure context with a valid PCS-format code are normalized to ICD-10-PCS
- ICD-9 variants are normalized to ICD-9-CM
- HCPCS URIs with incorrect schemes or casing are corrected

This improves consistency of `coding.system` values across payers.

## 2026-03-10

**[C-CDA to FHIR transforms](https://www.flexpa.com/docs/network/cms#c-cda-to-fhir-transforms) are now available in live mode.** Flexpa automatically converts C-CDA clinical documents retrieved via [TEFCA IAS](https://www.flexpa.com/docs/network/cms#capability-2-ial2-digital-identity-for-record-access) into discrete FHIR resources (Condition, MedicationRequest, Observation, and more) that can be queried individually through Flexpa API — no XML parsing required.

## 2026-03-06

New patient guide: **[Identity verification with CLEAR and ID.me](https://www.flexpa.com/docs/guides/patient/steps-to-connect)** — a comprehensive walkthrough for patients connecting their health records through TEFCA identity verification. Covers what identity verification is, how it works with CLEAR and ID.me, step-by-step instructions with screenshots, facility sign-in requirements, privacy and security information, and troubleshooting resources.

## 2026-03-05

The [Endpoint Directory](https://www.flexpa.com/docs/network/directory) now includes endpoints from **eClinicalWorks** (Healow), adding over **14,700 new provider endpoints**. Patients can now connect to eClinicalWorks-powered practices through Flexpa using SMART on FHIR Patient Access APIs.

## 2026-03-04

[Flexpa Portal](https://portal.flexpa.com) now supports **self-service webhook management** in Application Settings. You can add, view, and delete [webhooks](https://www.flexpa.com/docs/records/webhooks) for both test and live mode directly from the portal — no more emailing support. Webhook secrets are shown once on creation for you to save securely.

## 2026-03-03

**Dark mode for Flexpa Consent.** The consent experience now supports dark mode. All UI colors have been migrated from hardcoded values to a semantic CSS variable system with light and dark theme variants, following the Figma "Color Transitions-v2" spec. Dark mode illustrations, card tokens, and accessible contrast adjustments are included throughout. A sun/moon toggle in the header lets users switch modes manually, and OS preference (`prefers-color-scheme`) is detected automatically. Customers can configure their preferred color scheme — light, dark, or system — as an Application-level setting in the [Flexpa Portal](https://portal.flexpa.com), which is applied automatically when the consent flow loads.

**TEFCA IAS is now available in live mode.**
Patients can verify their identity once through CLEAR or ID.me and retrieve clinical records from across the [TEFCA network](https://www.flexpa.com/docs/network#nationwide-exchanges) — 56,000+ facilities nationwide — without portal logins.
Enable it by passing `flexpa_ial2_mode=true` to the authorization URL. See the [CMS Aligned Networks](https://www.flexpa.com/docs/network/cms#capability-2-ial2-digital-identity-for-record-access) documentation for the full integration guide.

**C-CDA to FHIR transforms are now available in test mode.** Flexpa automatically converts C-CDA clinical documents retrieved via TEFCA into structured FHIR resources (Condition, MedicationRequest, Observation, Procedure, AllergyIntolerance, Immunization, and more) that can be queried individually through Flexpa API. Each source [DocumentReference](https://www.flexpa.com/docs/fhir/document-reference) is tagged with its transformation status (`transformed`, `not-ccda`, or `not-transformed`), and a [Provenance](https://www.flexpa.com/docs/fhir/provenance) resource links every derived resource back to its source document. See the [C-CDA to FHIR transforms](https://www.flexpa.com/docs/network/cms#c-cda-to-fhir-transforms) documentation for details.

## 2026-02-26

The [Consent Management API](https://www.flexpa.com/docs/consent#rest-api) now supports **listing consents** using an [Application Access Token](https://www.flexpa.com/docs/records#application-access-token). `GET /rest/consent` with an application token returns a paginated list of all consents for your application, making it easier to discover and look up specific patient authorizations.

- **Pagination** — Results are cursor-based with configurable `limit` (default 20). Use the `nextCursor` from the response `meta` to page through results.
- **New consent-level fields** — Both list and detail responses now include `state`, `mode`, and `applicationUser` on each consent record.

## 2026-02-25

New guide: **[AWS HealthLake integration](https://www.flexpa.com/docs/guides/healthlake)** — a step-by-step walkthrough for storing Flexpa health records in AWS HealthLake. Covers data store setup, IAM permissions, SigV4 authentication, the `$everything` → transaction bundle sync pattern, update-as-create idempotency, `_tag` search by consent, and multi-payer workflows.

The [Endpoint Directory](https://www.flexpa.com/docs/network/directory) is now available as a public [MCP server](https://www.flexpa.com/docs/network/directory-tools) at `https://api.flexpa.com/mcp/directory`. AI agents can search for payers and providers, validate line of business support, and determine the correct authentication flow — all without requiring authentication.

The server includes four tools (`search_endpoints`, `get_endpoint_details`, `check_lob_support`, `list_endpoints`) and three prompts (`find_insurance`, `find_provider`, `explore_directory`) that guide AI through payer and provider identification workflows, including BCBS state disambiguation and Medicaid regional plan routing.

## 2026-02-22

Flexpa API now automatically enriches FHIR Condition resources with **chronicity** and **clinical classification**
data during sync, using two datasets from AHRQ's [Healthcare Cost and Utilization Project
(HCUP)](https://hcup-us.ahrq.gov/):

- **Chronic condition flagging** — Conditions whose ICD-10-CM codes match the [Chronic Condition Indicator Refined (CCIR)](https://hcup-us.ahrq.gov/toolssoftware/chronic_icd10/chronic_icd10.jsp) dataset are enriched with a FHIR extension (`http://hl7.org/fhir/StructureDefinition/condition-related`) using a `valueCoding` from `https://api.flexpa.com/fhir/StructureDefinition/condition-chronicity` — classified as Chronic (`C`), Not Chronic (`NC`), or Unknown (`U`) — making it easy to filter and prioritize long-term health issues without post-processing.
- **CCSR clinical categories** — ICD-10-CM codes are mapped to 530+ clinical categories across 22 body systems using the [Clinical Classifications Software Refined (CCSR)](https://hcup-us.ahrq.gov/toolssoftware/ccsr/ccs_refined.jsp) dataset. Categories are added to `code.coding` and body systems to `category`, enabling queries like "show me all cardiac conditions" or "group by body system" without post-processing.

## 2026-02-20

[Flexpa Portal](https://portal.flexpa.com) has been redesigned with a new **sidebar-first layout**, updated typography, and a redesigned home page. The home page now includes a progress tracker that guides you through going live and resource cards linking to key parts of the platform.

**AI Chat Assistant** — The portal now includes an AI chat assistant scoped to your workspace. You can look up patient authorizations by ID or external user ID, generate timing reports, and ask questions about your integration — all from within the portal. Responses stream in real time with syntax-highlighted code blocks.

**Data Views** — A new Views page lets you browse and export pre-built templates that transform nested FHIR resources into flat, tabular formats ready for spreadsheets or data pipelines. Templates are available for common resource types including ExplanationOfBenefit, Patient, Claims, Procedures, and Medication Requests. These are built on the [SQL on FHIR ViewDefinition](https://build.fhir.org/ig/FHIR/sql-on-fhir-v2/) spec, and each column includes a human-readable description so you can understand what each field represents without referencing the FHIR spec directly. Contact [support@flexpa.com](mailto:support@flexpa.com) to learn how to use Data Views with your integration.

## 2026-02-18

[Flexpa Portal](https://portal.flexpa.com) now supports **Single Sign-On (SSO)** via SAML and **Directory Sync** via SCIM. Workspace admins can configure their identity provider, enable or enforce SSO for all members, and set up directory sync for automatic user provisioning and deprovisioning.

SSO is available on request and may incur extra service charges depending on your contract — contact [support@flexpa.com](mailto:support@flexpa.com) to enable it for your workspace.

## 2026-02-17

Refresh tokens are now available for IAL2 Consents, starting with CLEAR. When `offline_access` is included in the authorization scope, IAL2 patient authorizations are created with `MULTIPLE` usage, enabling automatic data refreshes via CLEAR's refresh token flow.

## 2026-02-16

Flexpa API now supports the `Patient/$summary` operation, which returns an [International Patient Summary
(IPS)](https://hl7.org/fhir/uv/ips/) document for a given patient. The IPS is a standards-based clinical summary
containing key health information — medications, allergies, conditions, immunizations, procedures, and more — organized
as a FHIR Bundle of type "document". See the [Records documentation](https://www.flexpa.com/docs/records#patient-summary) for details.

## 2026-02-07

The [Endpoint Directory](https://www.flexpa.com/docs/network/directory) now includes endpoints from **Epic** and **Cerner** (Oracle Health), sourced from their published [User Access Brands](https://chpl.healthit.gov/#/search). Flexpa supports all [ONC (g)(10) certified](https://www.healthit.gov/condition-ccg/standardized-api-patient-and-population-services) sources as made available through these published brands.

The directory now covers both **payer** Patient Access APIs and **provider** EHR APIs in one place. See the [Medical Record Systems](https://www.flexpa.com/docs/network#medical-record-systems) documentation for integration details.

## 2026-02-04

We launched our new SMART on FHIR–aligned OAuth 2.0 PKCE Consent flow for patient authorization. This is a full modernization of Flexpa's auth stack, replacing the legacy FlexpaLink flow for new integrations with standardized OAuth endpoints for authorization, token exchange, introspection, and revocation.

Why this matters:

- **Standards-aligned**: Built for SMART on FHIR + OAuth 2.0 PKCE
- **Stronger security**: Public-client friendly flow with PKCE by default
- **Cleaner integrations**: Fewer bespoke SDK assumptions, easier to adopt across web and mobile

See the [Consent Docs](https://www.flexpa.com/docs/consent) for the full reference and implementation details.

## 2026-02-02

[Flexpa Portal](https://portal.flexpa.com) now includes enhanced analytics and diagnostic tools:

- **EOB Success Rate**: Track how many authorizations successfully retrieve claims data
- **Abandonment Details**: See why users drop off with explanations for each abandonment method
- **Timing Reports**: Download CSV reports with detailed timing data to identify performance bottlenecks

## 2026-01-30

Flexpa API now supports a new `sync_failed` [webhook event](https://www.flexpa.com/docs/records/webhooks). When a patient data
synchronization fails, Flexpa will send a webhook notification so you can alert users or trigger retry logic.

This complements the existing `sync_completed` event and provides full visibility into the sync lifecycle.

## 2026-01-29

Flexpa API now allows FHIR requests to proceed when an auto-update sync fails, as long as there was a previous
successful sync. Previously, requests would return a 422 error when the most recent sync job failed, even if there was
existing FHIR data from a prior successful sync.

This improvement ensures that transient sync failures during automatic data refreshes no longer block access to previously synced patient data.

## 2026-01-27

We've significantly expanded the data available in [Test Mode](https://www.flexpa.com/docs/test-mode) patient accounts. Several test patients now include rich clinical data in addition to their existing Coverage and ExplanationOfBenefit resources.

**Enhanced test patients:**

- **patient2** (Aetna): Rich clinical data including Encounter, DiagnosticReport, MedicationDispense, and CarePlan
- **patient3** (Humana): Clinical data including CarePlan, CareTeam, Goal, and MedicationRequest
- **patient12** (UnitedHealthcare): Clinical data including Encounter, MedicationDispense, Immunization, and DocumentReference
- **patient13** (BCBS Texas): Rich clinical data including DiagnosticReport, CarePlan, CareTeam, and Goal
- **patient17** (Anthem Elevance): Rich clinical data including Claim, ServiceRequest, QuestionnaireResponse, and Encounter

These enhancements enable more comprehensive testing of clinical data integration workflows. See the [Test Mode documentation](https://www.flexpa.com/docs/test-mode) for complete details on each test patient.

## 2026-01-26

The `/link/refresh` endpoint has been removed from Flexpa API.
This endpoint was deprecated on June 1st, 2024, and has now been fully decommissioned.
Customers should use the [Multiple Use](https://www.flexpa.com/docs/guides/usage) authorization pattern with the `/link/token` endpoint to obtain new access tokens when needed.

## 2026-01-23

Flexpa API now provides a Consent Management API with two endpoints: - `GET /rest/consent` - Returns the consent
associated with the authenticated patient access token - `GET /rest/consent/:consentId` - Returns a specific consent by
ID (works with both patient and application access tokens)

These endpoints provide visibility into patient consent records and their associated authorizations, including which SMART scopes were requested, granted, and rejected during the authorization flow.

The `scope` object returned for each authorization includes:

- `requested`: The SMART scopes that were requested during authorization.
- `granted`: The scopes that were actually granted by the authorization server.
- `rejected`: Resource-specific scopes that were requested but not granted, indicating user rejection or endpoint limitations.

This information helps you understand exactly what data access permissions were granted for each patient authorization and identify when patients have declined access to specific resource types.

## 2026-01-21

Flexpa API now supports the [Model Context Protocol (MCP)](https://www.flexpa.com/docs/guides/agents), enabling AI agents like Claude
Desktop and Claude Code to access patient health data with proper authorization.

**What's included:**

- **MCP Server endpoint** at `/mcp` with SSE transport
- **Health data tools**: `get_patient`, `get_coverage`, `get_claims`, `get_health_summary`
- **FHIR resources**: Direct access to Patient, Coverage, and ExplanationOfBenefit bundles
- **Simplified views**: Pre-formatted patient demographics, insurance cards, and health summaries

This opens up new possibilities for AI-assisted healthcare applications where patients can ask natural language questions about their health data.

## 2026-01-18

We've launched a new analytics dashboard in [Flexpa Portal](https://portal.flexpa.com), giving you real-time visibility into your integration performance.

**What's New:**

- **User Conversion**: Track successful authentications, abandonments, and errors
- **EOB Success Rate**: Monitor how many successful connections retrieve claims data
- **Abandonment Reasons**: Understand why users drop off (credential issues, timeouts, payer errors, etc.)
- **Conversion Trends**: Visualize daily authorization patterns over 7, 30, or 90-day periods
- **Top Endpoints**: See which payers your users connect to most frequently

## 2026-01-16

Flexpa API now supports the [ViewDefinition/$run](https://www.flexpa.com/docs/records#viewdefinition-run) operation. We parse the FHIR
resources for you and return exactly the data points you need.

**Why this matters:**

- **Skip FHIR parsing entirely** — Get exactly the fields you need, labeled the way you want
- **Reduce integration complexity** — Eliminate hundreds of lines of parsing code
- **JSON or CSV output** — Choose the format that fits your workflow
- **We'll help you get started** — Tell us what data you need, and we can help craft a ViewDefinition for you

This operation executes a ViewDefinition against your patient's FHIR resources and returns rows of structured data. It's the fastest path from patient consent to actionable data.

See the [API reference](https://www.flexpa.com/docs/records#viewdefinition-run) and our updated [parsing guide](https://www.flexpa.com/docs/guides/parsing-fhir) for details.

## 2026-01-14

The SMART Health Links API now supports larger request payloads. The `POST /smart/health-links` endpoint body limit has been increased from 1MB to 10MB to accommodate comprehensive patient records.

## 2025-12-18

We've added a new API key management interface to [Flexpa Portal](https://portal.flexpa.com) that provides full control over your secret API keys for both TEST and LIVE modes.

**Key features**

- **Create Secret Keys**: Generate new secret keys with optional names and automatic key hint display for easy identification
- **Rotate Keys**: Rotate existing secret keys with immediate or delayed expiry to support zero-downtime deployments
- **Revoke Keys**: Expire secret keys immediately when they're no longer needed
- **Key Limit Indicator**: Visual display of active secret keys with a maximum limit of 10 per mode
- **Role-Based Access Control**: Admin-only access for all live mode key operations (create, rotate, revoke)
- **User Tracking**: Each secret key displays the email of the user who created it for audit purposes

## 2025-12-11

Flexpa API now supports the [Group $expunge](https://www.flexpa.com/docs/fhir/group#expunge) operation. This operation allows you to
permanently delete all Patient resources and associated clinical data for an authorization. When called, the operation
searches for all patients tagged with the authorization and expunges each one along with all their clinical data,
returning an OperationOutcome with detailed results for each patient.

## 2025-11-26

We've updated our Patient Access API endpoint status system to provide clearer, more transparent information about endpoint connectivity. All existing endpoints have been seamlessly migrated to the new status system with no impact to functionality.

**New Status Definitions**

- **Connected:** We have an active connection with this endpoint and it is available for use.
- **In Progress:** Implementation is actively underway, either from our side (configuration) or the payer's side (preparing their endpoint).
- **Unknown:** We don't yet have enough information about this endpoint to determine its availability or readiness.
- **Unavailable:** The endpoint exists but is not available for connection (payer declined, temporarily unavailable, or specific reasons preventing connection).
- **Broken:** The endpoint has fundamental issues with no clear path to resolution at this time.

You can check the current status of any endpoint in our [Endpoint Directory](https://www.flexpa.com/docs/network/directory).

## 2025-11-09

We've added automatic [Group](https://www.flexpa.com/docs/fhir/group) resource generation and enhanced our FHIR documentation:

- **Group Resources**: Flexpa API now automatically creates a Group resource during each [sync job](https://www.flexpa.com/docs/records#sync-job-states) containing references to all Patient resources retrieved. The Group ID matches the patient authorization ID for easy querying.
- **Documentation Updates**: Added comprehensive documentation for [Group](https://www.flexpa.com/docs/fhir/group) and [DocumentReference](https://www.flexpa.com/docs/fhir/document-reference) resources.

## 2025-09-30

We've implemented the [llms.txt specification](https://llmstxt.org) to make Flexpa documentation more accessible to LLMs and AI agents. The `/llms.txt` file provides a structured, machine-readable index of our documentation that follows an emerging standard for LLM-friendly documentation discovery.

This enhancement helps developers using AI coding assistants like Claude Code, Cursor, and GitHub Copilot to more easily access relevant Flexpa documentation during development. The file is available at [flexpa.com/docs/llms.txt](https://www.flexpa.com/docs/llms.txt) and includes organized sections for core concepts, API references, guides, and FHIR resources.

## 2025-09-15

Flexpa Consent now supports custom iframe placement through the new `onIframeCreated` callback parameter. This
enhancement enables developers to embed Flexpa Link inline within their application layouts rather than only as a modal
overlay.

### Key features

- **Custom Container Placement**: When the `onIframeCreated` callback is provided, you receive the iframe element and are responsible for appending it to your desired container
- **Automatic Inline Styling**: When using custom placement, the iframe automatically adjusts its styling to fit within your container instead of using fixed modal positioning
- **Backward Compatible**: Existing implementations continue to work without any changes - the modal behavior remains the default when the callback is not provided

## 2025-08-15

We've launched the SMART Health Links API, enabling secure sharing of encrypted health data through QR codes and shareable URLs. This implementation fully complies with the [HL7 FHIR SMART Health Cards and Links STU1](https://hl7.org/fhir/uv/smart-health-cards-and-links/STU1/links-specification.html) specification.

### Key features

- **Secure Data Sharing**: Create shareable links containing encrypted health data that recipients can access via QR codes or direct URLs
- **Flexible Access Controls**: Support for passcode protection, automatic expiration, and direct transfer modes
- **Enterprise Infrastructure**: Built on Flexpa's proven platform with automatic cleanup, comprehensive error handling, and full audit logging
- **Multiple Content Types**: Package SMART Health Cards, FHIR Bundles, or structured health data into a single shareable link

SMART Health Links provide a standards-based approach to health data sharing, perfect for [Kill the Clipboard](https://www.flexpa.com/kill-the-clipboard) initiatives, CMS Aligned Networks participation, and enabling patient-controlled data portability.

## 2025-08-13

The `/link/exchange` endpoint now includes a `sub` field in the response containing the unique patient authorization ID. This field provides a stable identifier that can be used to track patient authorizations across token refreshes and API calls.

## 2025-08-08

Flexpa Consent now supports a new `lineOfBusiness` parameter to optionally skip the line of business selection screen
when developers already know the patient's insurance plan type. This enhancement can streamline the authorization flow.

The `lineOfBusiness` parameter accepts the following values:

- `EMPLOYER` - For employer-sponsored health plans
- `OFF_EXCHANGE` - For off-marketplace individual plans
- `MEDICARE_ADV` - For Medicare Advantage plans
- `ON_EXCHANGE` - For marketplace/ACA plans
- `MEDICAID` - For Medicaid plans

When the `lineOfBusiness` parameter is provided to the `create()` method, the line of business selection screen is automatically skipped. The system validates that the provided line of business is supported by the selected endpoint and handles any validation errors appropriately.

## 2025-08-08

We've added uptime monitoring for SMART on FHIR authorization endpoints in the Network Directory. Each endpoint detail page now displays a 90-day uptime visualization showing the availability status of the authorization endpoint.

The uptime monitor runs automated checks every 12 hours to verify endpoint accessibility and tracks whether the authorization flow is available, degraded, or unavailable. This transparency helps developers and healthcare organizations understand the real-time reliability of patient authorization flows across the network.

## 2025-08-01

We've launched SMART Health Cards support with the new `Patient/$health-cards-issue` operation. This FHIR operation allows you to generate verifiable health credentials containing patient data as digitally signed SMART Health Cards.

The implementation follows the [SMART Health Cards specification](https://spec.smarthealth.cards/) and supports:

- **Verifiable Credentials**: Generate W3C compliant verifiable credentials with patient health data
- **Digital Signatures**: Cards are signed with ES256 cryptographic signatures for authenticity
- **Complete Patient Data**: Uses `Patient/$everything` to include comprehensive health records

SMART Health Cards enable patients to share their health information in a secure, verifiable format that can be trusted by healthcare providers, employers, and other organizations.

## 2025-07-07

We've added custom search handling for Anthem and Blue Cross Blue Shield plans within Flexpa Consent. Anthem and BCBS Organizations and the states they serve have a notoriously confusing hierarchy of sub-brands and companies. For example, in New York, the state is split regionally between Anthem, Excellus, and two Highmark plans.

The improvement addresses this complexity by standardizing how BCBS plans appear in search results. We have standardized the naming convention of all BCBS plans and their subsidiary brands, hidden confusing names from autocomplete, and gave all plans a consistent "Blue Cross Blue Shield of [State]" formatting to match member mental models.

When users search for Blue Cross Blue Shield plans, they'll now see a dedicated catch-all option that leads to a comprehensive directory showing all available BCBS endpoints sorted alphabetically by state. This eliminates the guesswork that previously frustrated users trying to navigate the complex BCBS landscape.

Beyond BCBS-specific improvements, we've enhanced the overall search experience by tightening matching criteria to return more relevant results and improving the highlighting logic to better emphasize exact matches. Overall we hope these improvements drastically enhance the search and discovery process.

## 2025-06-30

We've enhanced Flexpa Consent with geolocation-weighted search to help patients find relevant health plans more quickly. The health plan search now prioritizes organizations that operate in the patient's location while still providing access to all available plans.

This improvement uses CDN geolocation headers to detect the patient's state and gives a 25% ranking boost to health plans that operate in their area. For example, patients in California will see Kaiser Permanente and other California-based plans ranked higher in search results.

The feature works seamlessly in the background - patients don't need to take any additional steps, and the search remains fully functional even when geolocation data isn't available.

## 2025-04-29

We've improved our FHIR data quality by implementing the standard `data-absent-reason` extension for handling missing required properties. Previously, these were represented with text values like "Undefined by source".

Now, missing required properties use the FHIR extension with `valueCode: "unknown"`.

*data-absent-reason extension example*

```json
{
  "resourceType": "ExplanationOfBenefit",
  "insurer": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
        "valueCode": "unknown"
      }
    ]
  }
}
```

This change ensures our FHIR resources follow the standard more closely and improves interoperability with other FHIR systems.

## 2025-04-22

We've added a new `usage` parameter to the [link/token](https://www.flexpa.com/docs/records#token-endpoint) response when using the `refresh_token` grant type. This parameter indicates whether the patient authorization is a `ONE_TIME` or `MULTIPLE` usage authorization, allowing developers to easily determine the authorization type in their token refresh flow.

## 2025-03-24

We've added a new **[Provider Directory](https://www.flexpa.com/docs/records#provider-directory)** to the Flexpa API, powered by NPPES data. This directory allows you to search for healthcare providers and organizations using FHIR's standard search capabilities.

The Provider Directory includes:

- **Practitioner** resources for individual healthcare providers
- **Organization** resources for healthcare facilities and groups

You can search by NPI, name, location, and other criteria using an [Application Access Token](https://www.flexpa.com/docs/records#application-access-token).

## 2025-03-21

We've added client credentials flow to the [Node SDK](https://www.flexpa.com/docs/records/node-sdk), enabling server-to-server authentication for application access tokens. This allows you to make requests to the Flexpa FHIR API without requiring a patient context using the new `FlexpaClient.fromClientCredentials()` method.

We've also enhanced our FHIR transformation documentation to provide clearer guidance on how Flexpa transforms FHIR data. The documentation now details [Tags](https://www.flexpa.com/docs/records#tags), [Identifiers](https://www.flexpa.com/docs/records#identifiers), [References](https://www.flexpa.com/docs/records#references), [Fallbacks](https://www.flexpa.com/docs/records#fallbacks), and [NPIs](https://www.flexpa.com/docs/records#npis).

## 2025-03-17

We've added detailed schema definitions for the [Practitioner](https://www.flexpa.com/docs/fhir/practitioner) and [Organization](https://www.flexpa.com/docs/fhir/organization) resource types. These schemas provide a comprehensive overview of the structure and data types you can expect when working with provider data through the Flexpa API.

## 2025-03-14

We've introduced a powerful new authentication feature to the Flexpa API: **[Application Access Tokens](https://www.flexpa.com/docs/records#application-access-token)**. These tokens provide application-level authentication for the Flexpa FHIR API, distinct from patient-level access. With Application Access Tokens, you can make requests to the API without requiring a patient context.

Application Access Tokens are implemented using the OAuth 2.0 **[Client Credentials Grant Flow](https://www.flexpa.com/docs/records#token-endpoint)**, which enables secure server-to-server authentication using your application's credentials. These tokens use the JWT format with ES256 signatures and have a short 30-minute lifetime for enhanced security.

You can obtain Application Access Tokens through our [Token Endpoint](https://www.flexpa.com/docs/records#token-endpoint), the same endpoint used for refreshing Patient Access Tokens.

## 2025-02-26

The `timeUntilMaxAuth` response parameter has been added to the [link/token](https://www.flexpa.com/docs/records#token-refresh) endpoint. This parameter indicates the time (in seconds) until the patient authorization reaches its maximum authorization period, after which the patient will need to re-consent to continue accessing their data.

## 2025-02-25

We've added a new `timeUntilMaxAuth` response parameter to the [link/introspect](https://www.flexpa.com/docs/records#introspect) and [/link/exchange](https://www.flexpa.com/docs/records#exchange) endpoints. This parameter indicates the time (in seconds) until the patient authorization reaches its maximum authorization period, after which the patient will need to re-consent to continue accessing their data. This is particularly useful for applications using `MULTIPLE` [usage](https://www.flexpa.com/docs/guides/usage) patient authorizations to proactively manage re-consent flows.

## 2025-02-10

We've enhanced the Flexpa consent flow to include plan type selection (Medicaid, Medicare Advantage, Individual, or Employer). This additional data point enables our team to provide more targeted and efficient troubleshooting support when needed.

Additionally, we've streamlined the support request process with improved logging capabilities and a more concise form. These updates ensure that when users encounter issues, they can quickly and effectively alert our support team.

## 2025-02-06

We are now requiring the `Bearer` word in the `Authorization` header of FHIR requests.
Authorization headers must be formatted as `Authorization: Bearer <token>`.

Previously, we supported requests without the `Bearer` word.

Requests will continue to work until May 1, 2025.
We will proactively notify and resolve any usage of this deprecated behavior before final removal.

## 2025-02-04

The [Patient $everything](https://www.flexpa.com/docs/records#patient-everything) operation now returns Organization, Location, Practitioner, and Medication resources if they are present in the patient's FHIR data. Previously, the $everything operation was limited to only patient-compartmentalized resources.

## 2025-01-13

`X-Flexpa-Raw: 0 | 1` is now fully deprecated. Flexpa API will now ignore this header. All FHIR requests directly read from our cache.

## 2024-11-05

Flexpa API now supports backfill missing display names for provider codes in the FHIR data that Flexpa receives from
payers. This feature is available for provider codes in the NPI [code system](https://www.flexpa.com/docs/fhir/code-systems).

Payer data can sometimes omit display names for provider codes, which can make it difficult to understand which providers your patients have had claims for.
This feature solves that problem by providing display names for providers directly in the `name` field of the `Practitioner` and `Organization` resources.

*Backfilling Practitioner names*

```json
{
  "resourceType": "Practitioner",
  "id": "123",
  "identifier": [
    {
      "system": "http://hl7.org/fhir/sid/us-npi",
      "value": "1234567890"
    }
  ]
}
```

```json
{
  "resourceType": "Practitioner",
  "id": "123",
  "identifier": [
    {
      "system": "http://hl7.org/fhir/sid/us-npi",
      "value": "1234567890"
    }
  ],
  "name": [
    {
      "given": ["John"],
      "family": "Doe",
      "prefix": ["Dr."],
      "text": "Dr. John Doe"
    }
  ]
}
```

*Backfilling Organization names*

```json
{
  "resourceType": "Organization",
  "id": "123",
  "identifier": [
    {
      "system": "http://hl7.org/fhir/sid/us-npi",
      "value": "1234567890"
    }
  ]
}
```

```json
{
  "resourceType": "Organization",
  "id": "123",
  "identifier": [
    {
      "system": "http://hl7.org/fhir/sid/us-npi",
      "value": "1234567890"
    }
  ],
  "name": "ABC Family Medical Center"
}
```

## 2024-10-30

We've launched a feature to backfill missing display names for medication codes in the explanation of benefit FHIR data that Flexpa receives from payers.
This feature is available for medication codes in the NDC [code system](https://www.flexpa.com/docs/fhir/code-systems).

Payer data can sometimes omit display names for medication codes, which can make it difficult to understand what medication your patients have had claims for.
This feature solves that problem by providing display names for medication codes directly in the `coding` array.

*Backfilling medication names*

```json
{
  "resourceType": "ExplanationOfBenefit",
  "id": "123",
  "item": [
    {
      "productOrService": {
        "coding": [
          {
            "system": "http://hl7.org/fhir/sid/ndc",
            "code": "0777310502"
          }
        ]
      }
    }
  ]
}
```

```json
{
  "resourceType": "ExplanationOfBenefit",
  "id": "123",
  "item": [
    {
      "productOrService": {
        "coding": [
          {
            "system": "http://hl7.org/fhir/sid/ndc",
            "code": "0777-3105-02",
            "display": "Prozac 20 mg"
          }
        ]
      }
    }
  ]
}
```

## 2024-10-08

We've expanded our adjudication code normalization logic to now include codes in the itemized field of an ExplanationOfBenefit.
For [supported endpoints](https://www.flexpa.com/docs/guides/financial#code-normalization), the `item[x].adjudication` array will now contain a consistent set of codes.
Previously only the `total` array was normalized.

This change allows developers to reliably understand the adjudication breakdown of ExplanationOfBenefit resources at the item level.

## 2024-09-16

We've renamed the _Access Tokens Logs_ page in [Flexpa Portal](https://portal.flexpa.com) to _Authorization Logs_.
This change is to better reflect the data displayed in the logs and aligns with the data available in the [introspect](https://www.flexpa.com/docs/records#introspect) route.
We've also removed the current and refreshed from fields as they are not associated with a specific patient authorization.

## 2024-09-13

We've updated `/link/introspect` to return the counts of currently accessible resources for the patient in the `sync.resourceTypes` property.

## 2024-09-10

We are adjusting one of the small transformations we make to data ingested by our system. Specifically, we are replacing one of the systems we use to [tag resources](https://www.flexpa.com/docs/records#transformation). Previously we would tag the resources with a system of `"https://fhir.flexpa.com/identifiers/PatientAccessTokenMode"`. This was meant to represent the mode of authorization used. However, it was a misnomer. Now it is correctly named `"https://fhir.flexpa.com/identifiers/PatientAuthorizationMode"`.

This data will not be changed retroactively.

## 2024-08-05

We've added a new [guide](https://www.flexpa.com/docs/guides/financial) to help you understand how to work with financial data in FHIR.

This guide covers the theory of financial [liability](https://www.flexpa.com/docs/guides/financial#liability) and [payments](https://www.flexpa.com/docs/guides/financial#payments) in FHIR and describes how Flexpa [normalizes](https://www.flexpa.com/docs/guides/financial#code-normalization) financial data from payers to make it easy to work with.

## 2024-07-31

The [Exchange API](https://www.flexpa.com/docs/records#exchange) now includes a `user` property in the response body.

This change makes it easier to associate a patient access token with a user in your system.

## 2024-06-17

We've published a new [usage guide](https://www.flexpa.com/docs/guides/usage) to help clarify each flow and help you make a decision based on your data usage needs.

## 2024-06-13

Flexpa now maps old adjudication codes from v0.1.0 of the CARIN BB FHIR IG to the latest adjudication codes from v2.0.0.

This change ensures that developers can work more reliably with adjudication codes.
Specifically, developers no longer need to worry about which version of the CARIN BB FHIR IG an ExplanationOfBenefit resource conforms to.

For more information on how Flexpa maps these codes, see the [Adjudication](https://www.flexpa.com/docs/guides/financial#code-normalization) section of the Financial guide.

## 2024-06-07

The [Introspect API](https://www.flexpa.com/docs/records#introspect) now includes an `active` response field. The `active` field is a boolean that states whether the access token can be used.

## 2024-05-30

The `usage` parameter is now a required field in the `create()` method of Flexpa Consent.
This parameter determines the duration of the patient authorization and can be set to either `ONE_TIME` for 24-hour access or `MULTIPLE` for ongoing access.
For more details, please refer to the [Flexpa Link documentation](https://www.flexpa.com/docs/records#create).

## 2024-05-20

In Flexpa Consent, when `MULTIPLE` is used as the [`usage`](https://www.flexpa.com/docs/records#create) param and the
user-selected [endpoint](https://www.flexpa.com/docs/network/directory) has `refreshable` set to `false`, we now automatically
fallback the `usage` value to `ONE_TIME` for any relevant patient authorizations.

This means that you will not incur charges related to auto-updating for endpoints that cannot be refreshed.

You can view the `usage` value in the response of the [Exchange](https://www.flexpa.com/docs/records#exchange) and [Introspect](https://www.flexpa.com/docs/records#introspect) APIs.

## 2024-05-17

We have updated our Test Mode policy. Starting today, using Test Mode requires the signing of a [Service Agreement](https://www.flexpa.com/docs/test-mode#sign-the-flexpa-service-agreement).

Please note there is now a monthly platform fee to ensure best-in-class integration support by our engineering team.

## 2024-04-26

The `/link/refresh` API will be officially deprecated on June 1st, 2024.
After this date you will no longer be able to use the `/link/refresh` API.
We urge you to begin transitioning as soon as possible to avoid any service interruptions.

Our [Multiple Use](https://www.flexpa.com/docs/records#create) feature is designed to simplify the management of long-term patient authorizations by maintaining them automatically, ensuring continuous access without the need for manual refreshes.

If you're using the `/link/refresh` API and have questions or need guidance on switching to the Multiple Use feature, contact us at [support@flexpa.com](mailto:support@flexpa.com).

## 2024-04-02

We've updated Flexpa Consent with enhancements to manage long-term patient authorizations better.
The new [usage field](https://www.flexpa.com/docs/records#create) within the `create()` method allows for clear designation between single (`ONE_TIME`) and ongoing (`MULTIPLE`) data access needs.

`MULTIPLE` usage simplifies how you maintain access to patient data over time.
Flexpa automatically keeps patient authorizations active and current, eliminating manual refreshing and resyncing.
This change streamlines the refresh process, eliminating the need to track the variability of refresh expiration periods across different payers.
When using the [Exchange API](https://www.flexpa.com/docs/records#exchange), you'll receive a `refresh_token` that remains valid for a consistent 90-day period.
To generate new access tokens, you can use this `refresh_token` with the new [Token Refresh API](https://www.flexpa.com/docs/records#token-refresh).

With the shift towards a more streamlined approach, we have deprecated our previous refresh API.
Check out the updated Flexpa Consent [documentation](https://www.flexpa.com/docs/records#create) to understand how to incorporate these changes into your workflow.

## 2024-03-14

We've published the [Flexpa Node SDK](https://www.flexpa.com/docs/records/node-sdk) NPM package to make it easier for developers to interact with the [Flexpa API](https://www.flexpa.com/docs/records).
You can install the package by running `yarn install @flexpa/node-sdk` in your project.
See the [docs](https://www.flexpa.com/docs/records/node-sdk) and the [Node SDK package](https://www.npmjs.com/package/@flexpa/node-sdk) for more information on how to use the package.

## 2024-03-05

We've updated the `sync` object to include both the `lastSyncedAt` and `state` fields in the response of the [introspect](https://www.flexpa.com/docs/records#introspect) endpoint.
`lastSyncedAt` indicates when the patient's data was last succesfully synced to our cache, and `state` shows the sync job's current status.
This provides a clearer insight into the freshness of the data.

We also added the same `sync` object to the response of the [exchange](https://www.flexpa.com/docs/records#exchange), and [refresh](https://www.flexpa.com/docs/records#token-refresh) endpoints for a more consistent experience when working with Flexpa API.

## 2024-03-04

Now, the `sub` claim in access tokens obtained through the [exchange](https://www.flexpa.com/docs/records#exchange) and [refresh](https://www.flexpa.com/docs/records#token-refresh) routes consistently uses a unique identifier for each patient authorization initiated via Flexpa Consent.
This identifier ensures continuity and consistency across token refreshes, maintaining a direct association with the specific patient authorization context.
We've also added the claims `aud`, `iss`, and `client_id` to the JWT access token.

## 2024-02-28

Our Developer Portal now uses e-mail based verification during the authentication process instead of a password.
You will now be redirected to https://authentication.flexpa.com to complete the authentication process.

## 2024-02-22

We are now requiring the `create()` method of Flexpa Consent to be called with a `user` object.

This change is to ensure that individuals who authorize via Flexpa are mapped correctly from your application to Flexpa.
This mapping is important for Flexpa to provide the best support to patients and developers.

## 2024-02-09

Our new API architecture is now out of beta and is the default behavior for all customers.
This change ensures a consistent experience for developers with longer access uniformly across all endpoints.

If you would like to discuss the enhanced feature set of the new API or encounter issues, please contact us at [support@flexpa.com](mailto:support@flexpa.com)

## 2024-02-07

We've added a new `sync` property to the response body of the [Introspect API](https://www.flexpa.com/docs/records#introspect) that includes information about the sync job of the patient authorization.
Nested in `sync` is a `resourceTypes` property that summarizes the resource types that were successfully synced after the patient authorized with Flexpa.
`sync.resourceTypes` is an object that includes counts per resource type.

With this information, developers can accurately expect the types of data which is available for a patient to make better-informed decisions about how to retrieve it.

Previously, the response from the [Introspect](https://www.flexpa.com/docs/records#introspect) and [Exchange](https://www.flexpa.com/docs/records#exchange) APIs included a `resources` property that listed the resources that were supported by the payer's FHIR server.
However this information was not always accurate, and it was not always clear which resources were actually available for a patient.
For this reason, we have removed the `resources` property from the response of the Introspect and Exchange APIs.

## 2024-02-05

Flexpa Consent is available in English, Spanish, and now Korean. Users can easily toggle between languages by using the
buttons in the bottom right corner of the UI.

## 2024-02-02

We've added a new optional parameter to Flexpa Consent's [`create`](https://www.flexpa.com/docs/records#create) method: `skipExplainer`.

Setting `skipExplainer` to `true` will skip Flexpa Link's explainer step following the consent screen and instead redirect the patient to their payer authorization immediately after the patient clicks 'Continue' on the consent screen.

## 2024-01-25

The response from the [Introspect API](https://www.flexpa.com/docs/records#introspect) now includes a `user` object containing the `externalId` if one was provided when the authorization was created with Flepxa Link.

## 2024-01-23

We've configured a standard data retention policy in our FHIR server.
Data is automatically deleted from our FHIR server as soon as the access token associated with the data expires.
This means that data older than 24 hours is deleted.

Previously, we did not have a standard data retention policy, and data was stored indefinitely.
This change ensures that we are only storing data for the minimum amount of time necessary to provide our services.

## 2024-01-17

We've standardized access token expiration times to 24 hours for all payers.
This means that all access tokens will expire 24 hours after they are issued by the [Exchange API](https://www.flexpa.com/docs/records#exchange).
The responses from the [Exchange API](https://www.flexpa.com/docs/records#exchange) and [Refresh API](https://www.flexpa.com/docs/records#token-refresh) will now necessarily include an `expires_in` field with a value of `86400` seconds.

Previously, access token expiration times varied by payer, ranging from minutes to hours.
This change will ensure a consistent experience for developers with longer access uniformly across all endpoints.

This change comes as one of the many improvements for developers in our [improved API experience](https://www.flexpa.com/docs/records#fhir-api).

## 2024-01-10

We've added a new optional parameter to Flexpa Consent's [`create`](https://www.flexpa.com/docs/records#create) method: `requestedResources`.

Providing a `requestedResources` array allows you to define specific resource types that are synced for the patient, which can reduce the amount of time you and your patients will wait for the sync to complete.

## 2023-12-05

Flexpa API now supports the [Patient $expunge](https://www.flexpa.com/docs/records#patient-expunge) route. This route allows you to delete
all data scoped in a specific Patient resource compartment while preserving the ability to refresh the patient access
token.

## 2023-11-27

We've updated the `https://api.flexpa.com/fhir/metadata` route to return Flexpa's [CapabilityStatement](https://www.flexpa.com/docs/records#capability-statement).
We've also removed the requirement for an `Authorization` header when making requests to this route.

Previously, this route returned a CapabilityStatement that was generated by the [Endpoint](https://www.flexpa.com/docs/network/directory) FHIR server that a patient was authorized to.
This was not a Flexpa-specific CapabilityStatement and did not include Flexpa-specific information.

Flexpa's CapabilityStatement is the only CapabilityStatement needed to use Flexpa's [new API](#2023-10-17) successfully.

## 2023-11-22

Flexpa Consent will show all payers available in the US, including the appropriate status to indicate whether Flexpa is
still implementing. For payers we are still implementing, it will show "Not yet available" and allow the user to request
the endpoint. This feature allows users to know concretely that they've searched for their payer correctly and allow
them to contact Flexpa about that payer.

Previously, Flexpa Consent only showed payers that Flexpa had completed implementation with and established connectivity.

## 2023-10-27

We've added a new argument to the [`create`](https://www.flexpa.com/docs/records#create) method of Flexpa Consent: `user`.
This argument allows you to pass in a `user` object that will be associated with the patient access token generated by Flexpa Consent.

Providing a `user` object yields the following outcomes:

1. The user can be associated with multiple Patient Access Tokens, allowing for improved insights into user behavior.
2. Flexpa enforces logical isolation of the user's data between family members if the payer does not implement appropriate Access Control Limits.

## 2023-10-17

We've updated the Flexpa API architecture to ensure we consistently deliver the operations and search parameters needed by customers and ensure a reliable, expectable, and performant API experience when making FHIR requests.

You can read more about the new Flexpa API architecture [here](https://www.flexpa.com/docs/records#fhir-api).

The feature is in beta and can be utilized by adding the HTTP header `X-Flexpa-Raw: 0` to FHIR requests.
This will be the API behavior once released to general availability.
After the initial stabilization period, all customers will be migrated to this new architecture.

## 2023-10-10

We've added patient access token logs to [Flexpa Portal](https://portal.flexpa.com) for more streamlined troubleshooting and improved understanding of user behaviors.
You can now see a history of all patient links through your application with information about their state, error messages, and endpoints.

## 2023-10-04

We have added [details](https://www.flexpa.com/docs/test-mode#live-mode-logins) around how customers can validate their live mode connection using our "Flexpa Live Mode Sample Patient" endpoint.

This allows customers to validate their live mode credentials and configuration without having to have a patient authorize with a payer.

## 2023-10-03

We've fixed a bug related to CORS issues and updated our [Quickstart](https://github.com/flexpa/quickstart) to route FHIR requests through the local backend server.
If you are testing with our [Quickstart](https://github.com/flexpa/quickstart), we recommend synchronizing this latest version to understand how to route requests through the backend server.

## 2023-09-18

We've enhanced the workspace dashboard in [Flexpa Portal](https://portal.flexpa.com), adding step-by-step user guidance for test and live mode setup.
This guided experience is designed to offer greater clarity on getting started with Flexpa.

Additionally, the application and team management sections have been moved to separate pages in the sidebar navigation.

## 2023-09-05

You can provide `autoExit: false` to Flexpa Consent's `create` method to prevent the modal/dialog from closing automatically upon completion.
Defaults to `true` if not provided.

## 2023-08-29

We added new documentation about installing Flexpa Consent in [mobile applications](https://www.flexpa.com/docs/records#mobile-applications) to better assist implementers.

## 2023-08-09

We deprecated the /payers route and the `payer` response property of the [endpoints](https://www.flexpa.com/docs/records#endpoints) API.

Instead, developers should reference the [/organizations](https://www.flexpa.com/docs/records#organizations) route and the `organization` response property of the [endpoints](https://www.flexpa.com/docs/records#endpoints) API.

This is the final step of a renaming initiative that was described on [2023-07-19](#2023-07-19).

## 2023-07-19

We renamed the "payers" API to ["organizations"](https://www.flexpa.com/docs/records#organizations) and renamed the `payer` response property of the [endpoints](https://www.flexpa.com/docs/records#endpoints) API to `organization`.

Both old and new naming conventions will be supported until August 9, 2023, after which only the new naming convention will be used.

We did this because an ["organization"](https://www.flexpa.com/docs/records#organizations) can be either a payer, provider, or a vendor entity.

## 2023-07-18

[GET /link/introspect](https://www.flexpa.com/docs/records#introspect) in Flexpa API now has a `state` field in its response. This can be used to determine if a Patient Access Token is not only valid but potentially usable or refreshable.

## 2023-07-11

We removed the string " application" from all application names in our database. This string was previously appended due to legacy code which we have since deprecated.

With this update, Flexpa Consent's header now is cleaner and easier for users to read when they link their health plans.

## 2023-07-10

Previously, there was no easy way to handle errors that occurred during the Flexpa Consent authorization flow. This could leave developers in the dark about issues that users were encountering, and it could leave users frustrated with a broken experience.

With this update, the [`onExit`](https://www.flexpa.com/docs/records#create) callback now has an optional `error` parameter, provided when members proceed through the authorization flow but encounter an error. This enables developers to handle these errors gracefully, by perhaps showing the user an error message or logging the error for later debugging.

## 2023-06-28

We are making a change to improve the user experience within Flexpa Consent. From now on, endpoints undergoing downtime will be automatically deactivated and will no longer be available for user selection.

Flexpa is committed to providing a seamless user experience. As part of our quality assurance process, we routinely monitor our connected endpoints to ensure they are functional. In instances where we detect downtime, we have previously shown their status in Flexpa Consent but still allowed users to proceed.

However, we recognized that this could potentially result in a suboptimal user experience as unsuccessful connections may occur. To prevent such issues, we have updated our system to automatically deactivate any endpoints detected to be experiencing downtime.

This change will ensure a smoother and more reliable connection experience for our users. We appreciate your understanding and cooperation.

## 2023-06-20

Flexpa Consent is now available in both English and Spanish. Users can smoothly toggle between languages using
designated buttons in the UI, ensuring a more inclusive user experience.

## 2023-06-16

Understanding the health of the endpoints you and your users care about is important. While we previously surfaced this information in Flexpa Consent, we've now added this information to our general documentation.

In order to provide the best visibility into the status of endpoints you may need to connect to, we've added the `status` detail to our [endpoint directory](https://www.flexpa.com/docs/network/directory). This detail will provide a high-level overview of the status of an endpoint, including whether it is currently available.

This is also programmatically available via the [Flexpa API](https://www.flexpa.com/docs/records#endpoints).

## 2023-06-15

Link [exchange](https://www.flexpa.com/docs/records#exchange) and [refresh](https://www.flexpa.com/docs/records#token-refresh) responses _may_ now include a `refresh_expires_in` value. This represents the time in seconds for which the `access_token` is refreshable, after which the user will be required to re-authorize your application to the payer.

The availability of `refresh_expires_in` is subject to the [Endpoint's](https://www.flexpa.com/docs/network/directory) support of the feature.

## 2023-06-07

In this update, we've made some significant enhancements to the loading screen and user flow to ensure a more seamless and transparent experience.

- To make the loading process more intuitive and user-friendly, we've enriched the loading screen with [troubleshooting tips](https://www.flexpa.com/docs/guides/patient/troubleshooting-tips) and guidance for handling common authorization challenges.
- To improve patients' understanding of the process, we've introduced a new step in the flow. This step provides a clear explanation of what happens when you are redirected to a payer's member portal or identity provider to validate your credentials.
- To increase context on errors, we've improved the error screen when a patient's plan is ineligible, allowing the patient to request support for their plan.

## 2023-05-25

The [revoke endpoint](https://www.flexpa.com/docs/records#revoke) of the Flexpa API now invalidates all authorizations that a patient had previously made to an application. Read more about these details on the [revoke section](https://www.flexpa.com/docs/records#revoke) of the Flexpa API documentation.

## 2023-05-12

Flexpa's API now works behind the scenes to standardize code system URIs in FHIR responses.

We've added [a page](https://www.flexpa.com/docs/guides/code-systems) that references which code system URIs developers can expect to see in FHIR payloads.

## 2023-04-21

While [MyFlexpa](https://my.flexpa.com) has existed for a long time, our documentation on its value and use for patients and developers have not.

We've added [a page](https://www.flexpa.com/docs/myflexpa) that details how to best use this tool alongside other Flexpa offerings.

## 2023-04-12

We've added a new way to use our docs: FlexpaGPT. Ask questions about Flexpa and get back responses instantly.

- A button displayed on the bottom right of the page that will open up a chat window
- Ask questions about Flexpa and get answers instantly
- FlexpaGPT links to relevant documentation, code snippets, and more

## 2023-03-13

We've added an indicator to the Flexpa Consent endpoint selection screen to notify patients when an endpoint connection is unstable.

- The indicator will display as a message in red above the affected endpoint's label
- This enhancement improves the patient experience by increasing their awareness of known endpoint issues and encouraging them to retry later

## 2023-03-03

Flexpa Consent now displays health plan logos in the selection screen. This update should improve plan recognition and
help patients identify their health plan correctly.

## 2023-02-07

We've updated the styling of the health plan selection screen in Flexpa Consent for better usability. This new design removes the coloured backgrounds to improve the contrast ratio and provide a more consistent experience.

We also have updated our health plan search to more robustly identify the plans a patient may be searching for. This includes fuzzy matching on searches and searching across applicable brand names a payer may use.

## 2023-02-03

The [exchange endpoint](https://www.flexpa.com/docs/records#exchange) of the Flexpa API now returns additional metadata about the health plan ([Endpoint](https://www.flexpa.com/docs/network/directory)) a patient has used to authorize your application.

This metadata includes attributes such as the Endpoint name, whether or not the authorization is refreshable, and a list of FHIR Resources available for this Endpoint.

Read more about these details on the [exchange section](https://www.flexpa.com/docs/records#exchange) of the Flexpa API documentation.

## 2023-01-17

Flexpa Consent (0.0.10) now supports `onExit` and `onLoad` callback functions passed to `create`.

- `onExit` is called when the user exits the authorization flow without succesfully authorizing
- `onLoad` is called when Link is loaded and ready to be used

## 2023-01-05

We have released [Flexpa Connections](https://connections.flexpa.com/), an application that lets patients manage their health plan authorizations.

- Patients can log in with their health plan and view a history of applications they've connected through Flexpa Consent
- Patients can disconnect apps they no longer want their health plans connected to and reconnect them anytime through Flexpa Consent
- Check out the [Flexpa Connections documentation](https://www.flexpa.com/docs/connections) for more information

## 2023-01-04

After user testing and customer feedback, we have removed all minimums from our Basic plan. This pure usage-based pricing should allow early testing and onboarding, aligning value with predictable cost. Check out additional details [here](https://www.flexpa.com/pricing).

## 2022-12-15

The introspect endpoint of the Flexpa API now returns additional metadata about the specific endpoint associated with the access token you are using. Read more about these details on the [introspect section](https://www.flexpa.com/docs/records#create) of the Flexpa API documentation.

## 2022-11-09

Flexpa Consent (0.0.8) now supports the option to skip the health plan search / select step in our authorization flow.

This supports an improved UX flow in cases where a patient's health plan is known to the application implementing Flexpa Consent prior to starting the authorization.

- [Provide an optional parameter](https://www.flexpa.com/docs/records#create) called `endpoint` to the Flexpa Consent `create` or `open` functions to skip health plan search / select
- Reference documentation for available [Endpoints](https://www.flexpa.com/docs/network/directory)

## 2022-10-31

Patient access tokens created with Flexpa Consent now have support for a refresh mechanism. [Refreshing a patient access token](https://www.flexpa.com/docs/records#token-refresh) allows your application to make requests after the original one has expired.

- Where possible, Flexpa obtains an `offline_access` scope and exposes a refresh route
- Refreshing a patient access token will invalidate the previous patient access token and return a new one

Note that not all patient access tokens support refreshing. Major payer support includes Kaiser Permanente, Cigna, Humana, UnitedHealth, and Anthem.

## 2022-10-18

We are launching a small guide on basic [data analysis](https://www.flexpa.com/docs/data-analytics) with FHIR bundles you get from Flexpa API.

- This guide explains how to go from raw FHIR bundles from Flexpa API, and transform them into structured tables that conform to [Tuva's data model](https://docs.google.com/spreadsheets/d/1q6VBqGJ3PBW0vYD1wrsN5jmcP0cEXQNd3xTyTgtHlcU/edit#gid=1405278442)
- We've co-developed a [FHIR parser](https://github.com/flexpa/FHIR_connector) with Tuva that converts FHIR bundles into database-ready CSVs for structured analysis

## 2022-10-17

We are launching pagination support to simplify accessing FHIR Resource search results.

- Developers can pass the query parameter `_count` into search requests and use the returned `link` object to access the paginated results
- More information about pagination is available on the [API reference page](https://www.flexpa.com/docs/records#pagination)

## 2022-10-07

We are launching the [Flexpa Portal](https://portal.flexpa.com/), a new way for developers to manage their Flexpa account.

- This new option allows for developers to create an account, generate API keys, and invite other members of their organization to collaborate.
- Our portal can be accessed [here](https://portal.flexpa.com)

## 2022-08-30

We are launching the ability to customize the appearance of Flexpa Consent with the `customLinkConfig` configuration object.

- This new configuration object provides a way to configure Flexpa Consent to match implementers' UI/UX more closely
- Initially supporting four `brandColors`: `red`, `green`, `blue`, and `yellow`
- Instructions on implementation available [here](https://www.flexpa.com/docs/records#customize)

## 2022-08-03

We are launching the new patient access guide and FHIR Resource reference pages.

- The newly updated [patient access guide](https://www.flexpa.com/docs/consent/patient-access) provides a background on Patient Access APIs and the data they make available
- The FHIR Resource pages provide sample request and response data for FHIR Resources (ex. [Coverage](https://www.flexpa.com/docs/fhir/coverage)) that can be accessed using Flexpa API

## 2022-06-29

We are launching the [Wildcard Parameters](https://www.flexpa.com/docs/records#wildcard-parameters) feature in Flexpa API. This allows you to reference real values provided by the [Patient Access Token](https://www.flexpa.com/docs/records#authentication) in each request.

The first parameter we are supporting is `$PATIENT_ID`, allowing you to use the currently authorized `patient_id` in each request without having to know what it is.

- Removes the `patient_id` as a field in the response of `POST /link/exchange`
- Updates [FHIR Server](https://www.flexpa.com/docs/records#fhir-resources) to accept Wildcard Parameter, `$PATIENT_ID`

Example requests:

- `GET /fhir/Patient/$PATIENT_ID -H "Authorization: $ACCESS_TOKEN"`
- `GET /fhir/Coverage?patient=$PATIENT_ID&_count=5 -H "Authorization: $ACCESS_TOKEN"`
- `GET /fhir/ExplanationOfBenefit?patient=$PATIENT_ID -H "Authorization: $ACCESS_TOKEN"`

Note: Using the [introspect](https://www.flexpa.com/docs/records#introspecting-access-tokens) endpoint and sending the actual `patient_id` will also continue to work.

## 2022-06-22

We are launching the NodeJS-based Quickstart repository and accompanying guide.

- The Quickstart [Github repository](https://github.com/flexpa/quickstart) is a cloneable project to help you get started with Flexpa in just a few steps
- The [Quickstart guide](https://www.flexpa.com/docs/guides/quickstart) walks through how to build and run Flexpa's quickstart example

## 2022-06-15

We are launching Flexpa Consent and Flexpa API, including our major feature release of self-service test mode API keys.

- Flexpa Consent is a client-side component to help your users link health plan data sources
- Flexpa API is a unified HL7 FHIR API (HTTP + JSON) to access health plan, claims, and clinical data

Getting started:

- Get API keys at [flexpa.com/docs](https://www.flexpa.com/docs)
- We recommend starting with the [Quickstart](https://www.flexpa.com/docs/guides/quickstart)
- From there, you can make requests to the Flexpa API (like with our [EOB claims history guide](https://www.flexpa.com/docs/guides/developer/explanation-of-benefits))
