Meet the CMS Interoperability and Patient Access final rule with accelerator assets for payer and provider APIs — patient access, provider directory, and payer-to-payer exchange on FHIR R4.
CMS Interoperability and Patient Access
Objective: Accelerate API development to comply with the CMS Interoperability and Patient Access final rule, enabling patients to access their data through third-party apps and supporting payer-to-payer data exchange on FHIR R4.
What's Getting Built
- Patient Access API (Experience API) — SMART on FHIR-secured patient/app access to clinical and claims data ·
GET /Patient/{id}, GET /ExplanationOfBenefit, GET /Coverage
- Provider Directory API (Experience API) — public, unauthenticated provider and pharmacy directory ·
GET /Practitioner, GET /Organization
- Payer-to-Payer API (Process API) — exchange member history with a prior payer on request ·
POST /payer-exchange, GET /payer-exchange/{id}
- Membership, Claims & Clinical (System API) — source data from adjudication and clinical systems, mapped to FHIR R4 ·
GET /members, GET /claims, GET /clinical
Prerequisites
- Anypoint Platform org with API Manager and a production deployment target.
- MuleSoft Accelerator for Healthcare CMS Interoperability assets imported from Exchange.
- Identity provider configured for SMART on FHIR (Okta or equivalent per accelerator guidance).
- Connectivity to membership, claims adjudication, and clinical source systems.
Architecture
1. Business requirements
- Expose Patient Access API endpoints required by CMS (claims, encounters, clinical data).
- Implement Provider Directory API for in-network provider discovery.
- Support Payer-to-Payer (P2P) exchange when a member changes plans.
- Publish US Core and Da Vinci implementation guide-compliant FHIR resources.
- Maintain audit evidence for regulatory attestation.
2. Regulatory scope
- Patient Access API: Claims, ExplanationOfBenefit, Coverage, and related clinical resources.
- Provider Directory API: Practitioner, Organization, and InsurancePlan resources with accurate network status.
- P2P API: Member attribution and historical clinical data transfer between payers.
- Align error responses with FHIR OperationOutcome and accelerator policy templates.
3. API-led connectivity
- Experience API: SMART on FHIR authorization facade and third-party app-facing endpoints.
- Process API: Consent enforcement, pagination, bulk export orchestration, and P2P workflow.
- System API: FHIR facade over claims adjudication, membership, and clinical data stores.
- Apply the accelerator's FHIR error-formatting policy so failures are standards-compliant.
4. Authorization and consent
- Implement SMART on FHIR with OAuth 2.0 and OpenID Connect.
- Enforce patient consent scopes before returning PHI.
- Support refresh tokens and session revocation for app off-boarding.
- Log authorization decisions with enough detail for audit.
5. Data aggregation
- Federate data from legacy claims platforms, data warehouses, and clinical sources.
- Normalize identifiers across membership, claims, and clinical systems.
- Handle bulk $export for large patient datasets without blocking synchronous APIs.
- Cache reference data (provider directories) with TTL aligned to CMS refresh expectations.
6. Error handling and operations
- Return FHIR-compliant OperationOutcome for client and server errors.
- Monitor API latency and availability against CMS-implied SLAs.
- Track third-party app registration, token issuance, and API usage per app.
- Alert when P2P transfers fail or stall beyond agreed windows.
7. Security and compliance
- Encrypt PHI in transit and at rest.
- Audit-log every access to and modification of patient data.
- Enforce minimum-necessary access for integration operators and support users.
For additional HIPAA controls, API policies, and reference security patterns, see the MuleSoft Accelerator for Healthcare on Anypoint Exchange.
Exchange assets
Import these from the MuleSoft Accelerator for Healthcare use-case page on Anypoint Exchange:
| Asset |
Includes |
| Provider Directory API |
API specification, Implementation Template |
| Formulary API |
API specification, Implementation Template |
| Patient Access Clinical Data API |
API specification, Implementation Template |
| Patient Access Claims and Encounter Data API |
API specification, Implementation Template |
| FHIR error-message API policy |
Use-case-agnostic policy asset |
Testing and validation
- Complete a SMART on FHIR authorization code flow for a sandbox app; confirm token scopes gate Patient Access resources correctly.
- Request a small Patient Access
$export job and verify NDJSON output contains expected US Core resource types.
- Call Provider Directory with an out-of-network Practitioner ID and confirm accurate InsurancePlan network status in the response.
- Send a request with an invalid scope and verify a FHIR OperationOutcome (via the accelerator error-message policy), not a generic 500.
Phased rollout
Phase 1 — Connect
- Deploy Provider Directory and Formulary API specs to API Manager; wire sandbox membership and claims System APIs.
- Configure SMART on FHIR authorization with the identity provider and register a test third-party app.
Phase 2 — Map and test
- Stand up Patient Access Clinical Data for a pilot member panel; validate
$export and synchronous read paths.
- Add Patient Access Claims and Encounter Data; complete Testing and validation including OperationOutcome error formatting.
Phase 3 — Production
- Onboard third-party apps through formal registration and consent workflows; enable P2P transfers for plan changes.
- Publish attestation evidence and production SLAs to compliance; expand to full member population.
Success metrics
- Patient Access API availability ≥ 99.5% during business hours for registered third-party apps.
- Bulk
$export jobs complete within CMS-implied windows for a standard member panel.
- Provider Directory network status accuracy ≥ 98% against payer source-of-truth audits.
- 100% of authorization failures return FHIR OperationOutcome — zero undocumented 500 responses.
Configuration checklist
Before first sandbox deploy, complete the shared Healthcare integration configuration checklist — secure property keys, TLS, OAuth, and credential naming conventions are documented once for all Exchange use cases.
8. Implementation starting point
Download the CMS Interoperability assets from the MuleSoft Accelerator for Healthcare on Anypoint Exchange.
Deploy the Patient Access, Provider Directory, and P2P API specifications and implementation templates provided.
Connect each System API to your membership, claims, and clinical source systems.
Configure SMART on FHIR authorization using the accelerator's Okta or identity-provider guidance.
Apply the FHIR error-message API policy from the accelerator's use-case-agnostic assets.
Troubleshooting
- Third-party app receives 401 after token refresh — Likely cause: revoked consent or narrowed SMART scopes. Fix: Re-authorize the app with required Patient Access scopes and verify consent enforcement in the Process API.
- Bulk
$export job stuck in progress — Likely cause: downstream membership query timeout or oversized panel. Fix: Reduce _since window, increase async job polling interval, and check System API connectivity to claims source.
- Provider Directory shows stale network status — Likely cause: reference cache TTL longer than payer refresh cycle. Fix: Lower cache TTL for InsurancePlan resources and trigger a directory reload from source.
- Generic 500 instead of OperationOutcome — Likely cause: FHIR error-message API policy not applied to the Experience API. Fix: Attach the accelerator error-formatting policy in API Manager and redeploy the API proxy.
Deliverable: A FHIR R4 Patient Access, Provider Directory, and Payer-to-Payer API suite with SMART on FHIR authorization and CMS bulk export.