Stream: smart
Topic: EHR information context
Emiliano Fernandez (Apr 30 2021 at 20:16):
Hello, i have a EHR and a new smart app. I would like to know how to send information from the EHR to the smart app, in the launch sequence? Is it correct to put the information needed in the launch parameter? Thank you!!
Michele Mottini (Apr 30 2021 at 20:20):
Yes, the launch parameter is what you should use
Emiliano Fernandez (Apr 30 2021 at 20:21):
Thanks for the replay, so lets say for example if the doctor is attending a patient with an identifier XXX, i could send that XXX in the launch parameter?
Michele Mottini (Apr 30 2021 at 20:23):
Yes
Michele Mottini (Apr 30 2021 at 20:24):
But maybe you do not want patient identifiers in the URL, normally the EHR saves all the information somewhere, generate some kind of code referencing that saved information and passes it to the app as launch parameter
Michele Mottini (Apr 30 2021 at 20:25):
and when the EHR receives back that code it fetches the saved information and uses it to fill the context parameters: http://www.hl7.org/fhir/smart-app-launch/scopes-and-launch-context/index.html#launch-context-arrives-with-your-access_token
Last updated: Apr 12 2022 at 19:14 UTC