Register a Clinicians app
A Clinicians app lets each clinician sign in with their own Epic account. It must be a confidential client with a client secret.
Create the app
Sign in to Epic on FHIR and open Build Apps.
- Click Create.
- Application Name:
StackOne - Select Clinicians, Staff, or Administrative Users as the user type.
Set up OAuth 2.0
The callback URL is where Epic returns each user after they sign in.
- Leave Use OAuth 2.0 checked.
- Endpoint URI: the Callback URL from your Connector Profile
- App FHIR Version: R4
Add the APIs
Epic grants the app only the APIs you add, and health systems review the list before they activate the app.
- Check Incoming API.
- Under Incoming APIs, add each of these APIs:
- Patient.Search (Demographics) (R4)
- Patient.Read (Demographics) (R4)
- AllergyIntolerance.Search (Patient Chart) (R4)
- AllergyIntolerance.Read (Patient Chart) (R4)
- Condition.Search (Problems) (R4)
- Condition.Read (Problems) (R4)
- Condition.Search (Encounter Diagnosis) (R4)
- Condition.Read (Encounter Diagnosis) (R4)
- Condition.Search (Health Concerns) (R4)
- Condition.Read (Health Concerns) (R4)
- Condition.Search (Medical History) (R4)
- Condition.Read (Medical History) (R4)
- MedicationRequest.Search (Signed Medication Order) (R4)
- MedicationRequest.Read (Signed Medication Order) (R4)
- MedicationAdministration.Search (R4)
- MedicationAdministration.Read (R4)
- Observation.Search (Labs) (R4)
- Observation.Read (Labs) (R4)
- Observation.Search (Vital Signs) (R4)
- Observation.Read (Vital Signs) (R4)
- Observation.Search (Social History) (R4)
- Observation.Read (Social History) (R4)
- Observation.Search (Flowsheets) (R4)
- Observation.Read (Flowsheets) (R4)
- DiagnosticReport.Search (Results) (R4)
- DiagnosticReport.Read (Results) (R4)
- Binary.Read (Labs) (R4)
- Binary.Read (Radiology Results) (R4)
- Procedure.Search (Orders) (R4)
- Procedure.Read (Orders) (R4)
- Procedure.Search (Surgeries) (R4)
- Procedure.Read (Surgeries) (R4)
- Immunization.Search (Patient Chart) (R4)
- Immunization.Read (Patient Chart) (R4)
- Encounter.Search (Patient Chart) (R4)
- Encounter.Read (Patient Chart) (R4)
- Appointment.Search (Appointments) (R4)
- Appointment.Read (Appointments) (R4)
- DocumentReference.Search (Clinical Notes) (R4)
- DocumentReference.Read (Clinical Notes) (R4)
- Binary.Read (Clinical Notes) (R4)
- ServiceRequest.Search (Orders) (R4)
- ServiceRequest.Read (Orders) (R4)
- Coverage.Search (Patient Insurance Information) (R4)
- Coverage.Read (Patient Insurance Information) (R4)
- Practitioner.Search (Organizational Directory) (R4)
- Practitioner.Read (Organizational Directory) (R4)
- CarePlan.Search (Longitudinal) (R4)
- CarePlan.Read (Longitudinal) (R4)
- CarePlan.Search (Encounter) (R4)
- CarePlan.Read (Encounter) (R4)
- CarePlan.Search (Outpatient) (R4)
- CarePlan.Read (Outpatient) (R4)
- CareTeam.Search (Longitudinal CareTeam) (R4)
- CareTeam.Read (Longitudinal CareTeam) (R4)
- Goal.Search (Patient) (R4)
- Goal.Read (Patient) (R4)
- Device.Search (Implants) (R4)
- Device.Read (Implants) (R4)
- FamilyMemberHistory.Search (R4)
- FamilyMemberHistory.Read (R4)
- ExplanationOfBenefit.Search (Claim) (R4)
- ExplanationOfBenefit.Read (Claim) (R4)
- QuestionnaireResponse.Search (Patient-Entered Questionnaires) (R4)
- QuestionnaireResponse.Read (Patient-Entered Questionnaires) (R4)
- AllergyIntolerance.Create (Patient Chart) (R4)
- Condition.Create (Problems) (R4)
- DocumentReference.Create (Clinical Notes) (R4)
- Observation.Create (Vital Signs) (R4)
- Observation.Create (Flowsheets) (R4)
- Patient.summary (International Patient Summary) (R4)
- Appointment.book (STU3)
- Bulk Data Kick-off
- Bulk Data Status Request
- Bulk Data File Request
- Bulk Data Delete Request
Turn on the client secret
Epic offers a client secret and persistent access only to confidential clients.
- Check the Is this app a confidential client? box.
- Generate a Sandbox Client Secret.
- Check Requires Persistent Access.
- Click Save.
- Note: Epic syncs a new app to its sandbox within about an hour.
Set the app ready for production
A health system can request the app only after you mark it ready for production. Epic’s sandbox skips this step.
- On Build Apps, select the app.
- Check the box to accept the Terms and Conditions.
- Click Save and Ready for Production. Epic locks the API list from then on.
- Give the health system your Production Client ID so they can request the app.
Activate the app for a health system
Activate the app once the health system’s request arrives.
- Click Review and Manage Downloads for the app.
- Select the environment type, non-production before production.
- Generate a client secret for that environment.
- Click Activate.
Copy the credentials
Use the client ID and client secret for the environment you are connecting.
- Sandbox: Copy the Non-Production Client ID and the Sandbox Client Secret into your Connector Profile.
- Production: Copy the Production Client ID and the client secret you generated for the health system into your Connector Profile.
List the allowed hosts
Accounts linked under this profile can connect only to the FHIR hosts you list here. With no list, only Epic’s sandbox is allowed.
- Find each health system’s FHIR R4 base URL under Production Endpoints in Epic’s endpoint directory, or ask the health system’s Epic team.
- Format: host names separated by commas, with no
https://and no path. - Example: the base URL
https://fhir.example-health.org/FHIR/api/FHIR/R4gives the hostfhir.example-health.org; two health systems givefhir.example-health.org, epicproxy.et0927.epichosted.com. - Copy the Allowed FHIR Hosts into your Connector Profile.
Create the StackOne Connector Profile
Create a Connector Profile
Link an Account