You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generally the user is retrieved from the id_token. See here for a sample id_token in jwt.io.
ThefhirUser value tells you what the user resource is. In this case, its a Practitioner with resource ID pharmacist.
If you want to pass an Organization through, you might want to use PractitionerRole as the user. From there, you can access both the Practitioner and the Organization resources.
Smart Forms as of now is a bit limited as it expects the user to be a Practitioner, so it might not work when you pass a PractitionerRole as the user. But in theory you can code a SMART app to accept any resource to be the user e.g. Practitioner, PractitionerRole, Person, etc.
Hi Sean,
Thanks for the sample app embedded in the demo EMR. Especially the EMR patient and provider context launch.
Do you know if the fhirContext in the AU context is being set with the Practitioner and Organisation in addition to the Patient and Encounter?
Happy to discuss more at the Connectathon.
The text was updated successfully, but these errors were encountered: