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

O2 is bydefault getting selected in respiratory support of patient critical care log update #5254

Closed
nihal467 opened this issue Apr 6, 2023 · 3 comments · Fixed by #5261
Closed
Assignees
Labels
P1 breaking issue or vital feature urgent

Comments

@nihal467
Copy link
Member

nihal467 commented Apr 6, 2023

Describe the bug

When we create a critical care log update for the patient, without selecting the respiratory section, the patient is by default shown in 02 respiratory support.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://care.coronasafe.in/facility/a7651c6a-a9b7-4ab7-8efa-4ccabf8c9009/patient/b51f618c-68b4-4ef0-9614-ad29e66131a9/consultation/f3ebae95-b767-474e-9f58-0ceae9a2f5cf
  2. Click on log update
  3. select critical care
  4. input data in any section other than respiratory support and save it
  5. See error

Expected behavior

When we create a critical care log update, without selecting the respiratory section, the patient shouldn't be having O2 respiratory support by default selected

Screenshots

image

@nihal467 nihal467 added urgent P1 breaking issue or vital feature labels Apr 6, 2023
@github-actions
Copy link

github-actions bot commented Apr 6, 2023

⚠️ Refrain from assigning this issue to yourself if you have another P1 issue assigned that is not yet closed.
@skks1212 kindly acknowledge this message by commenting 'Acknowledged' below.

@skks1212
Copy link
Member

skks1212 commented Apr 6, 2023

Acknowledged

@gigincg
Copy link
Member

gigincg commented Apr 6, 2023

https://github.com/coronasafe/care_fe/pull/4810/files#diff-d87205b509f4d11a0ac60ff34e9eaec19d747ca0b553fc1d8227844299953727L162

Add Oxygen Support as a Separate Option.

Handle the same in the Edit & Display Components as well

  • Post fixing this, @mathew-alex to check Daily Rounds Created in Production.
  • Add OXYGEN_SUPPORT as an option for Ventilator Parameters in care_be
  • Create a care_be migration to set existing Records with other Ventilator Parameters set to Oxygen Support

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.

3 participants