FHIR Chat · Closing a SMART on FHIR app? · smart

Stream: smart

Topic: Closing a SMART on FHIR app?


view this post on Zulip Tim Berezny (Mar 21 2019 at 02:42):

Is there a mechanism for an app to instruct the launching server to close the app? For example, lets a SoF app is opened in a modal or inline, and is used to fill out and submit a form, and then its job is done. Once the form is submtted, can the app tell the launching application to close the app?

view this post on Zulip Josh Mandel (Mar 21 2019 at 02:44):

This is something we are working on in the smart web messaging project -- It is still early days, but design and initial thoughts are at https://github.com/smart-on-fhir/smart-web-messaging

view this post on Zulip Josh Mandel (Mar 21 2019 at 02:44):

This is one of the projects that Argonaut is taking on this year, so we expect that this draft specification will begin to mature quickly.

view this post on Zulip Tim Berezny (Mar 22 2019 at 15:20):

This is great thanks. Quick question from some language in this document, what is an "EHR's Scratchpad" and what is it's purpose?

view this post on Zulip Travis Cummings (Apr 05 2019 at 14:22):

This smart-web-messaging is very exciting! We have an app that is using an Epic Link but would like to soon move to Cerner and Allscripts among others. What is the best way to track this project?

view this post on Zulip Isaac Vetter (Apr 23 2019 at 19:25):

Hey Travis, this site is probably the best way to track the project: https://github.com/smart-on-fhir/smart-web-messaging

view this post on Zulip Isaac Vetter (Apr 23 2019 at 19:26):

Hey Tim, the "scratchpad" is the idea that there are draft FHIR resources that may only exist in memory on the EHR client that's hosting the SMART app inline. The current example of this is an unsigned order.

view this post on Zulip Tim Berezny (May 22 2019 at 15:32):

Could an "unsigned order" on the scratchpad be discarded based on the actions in the SMART app?

view this post on Zulip Tim Berezny (May 22 2019 at 15:40):

@Josh Mandel , similarly, if a SMART app is opened in a new tab (or, in the same tab) instead of inline, is there a mechanism where the launcher can specify a redirect URL for the SMART app to land on once its done its job?

view this post on Zulip Josh Mandel (May 22 2019 at 20:06):

Re: scratchpad, yes the API includes deleting items.

view this post on Zulip Josh Mandel (May 22 2019 at 20:07):

For closing an app, the expectation is that whether the app is in an iframe or a tab, the EHR is the opener and has the power to call "close", so the messaging API is just a way for the app to tell the EHR "please call close now".


Last updated: Apr 12 2022 at 19:14 UTC