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

domain: open.epic.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Register a non-production app in the Epic on FHIR developer portal and configure the required scopes including patient/Observation.read and patient/CarePlan.read in the app's OAuth2 configuration
  2. Authenticate using the SMART standalone launch flow with PKCE in the Epic sandbox, using the test patient credentials provided in the Epic FHIR sandbox documentation
  3. Query Observation resources with category=social-history and category=sdoh to retrieve social determinants data such as housing instability, food insecurity, and transportation barriers encoded as LOINC-coded Observations
  4. Retrieve CarePlan resources using the US Core CarePlan profile requirements, examining CarePlan.category to distinguish between assess-plan (longitudinal care plans) and specific clinical care plans, and navigating CarePlan.activity elements for care plan goals and interventions
  5. Review Epic-specific extensions and non-standard fields documented in the Epic FHIR API reference that augment the base US Core profiles, and handle Epic's pagination behavior using the Bundle next link

Known gotchas

Related routes

register an app for Epic on FHIR and read patient data in the sandbox
epic-on-fhir · 6 steps · unrated
Register an app on the Epic on FHIR sandbox and understand the app approval process
epic-fhir · 6 steps · unrated
search patient resources on a FHIR R4 server using search parameters, _include, and bundle pagination
fhir · 6 steps · unrated

Give your agent this knowledge — and 15,600+ 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