title: Epic
Epic is an Electronic Health Records (EHR) system for healthcare organizations, hospitals and large practices.
Epic provides a comprehensive range of interfaces for integration. We've grouped them into four key categories:
Each category offers multiple interfaces tailored to specific workflows and use cases.
We seamlessly integrates with Epic across all categories using industry-standard protocols like HL7, FHIR, and proprietary APIs. We prioritize trust and flexibility, supporting both REST and non-REST interfaces to meet your organization's needs.
The Epic Extension is designed to support Read and Write integrations via SMART Backend Services. These integrations are server-to-server (backend) and do not require direct user interaction—whether from patients or practitioners.
The extension supports a variety of REST-based interfaces, including:
In addition to REST interfaces, Epic also supports non-REST standards like HL7, enabling tasks such as querying patient demographics (ADR A19) or creating documents (ORU messages). Awell supports these non-REST standards as well. However, the Epic Extension focuses specifically on REST-based interfaces.
To set up the Epic Extension in Awell, you’ll need to configure the following:
https://fhir.epic.com/interconnect-fhir-oauth/api/
). https://fhir.epic.com/interconnect-fhir-oauth/oauth2/token
). \n
.Example of Private Key Format:
-----BEGIN PRIVATE KEY-----\naaaaaaa\nbbbbb\n-----END PRIVATE KEY-----
Retrieve a patient’s details using their FHIR resource ID. This action returns the full FHIR Patient resource.
Find a patient using demographic data. The action returns a matching Patient resource only if a single high-confidence match is found.
Patient.$match
(R4) operation, recommended for backend-to-backend integrations (learn more: Epic Documentation).The action will return the FHIR resource ID of the matched patient.
Add a new patient to Epic using demographic information. Required fields include:
While optional, including an email address is highly recommended to improve accuracy when matching patients in the future.
The action will return the FHIR resource ID of the created patient.
Retrieve details of a specific appointment using its FHIR resource ID. The action returns the full FHIR Appointment resource.
Create a clinical document in Epic. Required fields include:
The action will return the FHIR resource ID of the created document.
Leverages the Patient.search
(R4) operation to find a patient by their MRN. The action will return the FHIR resource ID of the patient.