abyot / sun-pmt

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

SUM PMT reports #46

Closed kreinhardt closed 7 years ago

kreinhardt commented 7 years ago

Hi Abyot, it seems the actions are not showing up in the population coverage per stakeholder report:

image

The actions are appearing for the other two reports.

abyot commented 7 years ago

Hi @kreinhardt ,

I think we missed that part totally :(

For population coverage, we have to define indicators and indicator groups...

kreinhardt commented 7 years ago

I already defined all the population coverage indicators so that I can use them in the normal data viz module. Is there a link that needs to be made with for the SUN PMT reports?

abyot commented 7 years ago

ok, great. then we need to pull all those indicators into one indicator group.

Since DHIS2 allows to have multiple indicator groups, we do not want to process all of these groups in the PMT... only those valid to action mapping.

This then means we need to create new attribute {name: Is action, code: isAction, valueType: Yes Only}

Then assign this attribute to Indicator group. Go the indicator group containing all the population indicators and set its Is action property to true.

kreinhardt commented 7 years ago

Ok - I have the groups and there is already an attribute that I set up as Is action

image

In the last version it was type Yes/No. Should I change this to Yes only?

abyot commented 7 years ago

both ways should work. Yes/No provides more flexibility as it allows to set to "No" as well.

kreinhardt commented 7 years ago

Ok - the actions are showing up now! Thank you!