opensrp / opensrp-client-chw

Reference OpenSRP application for Community Health Workers (CHWs)
Other
3 stars 21 forks source link

WCARO: Inapp Reporting #1970

Closed ageryck closed 2 years ago

ageryck commented 2 years ago

using the guidance provided on this issue and as scoped on this doc, this is to track the work around engineering the new inapp reporting requirement. Some of the major deliverable under this is;

Assigned engineer to edit issue as appropriate

ageryck commented 2 years ago

This was advised that there will be no need to scale to all flavors

zzainulabidin commented 2 years ago

I have pushed the updates made for indicator into this branch. These changes include adding the 3rd tab into the indicator screen with all the 5 required queries written into this yml file. Currently, one indicator 2nd in issue is working. We need further progress to show the remaining indicator using the multipart feature in the indicator library.

ageryck commented 2 years ago

@allan-on kindly give guidance on the most updated code for this to guide @qaziabubakar to start looking into this

ageryck commented 2 years ago

@allan-on we have determined with @qaziabubakar that the schedule_service table contains only the current month's tasks meaning we can't query for previous months' tasks completion. Kindly help shade light on how the data on the table is handled at the end of the month. Does the table refresh recurring tasks?

allan-on commented 2 years ago

The Schedule job runs on initial login and subsequently every 12 hours (default duration).

When the job runs:

The workflow described is the reason there's no historical data