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

Patient Category - Shifting form #5387

Closed
aparnacoronasafe opened this issue Apr 24, 2023 · 1 comment · Fixed by #5392
Closed

Patient Category - Shifting form #5387

aparnacoronasafe opened this issue Apr 24, 2023 · 1 comment · Fixed by #5392
Assignees
Labels
P1 breaking issue or vital feature urgent

Comments

@aparnacoronasafe
Copy link
Member

aparnacoronasafe commented Apr 24, 2023

Describe the bug
Unable to select category in shifting form

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://care.coronasafe.in/facility/6dca552f-aba1-4ca5-afc1-a71744fc3d29/patient/4cdb4510-bfe5-4f41-b1d9-c0fdd27f77ad/shift/new
  2. Click on patient category
  3. try to change the category
  4. the field appears blank and doesn't take any input

Expected behavior
User must be able to change patient category in the shifting form, which should reflect in shifting details and in patient dashboard

Part of #5393

Proposed Solution
Remove shifting.patient_category
Use last_consultation.last_daily_round.patient_category ?? last_consultation.patient_category instead

@aparnacoronasafe aparnacoronasafe added urgent P1 breaking issue or vital feature shifting labels Apr 24, 2023
@github-actions
Copy link

⚠️ Refrain from assigning this issue to yourself if you have another P1 issue assigned that is not yet closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 breaking issue or vital feature urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants