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

BUG "Something went wrong": Last admitted to advanced filter on patient list #3482

Closed
aparnacoronasafe opened this issue Aug 26, 2022 · 6 comments · Fixed by #3963
Closed
Assignees

Comments

@aparnacoronasafe
Copy link
Member

Describe the bug
"Something went wrong error comes up when "last admitted to" filter is set at ICU, on patient list
To Reproduce
Steps to reproduce the behavior:

  1. Go to Patient list https://care.coronasafe.in/patients?page=2&limit=12&district=&lsgBody=&facility=&facility_type=&date_declared_positive_before=&date_declared_positive_after=&date_of_result_before=&date_of_result_after=&created_date_before=&created_date_after=&modified_date_before=&modified_date_after=&date_of_result=&last_consultation_admission_date_before=&last_consultation_admission_date_after=&last_consultation_discharge_date_before=&last_consultation_discharge_date_after=&ordering=&category=&gender=&disease_status=&age_min=&age_max=&last_consultation_admitted_to_list=&srf_id=&number_of_doses=&covin_id=&is_kasp=&is_declared_positive=&last_consultation_symptoms_onset_date_before=&last_consultation_symptoms_onset_date_after=&last_vaccinated_date_before=&last_vaccinated_date_after=&last_consultation_is_telemedicine=&is_antenatal=
  2. Click on advanced filter
  3. set last admitted to filter at ICU/Bed with oxygen support and apply the filter
  4. See error "something went wrong appear on tp right corner of screen

Expected behavior
the error must not appear

Screenshots
Screenshot 2022-08-26 at 8 54 11 PM

Desktop (please complete the following information):

  • OS: MacOS
  • Browser chrome,
@khavinshankar khavinshankar self-assigned this Aug 27, 2022
@khavinshankar
Copy link
Member

@aparnacoronasafe it seems that admitted_to field was removed at the backend, so we are getting this error

should we remove this filter at the frontend?

@Ashesh3
Copy link
Member

Ashesh3 commented Aug 27, 2022

Seems duplicate of #2642

PR Fixing this: #2659

@stale
Copy link

stale bot commented Oct 9, 2022

Hi, This pr/issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs for 7 more days. Thank you for your contributions.

@stale stale bot added the stale label Oct 9, 2022
@nihal467
Copy link
Member

nihal467 commented Nov 4, 2022

@aparnacoronasafe it's been here for a while, can you comment on it

@aparnacoronasafe
Copy link
Member Author

@khavinshankar It's not that bed types are altogether removed from care. Earlier we had a more generic bed categorization. Which was removed to introduce the new "Bed Types" as an attribute of any bed within a location.

The last admitted to filter must be updated accordingly.

@gigincg please comment

The bedtype filter is a very useful one and must not be removed completely

@nihal467 lets discuss in the EOD. @Ashesh3 @khavinshankar @vigneshhari to participate

@nihal467
Copy link
Member

@khavinshankar once the PR is merged, close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants