-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Standalone Launch #38
Comments
The app uses the EHR launch, or alternatively will take a base URL to an open FHIR server. It does not provide a way to do a standalone launch. However, it should not be too difficult to add that, since the SMART on FHIR part is handled by the fhirclient library, which does support the standalone launch option (https://docs.smarthealthit.org/client-js/api). |
I managed to add the standalone launch by changing the launch.html. |
I am not sure. I assume you still have "launch/patient" as a part of the scope requested in launch.html? You might also try adding patient/*.rs, but I don't think that should be necessary to get the patient resource. (I am looking at https://hl7.org/fhir/smart-app-launch/scopes-and-launch-context.html#scopes-for-requesting-fhir-resources for information on the scopes.) Are you getting the chance to select a patient? Now I see you might be trying to specify a patient. I think the EHR system is supposed to help you pick one. I don't know if there is a way to specify a patient in a SMART on FHIR launch. |
Thank you for the support and quick answer, I managed to get it running. But I finally got it to work! I only needed to chang the last scripts tag in launch.html to the following:
(Although I think the proper way would be to create a launch-patient.html and include it) I also added a redirect in the index.js where the I hope this helps someone and thank you for your time :) |
I could not get the app to authenticate under Windows in standalone launch.
Is that possible?
The text was updated successfully, but these errors were encountered: