Open benkags opened 4 years ago
@mouriceb @helizabetholsen could you provide some perspective on how this may affect the impact metrics and some things we may want to consider from an R&L perspective?
This is the deck summarizing this feature. It should be ready for dev
TL;DR
Part of #4771 which is summarized as:
For this ticket, the proposal is to focus on, varying static target goals for community health workers as informed by demographic, population differences as well as data points associated with the community health workers and their population
User Stories
Mockups
Acceptance Criteria
Variable targets should integrate well with the targets status quo:-
The target goal should be available on disk for analysis. In addition, add an indication of whether a target is variable or not in the data saved.
Information on when the target goal took effect(i.e when it was updated to a new value) should be available in data, including a way to tell what the value was before the update. In other words, if an update is made to the target goal, the same should reflect in the document saved on disk including the timestamps when that happened. This should work well with both monthly and all-time targets.
If a target changes from a static to variable target, it should be possible to tell that from the data saved on disk.
The interface for setting a variable target should be fairly easy to interact with and scalable for the different combinations of user setups that are likely. For guidance, here are some examples:
Variable targets should be distinguishable as having goals and are not to be mixed up with targets without a goal such that it should not be possible to specify the same target as both having a goal for a subsection of users and not having a goal for another group of users.
User Acceptance Scenarios
Scenario 1
There are some projects that we know have implemented this by duplicating target object configurations. Re-implement those in a neat and scalable way using this feature. Expected result: One clean target config object that serves the different target goals for the different branches.
Scenario 2
A hypothetical organization has the following hierarchy set up: ‘branch -> CHW area -> household’. Supervisors are created at the branch level. For purposes for scenarios below, the supervisor and supervisor naming has a ‘branch-role-number’ pattern e.g A-supervisor-1, B-CHW-1.
assessment
andassessment-follow-up
are among the forms configured. The following is the requirements spec for this organization that we will validate with the scenarios later.Some specific branches and CHWs are marked for specific target goals. In some situations, the criteria are a little more generic and the program manager will provide criteria to the app builder as we will see below.
For purposes of the scenarios below, below is a set of requirements for the hypothetical organization above.
Desired Scenarios
Setup
Expected Targets Configuration Output
a. Log in as A-CHW-1
b. Log in as A-CHW-3
c. Log in as A-CHW-4
d. Log in as B-CHW-1
e. Log in as B-CHW-2
f. Log in as B-CHW-3
g. Log in as C-CHW-1
h. Log in as A-Supervisor-1(supervisor attached to Branch A)
i. Log in as C-Supervisor-1
Feature Update Metrics