Stream: implementers
Topic: SMART on FHIR - External Data Source
Ravi Athmanathan (Jun 09 2021 at 16:50):
Is there a common pattern existing on how Smart on FHIR apps gets authentication for external data sources?
Josh Mandel (Jun 09 2021 at 16:58):
Not really; "external" is the key word here, indicating circumstances beyond what we can standardize. But I suppose the core options are:
- App uses SSO (OpenID Connect) data from SMART App Launch (fhirUser practitioner details) to decide what external data to show
- App asks user to authenticate separately into an external system before showing any data
TTNJyothi (Jul 02 2021 at 05:36):
Can any one please suggest me how to deploy GrowthChart app from the Smartapp Gallery. I installed node.js and installed using npm install command and started using npm start command. when i browsed http://localhost:8000/launch.html iam getting just "loading....." nothing else. how to move forward please suggest
Josh Mandel (Jul 02 2021 at 13:13):
This app works with the EHR Launch Flow. Are you using the EHR Launch Flow? You'll need to pass the app a launch
parameter and an iss
parameter.
TTNJyothi (Jul 03 2021 at 12:13):
Thank you very much Josh for your reply, It helps a lot for me. I used the smart launcher and given the installed APP url and clicked onthe launch App button. list of patients loaded by logging and by selecting the patient from the list , getting msg like "Local host sent an invalid response". what might be the reason and where i have to check please guide.Below is the snapshot how i am getting
image.png
Josh Mandel (Jul 03 2021 at 15:00):
You could open up chrome developer tools, look at the network tsb, and see what's happening with the request to (and response from) localhost. (E.g., are you successfully hosting launch.html on port 8000?)
TTNJyothi (Jul 03 2021 at 17:45):
Yes, successfully hosted launch.html. I tried with Cerner developer tool also with that pls see the snapshot the error iam getting
image.png
Josh Mandel (Jul 03 2021 at 19:22):
Can you paste the chrome developer tools network tab's response info here?
Last updated: Apr 12 2022 at 19:14 UTC