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
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: