TIP-Global-Health / eheza-app

Apache License 2.0
3 stars 1 forks source link

NCDA CHW Questionnaire - immunisation history #780

Closed anvmn closed 4 months ago

anvmn commented 1 year ago

Todo: Define the architecture using which CHW will have a way to update vactinations thate were performed.

Tasks:

  1. Turn Child Scoreboard encounter into multiactivity encounter (Encounter page with activities + Activity page for each activity), with 2 activites - Child Scorecard (displayed always) and Vaccination History (optional).

  2. If child is behind on vaccinations, and responds that there are vaccines to record, display Vaccination History activity. It will have up to 7 tasks (for each of vaccines child is behind on). Selection_2065

  3. Vaccination History task form will behave similar to vaccination form at SPV encounter. Only difference is that it will not present a question about giving a shot today.

  4. Vaccination History activity is to be accounted for at logic that generates vaccination progress data structure for child.

anvmn commented 1 year ago

@adamhstewart ^^

adamhstewart commented 1 year ago

@anvmn please check child Adeo Emmy on the nutrition environment. We did an encounter with him and update his vaccin records to be up to date. The scorecard shows that he is behind and there are no vaccines shown in the progress report.

anvmn commented 1 year ago

@adamhstewart

@anvmn please check child Adeo Emmy on the nutrition environment. We did an encounter with him and update his vaccin records to be up to date. The scorecard shows that he is behind and there are no vaccines shown in the progress report.

Managed to reproduce the issue locally. The problem here is that current implementation relies on existence of at least one SPV encounter. If there's such an encounter, it's able t generate vaccination data from both sources - SPV and Child Scoreboard data. However, if there're no SPV encounters, it assumes there were no vaccinations, which is not correct.

I'll modify the logic to take into account a scenario where there were no SPV encounters, but Child Scoreboard took place.

anvmn commented 4 months ago

NCDA is on live for few months. Closing.