Each type of encounter will be added a field where it's completion data will be stored.
For each type of encounter, we'll have a dedicated script that will locate encounters that don't have completion data set, and will compute and set it.
The scripts will be executed once a day, during night time.
We'll add new front-end APP that will allow selection of desired report:
Encounter type
Scope (Global / HC)
Date range (?)
App will forward request to back-end, where encounters matching the criteria will be loaded, and their completion metrics will be aggregated and send to front-end.
App will process raw data and generate completion statistics.
Encounters had new logic and activities added with time. Each new content type that was added requires additional check for launch date (date when new version that included that change was deployed).
There are special scenarios where activities that are usually considered mandatory are skipped. For example COVID suspect diagnosis on CHW app will lead straight away to Next steps.
For each type of encounter we want to know: