Hi -- can you connect a custom smart fhir app (not...
# general
u
Hi -- can you connect a custom smart fhir app (not just infero)? I tried with https://www.medplum.com/docs/integration/smart-app-launch but I keep getting "failed to construct url" when launch on patient (this is fake patient) ... maybe you can just connect to inferno?
r
I'm realizing one of the limitations of the documentation that I forgot. You need to have a user identity for the patient in order for the links to work, otherwise there isn't an identity for them, just a record (realize this is confusing!). Go ahead and create a patient with email here: https://app.medplum.com/admin/patients - the patients with no identities will not work
Regarding all the resources - they are in the app but the side nav is configurable via UserConfiguration
I have filed a task to fix the documentation! https://github.com/medplum/medplum/issues/1612
This guide here has permalinks to common resources https://www.medplum.com/docs/tutorials/browse-sample-data
u
thanks ... i tried to make an identity and it seems it took, but i still get invalid url ... I must be doing something wrong.
r
looking!
Is your SMART Launch app hosted? Maybe I could try it myself and see if I can debug?
u
Hi -- sorry, had a lot of work stuff going on ... was getting back to this and now I can't access project as admin (get forbidden) ... : /admin/projects/4b6f273f-1d25-4f3a-bf23-d05f5a52197e if that helps
this is the jwt decoded
realize trying to debug a 403 is hard ... not sure what else you would need
never mind, apparently i have two logins for same account
the app is at https://EC-Demo.patientdev.repl.co ... it currently launches to open epic's sandbox ... was trying to launch for patient access from medplum
oh, nevermind ... i needed to add a launch.html and now it is no longer giving the error ... didn't get that I had to create the app then go to edit so i could add a launch ... launch is not in the create screen ... sorry to bother ... k.
got one step further ... i copied the same redirect from my launch to medplum ... anyway ... will try again at some point
ah, it is case sensitive
for reference for myself in future ... 1. create app 2. go to https://app.medplum.com/ClientApplication and edit ... 3. add launch.html (case sensitive) ... login as one of the pts ... kinda wierd patient login experience "set scope"
r
I get you on the weird patient login experience - we are working on that! If you are ever up for recording what you did, we would so appreciate it.
180 Views