Epic Financial System API - Implementation Template

(0 reviews)

Prerequisites

The following describes how to configure the Epic API.

Setting up the certificate for JWS

  1. Use the SMART Backend Services approach which uses signed JWT to get the access token.
  2. Generate a new public-private key pair and get the certificate(s) in the appropriate format:

# generate a new public-private key pair
openssl genrsa -out Anypoint_MuleSoft.pem 2048

# export the public key to a base64 encoded X.509 certificate
openssl req -new -x509 -key Anypoint_MuleSoft.pem -out Anypoint_PublicKey.pem -subj '/CN=Anypoint' -days 365

# export the keystore in pkcs12
openssl pkcs12 -export -in Anypoint_PublicKey.pem -inkey Anypoint_MuleSoft.pem -out Anypoint_Keystore.p12



Creating an app in Epic

  1. Log in to Epic and click Build Apps:

    EPIC-LoginPage.png

  2. Click Create and enter your app details. Upload the public key store (Anypoint_PublicKey.pem) file generated in the previous steps and then click Save.

    EPIC-CreateApp.png

  3. After the Client ID and Non-Production Client ID are generated for the created app, do the following:

    • Select the SMART on FHIR Version as R4,
    • Enter the summary,
    • Accept the terms of usage, and
    • Click Save & Ready for Sandbox and/or Save & Ready for Production.

      EPIC-ClientID.png


Reviews

TypeTemplate
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onOct 12, 2023
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0