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

Review time: consultation update #1255

Closed
aparnacoronasafe opened this issue May 29, 2021 · 8 comments · Fixed by #3584
Closed

Review time: consultation update #1255

aparnacoronasafe opened this issue May 29, 2021 · 8 comments · Fixed by #3584
Assignees
Labels

Comments

@aparnacoronasafe
Copy link
Member

The review set on consultation update does not get saved

Also, a badge for saved consultation update for review set must be added

@peeyush14goyal peeyush14goyal self-assigned this May 29, 2021
@peeyush14goyal
Copy link
Contributor

@bodhish Data rendered does not contain review_time field
image

@vigneshhari
Copy link
Member

vigneshhari commented Jun 1, 2021

review_time is part of the patient, not the consultation. ( although it saved in consultation the backend moves it to the patient )
the patient API should have it.

@bodhish bodhish added the cef label Jun 14, 2021
@peeyush14goyal
Copy link
Contributor

@aparnacoronasafe As @vigneshhari mentioned that Review Time is stored in Patient Details. So next do you want to show this value somewhere?

@peeyush14goyal
Copy link
Contributor

In Patient Data its here
image

@aparnacoronasafe
Copy link
Member Author

@peeyush14goyal

The issue is the saved review time doesn't appear in any of the forms.

So what happens is, once you set review, You have no way of deleting the review alerts

If the saved reviews appear somewhere, Like on the patient dashboard, with an option to stop/edit it.

@peeyush14goyal
Copy link
Contributor

peeyush14goyal commented Jun 14, 2021

@vigneshhari
image

image

If review_time field is left blank then 0 is sent in request.
Are we adding the review_time value in the current time in the backend?. If so, then please Can you please update that if review_time field is 0 then make review_time "null"?

@peeyush14goyal peeyush14goyal removed their assignment Aug 9, 2021
@Ashesh3 Ashesh3 self-assigned this Sep 11, 2022
@mathew-alex mathew-alex moved this to In Progress in Care Sep 11, 2022
@mathew-alex mathew-alex added this to Care Sep 11, 2022
@aparnacoronasafe
Copy link
Member Author

Clarification on the Issue:

How the Review Feature should work:

  • The user must be able to set a review time in the consultation/edit consultation form. Or later on in a log update form.
  • Once the review time is set, then within that time if a Log Update is not filed for the patient, then the "Review Missed" Badge must appear on the patient card.
  • When a log update is filed for the patient, the preselected review time must come pre-filled in the 'review after' field in log update.
  • With every log update filed, the review clock must reset.
  • If the user, the the log update doesnt edit the 'review after' field, the same interval will continue for review, with the review call resetting with every log update.

Eg: I file a 1 hr review in consultation form. I file a log update in half an hr. The log update form will come prefilled with 1hr in review after field. I can choose to edit it to 2 hrs. Then once i save the log update, the clock for review must reset. If no logupdate is filed in another 2 hrs, the "review missed" label must appear on the patient grid in patient list. Then once i file a log update, the clock must be reset again with whatever time is mentioned for review in the latest log update.

Issues in CARE now - to be resolved

  • When I select a review after time in consultation form, and later open the edit consultation form, I see the review after field as blank. I must be able to see the review time i had set previously and also have the option to edit it.
  • When i edit the consultation form to add/edit review time, such time must be considered from the time I edited the consultation, and not the time the original consultation was filed.
  • When a review is missed, an a "review Missed" flag appears on patient card, the flag must dissappear once I file a log update.
  • The log update form must come pre-filled with the previoud review time set (either on the consultation form, or on the previous log update)- the user must have option to edit it.
  • The "review missed" flag must come right below the patients name on the patient dashboard as well (https://care.coronasafe.in/facility/7ab27974-32c8-4e36-bdf9-dbf102524718/patient/cc52390c-ac8a-4af5-9806-f3df7ee1795a/consultation/7037609e-3c25-45ed-bfd8-e01c346cbd45)

@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
Repository owner moved this from In Progress to Done in Care Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants