SMART app in PowerChart to open separate browser window

422 views
Skip to first unread message

dy...@avizia.com

unread,
Feb 28, 2018, 12:00:48 PM2/28/18
to Cerner FHIR Developers
We have completed our SMART app dev in the Code portal and it is working great. I'm still not completely clear on what this will look like within PowerChart when the provider is on a patient's chart and wants to open our web-based app. One factor for us is that we would like this to open a separate browser window rather than embedding our app within a frame in the PowerChart UI.

Because we are a video conferencing solution, and a lot of our customers are using Citrix, we want the ability for that browser window to open on the local machine so that video traffic doesn't have to travel through Citrix. This is all possible using Citrix content redirection, but that means that the SMART link within PowerChart would need to trigger a separate browser window to be opened. 

How would we have our customer configure our SMART app to open in a separate window? 

Thanks,
Dylan

Kol Kheang (Cerner)

unread,
Feb 28, 2018, 12:51:05 PM2/28/18
to Cerner FHIR Developers
Hi Dylan,

I think the best option would be to load the SMART app using the embedded browser. Then provide a link to the user to click or automatically trigger the API via onload to open a new browser on the user's computer.  We have that API today to open a new window on the user's computer.


Thanks,
Kol

dy...@avizia.com

unread,
Mar 1, 2018, 3:05:43 PM3/1/18
to Cerner FHIR Developers
This is helpful. Thanks Kol!
  1. Is there a way within our web page for us to detect we are embedded within the PowerChart frame?  Is there some sort of javascript that we can use to detect the PowerChart 'parent' so that we can render this button to optionally pop our app out into a separate window?
  2. I presume we will need to re-authenticate in that separate window, right? The embedded browser in PowerChart will not maintain the cookies/session state in the separate browser. 
  3. Will this be the same on a mobile interface?  I'm unclear whether there is a mobile app for PowerChart that supports SMART so maybe the question is irrelevant. 
  4. How large (pixels) is the typical space within that frame? 
  5. What about for patient SMART links in the Cerner Patient Portal?  Will these open a new window or also embedded? 

Thanks,
Dylan

Jenni Syed (Cerner)

unread,
Mar 2, 2018, 5:28:42 PM3/2/18
to Cerner FHIR Developers
Dylan,

Some of these questions require a bit of investigation on our part. We're looking into it!

~ Jenni

Kol Kheang (Cerner)

unread,
Mar 5, 2018, 1:17:31 PM3/5/18
to Cerner FHIR Developers
Hi Dylan,

1. Yes, you can use this function to determine if your app is being rendered in PowerChart or not. http://fhir.cerner.com/smart/#embedded-in-powerchart
2. Yes, you're correct. The embedded browser and the standalone IE browser do not share sessions.
3. We currently do not have support launching a SMART app natively from mobile PowerChart Touch yet.
4. Please see this page: https://connect.ucern.com/docs/DOC-674997 for reference.  The app should be responsive so that it can fit into any containers that we have.  Please don't design the app to fit just one scenario.
5. It will be open in a new window for now.


Thanks,
Kol

dy...@avizia.com

unread,
Mar 12, 2018, 3:53:28 PM3/12/18
to Cerner FHIR Developers
This is really helpful. Thanks Kol!
Reply all
Reply to author
Forward
0 new messages