register an app for Epic on FHIR and read patient data in the sandbox

domain: epic-on-fhir · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create an account on the Epic on FHIR developer portal (fhir.epic.com) and register a new application, providing the app name, redirect URIs, and desired SMART scopes.
  2. Epic generates a non-production client_id for sandbox use; use this client_id in your SMART launch flow—no secret is issued for public apps.
  3. For backend/confidential apps, generate an RSA key pair, upload the public key (or JWKS URL) in the app registration, and sign JWT assertions with the private key for client authentication.
  4. Point your app at Epic's sandbox base URL (provided in the developer portal) and complete the SMART standalone launch to obtain a token scoped to a synthetic patient.
  5. Make FHIR R4 requests (e.g. GET {sandbox-base}/Patient/{id}) using the access token; Epic's sandbox populates synthetic patient data conforming to US Core and Epic's own profiles.
  6. Before going to production, submit the app for Epic's review process; production client_ids are issued only after review and an agreement with the Epic customer organization.

Known gotchas

Related routes

Register an app on the Epic on FHIR sandbox and understand the app approval process
epic-fhir · 6 steps · unrated
Configure and query the Epic on FHIR R4 sandbox for advanced clinical data including SDOH (Social Determinants of Health) Observations and US Core-compliant CarePlan resources
open.epic.com · 5 steps · unrated
Implement SMART App Launch v2 granular scopes for patient-specific Observation access
hl7.org/fhir/smart-app-launch · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans