Blog

    Inside an Epic Sandbox POC

    By GauravNovember 14, 202610 mins read
    On this page

    Most Epic integration projects start with a proof of concept against Epic's public FHIR sandbox. It is free, it is quick to start, and it lets a team show a working app reading real-looking patient data within days. That speed is useful. It also creates a common misunderstanding: a demo that works in the sandbox is not the same as an app that works at a customer.

    This guide looks inside an Epic sandbox POC: how to scope one, what Epic's public sandbox provides, how authentication and test patients work, what to measure, and, most importantly, which risks a sandbox result does not remove. It is written for digital health teams and health system innovation groups planning their first Epic integration.

    What is an Epic sandbox POC?

    Planning an Epic proof of concept?

    Agnotic builds Epic integrations from sandbox proof of concept to customer go-live, with FHIR APIs and app launch.

    An Epic sandbox POC is a short project that tests whether an app can authenticate with Epic, read or write the data it needs through Epic's FHIR APIs, and present it usefully, using Epic's public developer sandbox and its synthetic test patients instead of a real customer system. It proves technical feasibility, not readiness for a live hospital.

    Used well, a sandbox POC answers one or two specific technical questions quickly and cheaply. Used badly, it becomes a demo that sets expectations the real integration cannot meet.

    What does Epic's public FHIR sandbox provide?

    Epic describes its Epic on FHIR site as a free resource for developers who create apps for patients and healthcare organizations. It publishes sandbox endpoints for its FHIR versions and a set of test patients with the resources each one carries.

    • FHIR versions: Sandbox base URLs are published for R4, STU3 and DSTU2.
    • Test patients: Synthetic patients with listed identifiers and data, some with MyChart credentials for patient-facing testing.
    • App registration: A non-production client ID used for sandbox testing.
    • Authentication: OAuth 2.0 is required, so apps must implement the real authorization flow from the start.
    • Upgrades: Epic upgrades the sandbox each quarter, and it is unavailable for about a day during each upgrade.

    Epic's terms for the site say you must not place identifiable information in its sandboxes and that Epic may wipe sandbox data. Treat the sandbox as a shared, disposable test space, never as somewhere to store anything real.

    How should you scope an Epic sandbox POC?

    Scope the POC around the questions that would stop the project if the answer were no. Everything else can wait for a customer environment.

    • 1. Name the questions: For example, can we read medications and allergies for a launched patient, and write back an observation?
    • 2. List the resources: Map each feature to the FHIR resources and operations it needs.
    • 3. Pick the launch type: Clinician launch inside Epic, patient launch from a portal, or a backend service.
    • 4. Choose test patients: Pick sandbox patients whose data exercises your features, including edge cases.
    • 5. Define success: What must work, measured how, by when.

    Keep the POC to a few weeks. If it grows into a product build on sandbox data, it has stopped answering feasibility questions and started creating rework that a customer environment will later undo.

    How do authentication and app launch work in the sandbox?

    The sandbox uses the same OAuth 2.0 based flows as real Epic environments, which makes it a good place to get authentication right early. Build the full flow, not a shortcut.

    • Clinician apps: Test the launch from an Epic context, receiving the patient and user context the app needs.
    • Patient apps: Use test patients with MyChart credentials to test the patient sign-in and consent screens.
    • Backend services: Test system-to-system access for apps that run without a user present.
    • Scopes: Request only the scopes your features need, and handle the case where some are not granted.
    • Token handling: Store tokens securely and handle expiry and refresh correctly.

    What should you measure during a sandbox POC?

    Measure whether each feature works, how the app behaves with real-shaped data, and how long API calls take. Record what you learn as you go, because those notes become the basis for the customer conversation that follows and for estimating the real integration.

    • Feature coverage: Which features work fully, partly or not at all with the available resources.
    • Data shape: Which fields are present, missing or coded differently from what you expected.
    • Error handling: How the app behaves when a resource is empty, a call fails or a scope is denied.
    • Performance: Response times for the calls your main screens depend on.
    • Gaps: Data the app needs that the public APIs do not appear to provide.

    What does a sandbox POC not prove?

    A sandbox POC does not prove that the app will work at any specific customer. Each health system configures Epic differently, decides which APIs and apps to enable, and has its own security review, data and workflow.

    • Customer configuration: Real build, codes, locations and workflows differ from the sandbox.
    • Enablement: Each customer decides whether to turn on your app and which APIs it may use.
    • Data volume and quality: Real charts are larger, messier and less consistent than test patients.
    • Security review: Customers assess your app, hosting and agreements before go-live.
    • Clinical fit: Whether clinicians will use it in their real workflow.

    Say this plainly to investors and pilot partners. A sandbox demo shows the integration is technically possible; a customer test environment shows it works there; a live pilot shows it is useful.

    How do you move from the sandbox to a customer?

    Move to a customer's non-production environment as soon as a health system partner is ready, and treat it as the real test.

    • Partner sponsor: A clinical and IT sponsor at the health system who will request access and enablement.
    • Customer test environment: Testing with the customer's configuration and representative data.
    • Security package: Architecture, hosting, data flows and agreements ready for review.
    • Workflow testing: Clinicians using the app in a realistic scenario.
    • Go-live plan: Support, monitoring and rollback agreed before production access.

    What should a sandbox POC hand over to the next stage?

    A POC is only as useful as what it leaves behind. Write a short report that the product team, the first customer and any investor can read, so the knowledge does not live only in one engineer's head.

    • Answers: Each feasibility question with a clear yes, no or partly, and the evidence.
    • Resource map: Features mapped to FHIR resources, operations and scopes, with gaps marked.
    • Data notes: Fields that were missing, empty or coded unexpectedly in test patients.
    • Architecture sketch: How the app, its hosting and Epic connect, for the security review that comes next.
    • Open risks: What only a customer environment can answer, ranked by impact.

    Keep the POC code if it was built cleanly on the real authentication path, but label it as a starting point. The report, not the demo, is what makes the first customer conversation productive.

    What are the common mistakes in Epic sandbox POCs?

    The common mistakes come from treating the sandbox as a preview of production.

    • Hard-coded test patients: Logic that only works with sandbox identifiers or data shapes.
    • Skipped authentication: A shortcut instead of the full OAuth flow, rebuilt later.
    • Overpromised demos: Sandbox results presented as customer-ready.
    • Real data in the sandbox: Uploading anything identifiable, which Epic's terms prohibit.
    • POC sprawl: A feasibility test that turns into months of product work on synthetic data.

    What are Epic sandbox POC best practices?

    The practices that hold up keep the POC short, honest and built on the real authentication path.

    • Answer blocking questions only: Scope to what would stop the project.
    • Build real auth: Full OAuth flows from the first day.
    • Expect variation: Design for missing fields and different coding across customers.
    • Write down gaps: Record what the public APIs did not provide.
    • Move to a customer fast: Customer test environments are where real answers come from.

    How Agnotic can help

    Agnotic Technologies runs Epic proof-of-concept work and carries it through to customer go-live: scoping the feasibility questions, building real OAuth and app launch flows, mapping features to FHIR resources, testing with sandbox patients and then in customer environments, and preparing the security and architecture material health systems review.

    If you have a sandbox demo and a first customer interested, we help plan the move into their environment and close the gaps the sandbox could not show.

    Turn a sandbox demo into a live integration

    Plan your Epic proof of concept with our engineers, or read more EHR integration articles in the hub.

    Related reading on Agnotic

    See Epic's FHIR APIs, SMART on FHIR launch and scopes, wider Epic integration strategy, and building apps on another EHR's FHIR APIs.

    Sources

    Frequently Asked Questions

    Epic describes its Epic on FHIR site as a free resource for developers building apps for patients and healthcare organizations.

    Talk to an engineer about your project

    We take Epic integrations from sandbox proof of concept to customer environments and go-live.