EHR vendor integration
Epic EHR Integration Engineering
We build software that connects to Epic using the interfaces Epic publishes and the access your health system customers grant. We are an independent engineering firm, not an Epic partner.
At a glance
- Standards & integrations
- open.epic FHIR R4 APIsSMART on FHIR EHR launchSMART standalone patient launch (MyChart sign-in)SMART Backend ServicesHL7 v2 ADT, SIU, ORM, ORU, MDMCDS Hooks
- Typical deliverables
Access-path assessment per customer
SMART app with launch, auth, and context handling
FHIR client library with paging, retry, and error mapping
HL7 v2 receiving interface and specification
Epic integration: overview
Healthcare Software Engineering is independent and is not affiliated with, endorsed by, or sponsored by Epic Systems Corporation. Epic, MyChart, and related names are trademarks of their respective owners. Access to Epic sandboxes, production APIs, and the Epic Showroom marketplace is governed by Epic's own developer and vendor programs and by the agreements between you and the health systems you serve. Our role is engineering: designing, building, and testing integrations to the specifications Epic and your customers provide.
Epic's public developer resources, branded open.epic, document a catalog of FHIR R4 APIs (and some older DSTU2 and STU3 endpoints), SMART App Launch support for provider-facing and patient-facing apps, and SMART Backend Services for system-to-system access. Epic Showroom is the marketplace where apps are listed under various program tiers. Beyond those, many Epic customers still exchange most real-time events over HL7 v2 interfaces built by their own Epic analysts. Which of these paths is available for your use case depends on the customer, their Epic version, and the program terms in effect.
A common pattern for a SaaS product is a hybrid. An HL7 v2 ADT or SIU outbound feed from the customer's Epic instance tells your system when something happened; FHIR reads then fetch the detail; a SMART launch embeds your UI inside the clinician's workflow. We design for each customer's Epic build being slightly different, because client IDs, enabled scopes, and available resources are configured per organization, not globally.
Engineering challenges in Epic integration
01Per-organization configuration
A client ID that works against Epic's public sandbox still has to be activated by each customer organization, and the scopes they enable may differ. Code must tolerate a 403 on a resource that worked elsewhere.
02Write-back limits
Read coverage across FHIR resources is broad, but create and update operations are narrower and often need specific customer approval. Product roadmaps that assume full write access need a fallback plan.
03Embedded launch quirks
Apps launched inside Hyperspace or Hyperdrive run in an embedded browser with its own cookie, storage, and pop-up behavior. Auth flows that work in Chrome can fail inside the EHR frame.
04Analyst bandwidth
HL7 v2 interfaces and app activation are configured by the customer's Epic team, whose queue is shared with every other project in the hospital. Schedules slip when this dependency is not booked early.
05Upgrade cadence
Epic customers upgrade on a regular cycle, and behavior or available endpoints can change between versions. Regression tests against the sandbox and a customer test environment catch drift before production does.
Technical capabilities
What our Epic integration work covers
FHIR R4 read integration
Clients for Patient, Encounter, Observation, Condition, MedicationRequest, AllergyIntolerance, DocumentReference, and other resources, built to the behavior documented on open.epic and validated against US Core profiles.
SMART EHR launch apps
Provider-facing apps that receive the launch parameter and iss, exchange the authorization code with PKCE, and read patient and encounter context from the token response. We test inside an embedded browser, not only a desktop tab.
Patient standalone apps
Patient-facing apps where the user signs in with their MyChart credentials through the organization's authorization server, with refresh-token handling designed around the scopes the organization grants.
Backend Services integration
System-to-system access using SMART Backend Services: a registered public key (JWKS), signed JWT client assertions, and client_credentials tokens for scheduled or bulk workflows where the customer has enabled them.
HL7 v2 interface partnering
We write the receiving side of ADT, ORM, ORU, SIU, and MDM interfaces and work alongside the customer's Epic analysts who configure the sending side, agreeing message specs and ACK behavior together.
CDS Hooks services
Decision-support services that respond to hooks such as patient-view or order-sign with cards, where the customer's Epic configuration supports CDS Hooks for your use case.
Marketplace readiness support
Engineering documentation, security questionnaires, and technical artifacts that Epic's programs or customer review boards commonly request. Listing decisions and program membership remain between you and Epic.
Software architecture
Reference architecture for Epic integration
We keep Epic-specific behavior at the edge so the product core is not tied to one vendor's quirks.
- Epic touchpoints
- FHIR R4 endpoints
- SMART authorization server
- HL7 v2 outbound feeds
- CDS Hooks
- Org registry
- FHIR base URL per org
- Client ID mapping
- Enabled scopes
- Key rotation
- Adapter services
- Token broker
- FHIR client with paging
- v2 listener
- Resource normalizer
- Product core
- Canonical patient model
- Workflow engine
- UI launch context
Technology stack for Epic integration
- Epic-published surfaces
- open.epic FHIR R4 APIsSMART App LaunchSMART Backend ServicesHL7 v2 interfaces
- Auth
- OAuth 2.0 authorization code + PKCEJWT client assertionJWKS hostingOpenID Connect id_token
- Testing
- Epic public sandboxCustomer non-production environmentsInferno test kitSynthetic patients
- Runtime
- TypeScript or .NET servicesManaged secrets storeEncrypted PostgresStructured audit logging
Security & compliance
Security and compliance considerations for Epic integration
What regulations require
- Under HIPAA, an app vendor acting on behalf of a covered entity is a business associate and needs a Business Associate Agreement before handling PHI (45 CFR 164.502(e)).
- Patient-directed apps that a patient chooses to connect through a certified API may fall outside HIPAA's business associate definition, but FTC rules, including the Health Breach Notification Rule as amended in 2024, can apply to consumer health apps.
- ONC certification criterion 45 CFR 170.315(g)(10) requires certified EHRs to offer a standardized FHIR API with SMART App Launch for patient and population services; it does not oblige a provider to enable every app or scope a developer requests.
Recommended engineering practices
- Request the narrowest SMART scopes your feature needs and document why each one is needed for customer security review.
- Keep private keys used for Backend Services JWT signing in an HSM or managed key vault and rotate on a schedule.
- Do not persist access tokens beyond their lifetime; store refresh tokens encrypted and bind them to the organization record.
- Log every FHIR call with org, user context, resource type, and purpose so you can answer an audit question in minutes.
- Run SAST and dependency scanning in CI and keep evidence ready for customer security questionnaires.
Regulatory summaries are educational, not legal advice. HIPAA compliance is an organizational program; software can support safeguards but cannot by itself make an organization compliant. Systems that handle PHI need their own risk analysis, vendor evaluation, and Business Associate Agreements before deployment.
Integration capabilities
Integrations we engineer for Epic integration
- open.epic FHIR R4 APIs
- SMART on FHIR EHR launch
- SMART standalone patient launch (MyChart sign-in)
- SMART Backend Services
- HL7 v2 ADT, SIU, ORM, ORU, MDM
- CDS Hooks
- Bulk FHIR $export where enabled
- Care Everywhere-originated documents via the customer's chart
Engineering methodology
How we approach Epic integration
- 1
Confirm the access path
With you and the target customer, we confirm which Epic programs, APIs, and interfaces apply, and what approvals the customer's governance requires.
- 2
Sandbox prototype
We build against Epic's public sandbox and synthetic patients to prove the data flow and auth sequence before any customer environment is involved.
- 3
Customer test build
With the customer's Epic team, we activate the app or interface in non-production, validate scopes, and fix behavior that differs from the sandbox.
- 4
Clinical workflow validation
Clinician users walk through launch and context scenarios inside the actual Epic client, including multiple open patients and session timeouts.
- 5
Production activation
Go-live with monitoring on token failures, FHIR error rates, and v2 feed volume, plus a runbook for the customer's help desk.
Business use cases
Where Epic integration delivers value
Embedded specialty workflow
A cardiology app launches from the patient chart, reads recent echo results and medications through FHIR, and shows a risk summary to the cardiologist without a second login.
Patient app data import
A chronic-condition app lets patients connect their health system account and imports labs and medications on a schedule using refresh tokens.
Event-driven care management
An ADT feed from the customer's Epic instance triggers outreach when a high-risk member is discharged, with FHIR reads pulling discharge details.
Population extract
A value-based care platform receives scheduled Bulk FHIR exports for an attributed population where the customer has enabled the capability.
Technical comparison
| Surface | Direction | Typical use | Who configures it |
|---|---|---|---|
| FHIR R4 APIs | Mostly read; some write | Discrete clinical data retrieval | Developer registers; customer enables |
| SMART EHR launch | UI embedding | Apps inside the clinician workflow | Customer activates the app |
| SMART Backend Services | System-to-system | Scheduled or bulk access | Customer approves client and key |
| HL7 v2 interfaces | Event push | ADT, orders, results, scheduling | Customer's Epic analysts |
| CDS Hooks | Request/response | Point-of-care suggestions | Customer configuration |
Typical deliverables
What a Epic integration engagement produces
- Access-path assessment per customer
- SMART app with launch, auth, and context handling
- FHIR client library with paging, retry, and error mapping
- HL7 v2 receiving interface and specification
- Organization registry and key management design
- Security documentation for customer review
- Runbook for activation and support
Epic integration readiness
- Confirmed which Epic program or access route applies to your use case
- Sandbox prototype working with synthetic patients
- Scope list justified line by line
- Embedded-browser testing plan for EHR launch
- Customer sponsor and Epic analyst identified
- BAA in place with each customer organization
- Support model agreed with the customer help desk
Cost and timeline factors
What shapes Epic integration cost and timeline
- Which access path applies: FHIR only, HL7 v2, or both
- Number of customer organizations to activate
- Read-only versus write-back requirements
- Clinical workflow complexity inside the embedded app
- Customer analyst availability and governance review cycles
- Any vendor program fees, which are set by Epic, not by us
Typical timeline
A read-only SMART app proven in the sandbox can be built in weeks. Activation at the first customer often takes longer than the build because of governance and analyst scheduling; subsequent customers move faster once the pattern is documented.
Read the cost guideEpic integration FAQs
Are you an Epic partner or Epic Showroom vendor?
No. Healthcare Software Engineering is an independent engineering firm and is not affiliated with or endorsed by Epic. We build to the specifications Epic publishes and the access your customers grant. Program membership, marketplace listing, and any associated agreements are between you and Epic.
Can a third-party app write data back into Epic?
Some FHIR resources support create or update operations, and some write-back happens through HL7 v2 inbound interfaces such as results or documents. Availability depends on the resource, the customer's configuration, and their approval process. We design products so that core value does not depend on write access that a customer might not enable.
What is the difference between open.epic and Epic Showroom?
open.epic is Epic's public developer resource describing its standards-based APIs and how to register. Epic Showroom is the marketplace where apps are presented to Epic customers under program tiers. Exact program names and terms change over time, so confirm current details directly with Epic.
Do we still need HL7 v2 if Epic offers FHIR APIs?
Often, yes. FHIR APIs are request-driven, so they tell you nothing until you ask. For real-time awareness of admissions, discharges, or new results, many customers still rely on HL7 v2 outbound feeds. Event-based FHIR mechanisms exist, but availability varies, so we confirm per customer.
Related engineering topics
- EHR/EMR Integration ServicesEngineering for HL7 v2, FHIR, and document-based integrations between your product and the EHRs your customers already run.Read more
- SMART on FHIR DevelopmentSMART App Launch and Backend Services engineering: EHR-embedded and standalone apps with PKCE, scoped tokens, and context that survives the EHR frame.Read more
- FHIR Integration ServicesFHIR R4 client and server engineering with US Core, Bulk Data, SMART authorization, and Subscriptions, built to pass conformance testing.Read more
- HL7 Integration ServicesHL7 v2 interface engineering over MLLP: ADT, orders, results, scheduling, charges, and documents, with correct ACKs and replayable error handling.Read more
- EHR Integration GuideIntegration patterns, project phases, sandbox testing, and go-live planning for connecting software to EHRs through HL7 v2, FHIR, SMART, CDS Hooks, and bulk export.Read more
Discuss your healthcare engineering project
Tell us about the system, the integrations it depends on, and the constraints you are working within. A senior engineer will review it and reply with questions, not a sales script.