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

Multi selection of investigations not working in Patient log lab results #9144

Open
rohitlingarker opened this issue Nov 16, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@rohitlingarker
Copy link

Describe the bug
When Logging the lab results in the Patient investigation tab, we cannot select multiple investigations at once. Atmost we can select 2 (that is by double clicking one option and then clicking on second one, this may also be a bug).
When selecting multiple investigations from the dropdown in the multiselect form for uploading lab results, the input form for previously selected investigations gets hidden. However, if those forms were filled, their data is still processed during form submission, and empty form also getting submitted.

To Reproduce
Steps to reproduce the behavior:

  1. Go to patient tab
  2. Select any active patient
  3. Go to investigations tab
  4. Click on Log Lab Results
  5. Double click any option from the search drop down and click another option
  6. See error
  7. Select a option and fill the following form that is given
  8. Select another option from dropdown and see error(previous filled form gets hidden)
  9. Submit the form , the data gets processed

Screenshots
If applicable, add screenshots to help explain your problem.
https://github.com/user-attachments/assets/8e586585-9382-459f-a262-efc2734656bd

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version 129.0.6668.90 (Official Build) (64-bit)

Additional context
I would like to be assigned to this issue and requesting for expected behaviour

@Jacobjeevan
Copy link
Contributor

(1) Should be able to select multiple investigations
(2) Pass the data to backend only if investigation is still selected

@Jacobjeevan Jacobjeevan added the bug Something isn't working label Nov 19, 2024
@Jacobjeevan Jacobjeevan added this to Care Nov 19, 2024
@github-project-automation github-project-automation bot moved this to Triage in Care Nov 19, 2024
@Jacobjeevan Jacobjeevan moved this from Triage to Up Next in Care Nov 19, 2024
@rajku-dev
Copy link

(1) Should be able to select multiple investigations (2) Pass the data to backend only if investigation is still selected

when user selects one investigation group like 'Biochemistry Test', it shows all tests under 'Biochemistry Test', next if user selects 'FBS' which comes under 'Biochemistry Test', what should be the expected behavior, only one 'FBS' should be shown or all the tests of 'Biochemistry Test' should be shown, since user has selected 'Biochemistry Test' before.
@Jacobjeevan

@github-actions github-actions bot added needs-triage question Further information is requested labels Nov 24, 2024
@nihal467 nihal467 removed question Further information is requested needs-triage labels Nov 25, 2024
@nihal467 nihal467 self-assigned this 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: Up Next
Development

No branches or pull requests

4 participants