Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Active Clinic Selection #20

Open
1 task
AEst2002 opened this issue Oct 31, 2023 · 0 comments
Open
1 task

Active Clinic Selection #20

AEst2002 opened this issue Oct 31, 2023 · 0 comments

Comments

@AEst2002
Copy link
Collaborator

AEst2002 commented Oct 31, 2023

Resources
Figma

Description
While clinicians can only own a single clinic, patients can be a part of several clinics at a time. As a result, we'd like patients to be able to switch their "active" clinic, such that they can see information relating to each one individually.

  • Devise a way to set and make globally available a patient's active clinic.
    • This could be through some global context, for example.
    • You'll want to make sure this active clinic's information is available anywhere on the app, so content related to that user in that specific clinic can be retrieved/rendered.
    • If the patient isn't in any clinics, or the user is a clinician, this active clinic can be null.
    • You'll also want to edit the header component such that it contains a dropdown displaying all clinics a patient is currently a part of, and users can select a clinic to set it as their "active clinic". See the Figma for more detail.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant