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

Duplicate and Incorrect SpO2 Field Behaviour in Log Update Form #9181

Closed
AdityaJ2305 opened this issue Nov 22, 2024 · 0 comments · Fixed by #9182
Closed

Duplicate and Incorrect SpO2 Field Behaviour in Log Update Form #9181

AdityaJ2305 opened this issue Nov 22, 2024 · 0 comments · Fixed by #9182
Assignees
Labels
bug Something isn't working

Comments

@AdityaJ2305
Copy link
Contributor

Describe the bug

In the Log Update Form, the fields rendered vary based on the selected round type. However, there are inconsistencies with the SpO2 field

1.  For round types other than “Nurse Log Update”, two SpO2 fields are rendered

 	* One as a TextFormField
 	* One as a RangeAutocompleteFormField with different thresholds.
 	
2.  For the rest of the round types, the RangeAutocompleteFormField is rendered but with incorrect thresholds.

To Reproduce

Steps to reproduce the behaviour:

  1. Navigate to the Log Update Form.
  2. Select any round type other than “Nurse Log Update”.
  3. Observe the duplicate SpO2 fields (TextFormField and RangeAutocompleteFormField).
  4. Select any round type again and verify the thresholds in the RangeAutocompleteFormField SpO2 field.

Expected behaviour

•	Only a single SpO2 field should be rendered across all round types.
•	The SpO2 field should always be a RangeAutocompleteFormField with the correct thresholds based on the round type.

Screenshots
Image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome]
  • Version [e.g. 22]

Additional context
@Jacobjeevan I would like to work on this issue. Please assign it to me.

@Jacobjeevan Jacobjeevan added this to Care Nov 22, 2024
@github-project-automation github-project-automation bot moved this to Triage in Care Nov 22, 2024
@Jacobjeevan Jacobjeevan moved this from Triage to Up Next in Care Nov 22, 2024
@Jacobjeevan Jacobjeevan added the bug Something isn't working label Nov 22, 2024
@github-project-automation github-project-automation bot moved this from Up Next to Done in Care Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants