care_fe
care_fe copied to clipboard
Handle Users skill fetching in patient consultation page
Describe the bug
When a doctor is not linked to a facility anymore, and we try to open any old consultation treated by the doctor, the patient consultation page will throw no user matches the given query error message in the frontend since the page try to fetch the doctors skill details.
To Reproduce Steps to reproduce the behavior:
- Go to patient consultation page of a discharged patient
- unlink the related doctor from the facility
- refresh the page
- See error
Expected behavior
- [ ] remove the queryset filters for user details and userskill apis
Screenshots