Disaggregations within Reporting module

We are starting on a project to auto submit PEPFAR MER 2.0 indicators straight into DHIS and we already have a piloted path designed on how to achieve this, one part is right now unclear to me, i have looked at https://github.com/openmrs/openmrs-module-reporting/tree/master/api/src/main/java/org/openmrs/module/reporting/indicator/aggregation thinking to figure out if there’s a way i could write one indicator definition that i can run with varying disaggregations (age groups, HIV statutes, gender) but weren’t able to know how to do that.

I have one thought though which is having possible disaggregations written as cohort indicators, could there be a better way of doing this!!!

CC; @mseaton, @burke, @pascal, @wyclif, @darius, @dkayiwa, @maurya, @ssmusoke, @ssemakadde

@k.joseph I know this can be done by:

  1. Creating an indicator definition

  2. Then adding multiple dimensions - age, gender and HIV statuses

However we have not been able to get it to work due to some issues with passing dates with some of the additional classes/functionality lifted from KenyaEMR:

  1. Code https://github.com/METS-Programme/openmrs-module-ugandaemr-reports/pull/31/files#diff-d56c448c0f084c23cf1c01abd6e0383e

  2. Output is https://files.slack.com/files-pri/T3U7MQNGY-F3Y438QAD/screenshot_2017-01-31_16.22.09.png

Would love to see a simple example for getting this to work as it would greatly improve our reporting capabilities.

1 Like

@k.joseph I was able to get the dimensions desegregations working the error was on our end … and guess what it totally simplifies the desegregations

1 Like

cool, thanks @ssmusoke, will check on you later on how you handle inherent disaggregations/dimensions