Any docs on how to create a provider facing app using Epic

39 views
Skip to first unread message

sibin c sebastian

unread,
May 29, 2024, 1:49:20 AMMay 29
to SMART on FHIR
Hey I have been trying to build a provider app using epic couldnt find any docs on it! 

Sean Nolan

unread,
May 29, 2024, 11:28:05 AMMay 29
to SMART on FHIR
I have a working tutorial using almost all hand-coded Java --- it may or may not be the right architecture for your app, but it definitely will help you understand the concepts and is a useful reference as you work through your project. There are four parts --- they all apply to implementations against Epic, but about halfway through #2 is specifically where we connect to their sandbox.

sibin c sebastian

unread,
Jun 5, 2024, 1:56:26 AMJun 5
to SMART on FHIR
hey thanks, do you have any idea about pulling data from epic ? i need to pull data for my web app from epic when a patient enrolls and gives consent. 

Sean Nolan

unread,
Jun 5, 2024, 11:35:13 AMJun 5
to sibin c sebastian, SMART on FHIR

Do you mean pulling data offline, like when the patient/provider is not actually present at a website? You’ll need at some point in the process to obtain an auth token to make FHIR requests --- this can be done by the provider or patient using a flow similar to the one in that tutorial. If you request “offline” access you’ll also get a “refresh token” that will enable to you to obtain new tokens without user interaction once the original one expires. One caveat --- I don’t know the status of Epic giving long-lived tokens these days, you may find that you’ll have to interrupt the user every once in awhile to re-obtain auth, which is a big pain. But with that token, you can just make FHIR requests as usual. There is no FHIR-based trigger to let you know when new data is available, so you’ll have to implement polling of some type.

 

There is a separate backend auth flow (https://build.fhir.org/ig/HL7/smart-app-launch/backend-services.html) --- but I don’t know what the support levels are for this in Epic, or how challenging it is to set up --- just haven’t done it.

 

Hope that at least gets you started! ---S

--
You received this message because you are subscribed to a topic in the Google Groups "SMART on FHIR" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/smart-on-fhir/q_Nn5tyX_1k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to smart-on-fhi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/smart-on-fhir/97d8f28e-2c1b-4ad4-a60d-8e76bb5c57e4n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages