Cerner SMART App Development Tutorial

3,010 views
Skip to first unread message

Yegor Hanov

unread,
Dec 5, 2016, 2:58:05 PM12/5/16
to Cerner FHIR Developers

Sonia Dhamija

unread,
Dec 27, 2016, 1:02:14 PM12/27/16
to Cerner FHIR Developers
Hi Yegor


I am healthcare software specialist and need some assistance on steps to publish custom php app of one page to cerner sandbox.

How that process will work ? App will work independently  on a separate pop up window by taking real time data or it will display with in their workflow ?

Please assist.

On Tuesday, December 6, 2016 at 1:28:05 AM UTC+5:30, Yegor Hanov wrote:

Jenni Syed

unread,
Dec 29, 2016, 12:11:06 PM12/29/16
to Cerner FHIR Developers
Hi Sonia,

See the process here to develop an app for Cerner: https://code.cerner.com/build (the "how it works" section).

Apps can be launched via SMART within the EHR. When launched this way, the app is in a tab within the chart, not in its own popup. Read more about SMART here: http://docs.smarthealthit.org/

~ Jenni

Sonia Dhamija

unread,
Jan 2, 2017, 2:59:18 AM1/2/17
to Cerner FHIR Developers
Thanks Jenni

Regards
Sonia

Shamil

unread,
Jan 11, 2017, 12:03:26 PM1/11/17
to Cerner FHIR Developers
Hi Yegor,

I'm following this tutorial and what I'm getting is an error:

An Error has Occurred.
"SMART on FHIR Starter App" was attempting to request access to healthcare data with FHIR Play Millennium; unfortunately, the application doesnt appear to be compatible. If you require further assistance, please contact support.

Information to provide to Technical Support
Correlation ID: 03955b87-52ca-47cd-a0b0-a500885c6e15

Information to provide to SMART on FHIR Starter App
The requested redirect URI does not match the one registered for "SMART on FHIR Starter App". Error Codeurn:cerner:error:authorization-server:oauth2:grant:invalid-redirect-uri

I'm not sure what is wrong here, my launch and redirect URI are explicitly provided like this:
SMART Launch URI: https://<my user name>.github.io/smart-on-fhir/launch.html
Redirect URI: https://<my user name>.github.io/smart-on-fhir/index.html

The launch.html is updated to use the Client Id given during the app registration: 2352683c-80e4-44c6-89b5-c7df13fac1d0

Did I miss anything?

Regards,
Shamil

Kol Kheang

unread,
Jan 11, 2017, 1:46:07 PM1/11/17
to Cerner FHIR Developers
Hi Shamil,

Please try again when you have a chance.  There is a 15 minutes interval for the system to pick up the new registration changes right now.

Kol Kheang

unread,
Jan 11, 2017, 1:52:19 PM1/11/17
to Cerner FHIR Developers
Shamil,

The redirect uri should be https://shamilnn.github.io/smart-on-fhir/ for your app.

Shamil

unread,
Jan 11, 2017, 2:01:46 PM1/11/17
to Cerner FHIR Developers
Hi Kol,

This is what I tried yesterday, with about 30 minutes delay (gh-pages + cerner deploy) after deploying the site to gh-pages.
It did not work with the same error. Today I decided to recreate the app with exact URLs. It seems I'm getting the same error.


Regards,
Shamil

Kol Kheang

unread,
Jan 11, 2017, 4:08:36 PM1/11/17
to Cerner FHIR Developers
Shamil,

Your redirect uri for this client id 2352683c-80e4-44c6-89b5-c7df13fac1d0 is: https://shamilnn.github.io/smart-on-fhir/index.html.  Let me remove the index.html from the redirect uri.  You can try again in 15 minutes.

Shamil

unread,
Jan 11, 2017, 4:30:32 PM1/11/17
to Cerner FHIR Developers
Finally it works, thank you Kol.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages