Skip to content
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

Ability to switch user/practitioner and patient from the UI #57

Open
faizalMo opened this issue Aug 24, 2018 · 5 comments
Open

Ability to switch user/practitioner and patient from the UI #57

faizalMo opened this issue Aug 24, 2018 · 5 comments

Comments

@faizalMo
Copy link

Hi, we are using the CDS sandbox in a workflow which involves validation by switching between user/practitioner and patients. It will be quite handy to be able to do these switching from the UI itself. What I am thinking of is displaying a list of users somewhere in the main view(header?) fetched from /Practitioner endpoint and also be able to select a Patient from a list of available patients(/Patient endpoint) in the patient entry page. I am keen to know if there was any such enhancement request before or if someone is already working on it. Is this something you are keen to add to the sandbox if I raise a PR with the changes?

@zplata
Copy link
Contributor

zplata commented Aug 27, 2018

Hi @xMECian I think your request makes sense. The previous version of the Sandbox used to have a feature for a patient list on the "Change Patient" modal, but ran into an issue once where the hardcoded patient ID's in the list weren't able to be found on the FHIR server through the HSPC Sandbox (due to a short-term mismapping), so for now, it's just an input to change the patient to prevent confusion. Would be great to see a PR with these changes for both patient and user! I think it would make sense to have these patient lists on the "Change Patient" modal, and then add an option on the settings menu to "Change User" that has a similar workflow. Thoughts?

@faizalMo
Copy link
Author

faizalMo commented Aug 30, 2018

Adding a new "Change User" option under settings menu with a similar workflow as "Change Patient" sounds sensible. Let me see if I can put together a PR with these changes. Cheers.

@faizalMo
Copy link
Author

faizalMo commented Sep 4, 2018

I have raised a pull request for this issue - #58

@barabo
Copy link

barabo commented Nov 20, 2019

Just wondering if this is still a wanted feature. I know I would like to have it working for a smart web messaging demo I'm putting together.

@dennispatterson
Copy link
Collaborator

@barabo When the sandbox is SMART-launched, the user would carry over. But for standalone launch, this makes sense.

The change patient functionality is built-in, but requires manually entering the id and no searching. The same could be done from a Practitioner perspective as a starter. We'd need to test that the sandbox handles when the FHIR server is changed and SMART apps can still be launched successfully. Beyond that, more advanced search functionality could be built-in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants