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

Create way to view today overview on the homepage for mobile #460

Open
5 of 8 tasks
kylegoodwin opened this issue Aug 4, 2022 · 0 comments
Open
5 of 8 tasks

Create way to view today overview on the homepage for mobile #460

kylegoodwin opened this issue Aug 4, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kylegoodwin
Copy link
Contributor

kylegoodwin commented Aug 4, 2022

to do

  • Add key icons to patient card (green check, yellow time, +more)
  • Submitted reports visual
    feature/daily-overview-mobile
  • Task list visual
  • verify desired outcome with agnes

Submitted reports visual

  • Fetch data from patients_all
    PractitionerDataProvider passes this data down through context
    const value = useContext(PractitionerContext)

  • Refactored Submitted visual component to get data from activePatients (patients_all -> active)

  • Make sure date being read is intlized

  • memoize expensive calcs

Other to dos

practitionerStore.numberOfCompletedTasks
practitionerStore.totalTasks

^^ These two values are more relevant to the old way of viewing the overall tasks. Maybe instead I can tap into practitionerStore.issuesPerPatient and then add the number to numberOfCompletedTasks. It would also be helpful to display this number on the patient. But right now, as things are, each time I check someone off of the list from the mobile version, only one issue is resolved. Irregardless of how many issues are attached to the patient. This could be solved, I just need to see what is being checked off when we review a patient as is.

it looks like the number of issuesPerPatient is derived from each issue on the old task list + 1 more, which comes from the new way to review a patient.

What is the crucial information that we can take from the patients endpoint?

Also look into patient history report. Like on the desktop version. Have a little preview of the 'reports could solve this issue.'

Feedback from Agnes:

  • Providers have to go into the profile to see the status for today
  • Would be good to show an at a glance status to the providers on that screen instead of having to go into the calendar
  • make sure they can see if they patient has submitted info for the day
  • Today's report is where they want information from
  • ask agnes to clarify

Maybe put in information of days since last report.

Existing flow:
Screen Shot 2022-08-04 at 4 31 51 PM

Patient with no issues:
Screen Shot 2022-08-04 at 4 42 57 PM

@kylegoodwin kylegoodwin added the enhancement New feature or request label Aug 4, 2022
@johnny2smooth johnny2smooth self-assigned this Oct 5, 2022
@johnny2smooth johnny2smooth changed the title Create way to view the status of todays report on the homepage Create way to view the status of todays report on the homepage for mobile Oct 6, 2022
@johnny2smooth johnny2smooth changed the title Create way to view the status of todays report on the homepage for mobile Create way to view task overview on the homepage for mobile Oct 7, 2022
@johnny2smooth johnny2smooth changed the title Create way to view task overview on the homepage for mobile Create way to view today overview on the homepage for mobile Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants