care_fe icon indicating copy to clipboard operation
care_fe copied to clipboard

Handle Users skill fetching in patient consultation page

Open nihal467 opened this issue 8 months ago • 1 comments

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:

  1. Go to patient consultation page of a discharged patient
  2. unlink the related doctor from the facility
  3. refresh the page
  4. See error

Expected behavior

  • [ ] remove the queryset filters for user details and userskill apis

Screenshots

image

nihal467 avatar Jun 15 '24 17:06 nihal467