opensrp / opensrp-client-path

Other
6 stars 6 forks source link

Updating Child Vaccines doesn't update "DUE VACCINE" in register view #274

Open craigappl opened 6 years ago

craigappl commented 6 years ago

Updating a child's vaccine doesn't seem to update the "Due vaccine" column in the register view

Reproduction steps:

Expected Action: We expect that the DUE VACCINE would show the next vaccine that's due in the schedule. Also, the word "Upcoming" is not added to the text

craigappl commented 6 years ago

@cagulas, Please review this ticket, verify it's not a duplicate and assign it to the appropriate team member.

cafootitt commented 6 years ago

I think it is doing the expected action. After vaccines are given, it shows the vaccines that were given with a green check until the next schedules sync. I think we need what you describe above, but it hasn't been implemented yet. This was a new use case that was created when we added the schedules on the tablet itself to allow for back data entry for older children.

So in this scenario, there are more vaccines that are due, so instead of showing the vaccines that were done, it should show any additional vaccines that are due. Only when all due vaccines are given, should it show the most recent vaccines that were given on the register view page.