← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] Calculation of conditional Indicators

 

Hello Prosper at all,

As discussed earlier, we're working on rather complete solution to this
problem, rather than work arounds, you can get a sneak peak,
https://play.dhis2.org/dev/api/apps/function-manager/index.html

The idea is you function will serve as analytics, but gives you room to
impose any sort of conditions with javascripts.
The app itself is functional but it's not yet easy enough for mere-mortals.

But it should work the same manner, like indicators in pivot, that app
above, essential, takes period, orgunit and data selections, passess them
to a function a function works with the selections, and returns results in
same format as analytics would, and the app picks the results again, and
draws it.

Plan is to have it as stand-alone solution reusable anywhere, but it will
also be standard integral part of scorecard.

Again, it's still work in progress, we'll take feedback, once it's usable
enough for rollout.
Cheers.

On Wed, May 10, 2017 at 1:26 PM, Prosper BT <ptb3000@xxxxxxxxx> wrote:

> Dear Ola,
>
> Thanks for sharing this workaround, the two challenges may be wanting to
> keep same data with the aggregate data in entry because most of the time
> its within one form and may be inconveniencing switching between entry
> screens.
>
> Remember we had suggested to write a script that can update single event
> data elements  to use program indicators that can in turn be used as
> aggregate indicators for scorecard and BNA indicators.
>
> From the core development team is ther as way we can use aggregate
> indicators or both data element in aggregate and events so as to use
> program indicators for this. Its becoming very critical for analysis of
> logistics, HR, Scorecard and BNA indicators.
>
> The scorecard team is building up something John and Eric can share
> progress.
>
> Regards
>
>
>
>
>
> Prosper Behumbiize, MPH
> DHIS2 Implementation| HISP Uganda
> prosper@xxxxxxxxxxxxxx <ptb3000@xxxxxxxxx> | prosper@xxxxxxxxx | Skype:
> prospertb
>
> On Wed, May 10, 2017 at 1:14 PM, Ola Hodne Titlestad <olati@xxxxxxxxxx>
> wrote:
>
>> Hi Sam,
>>
>> You may consider collecting some of this data with single events
>> (routine surveys/assessments) and then use program indicators or event
>> data item aggregation to get the aggregate numbers you are looking
>> for.
>>
>> Ola
>> -------
>> <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table
>> style="border-top: 1px solid #D3D4DE;">
>>         <tr>
>>       <td style="width: 55px; padding-top: 18px;"><a
>> href="https://www.avast.com/sig-email?utm_medium=email&utm_
>> source=link&utm_campaign=sig-email&utm_content=webmail"
>> target="_blank"><img
>> src="https://ipmcdn.avast.com/images/icons/icon-envelope-tic
>> k-round-orange-animated-no-repeat-v1.gif"
>> width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
>>                 <td style="width: 470px; padding-top: 17px; color:
>> #41424e;
>> font-size: 13px; font-family: Arial, Helvetica, sans-serif;
>> line-height: 18px;">Virusfri. <a
>> href="https://www.avast.com/sig-email?utm_medium=email&utm_
>> source=link&utm_campaign=sig-email&utm_content=webmail"
>> target="_blank" style="color: #4453ea;">www.avast.com</a>
>>  </td>
>>         </tr>
>> </table>
>> <a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1"
>> height="1"></a></div>
>> ----------------------------------
>> Ola Hodne Titlestad (Mr)
>> HISP
>> Department of Informatics
>> University of Oslo
>>
>> Mobile: +47 48069736 <+47%20480%2069%20736>
>> Home address: Eftasåsen 68, 0687 Oslo, Norway. Googlemaps link
>>
>>
>> On 10 May 2017 at 10:01, Sam Kasozi <kasozis@xxxxxxxxx> wrote:
>> > What is the best approach for creating conditional indicators for
>> routine/
>> > aggregate data such as facilities reporting stock outs or facilities
>> > providing a service?
>> >
>> > Besides creating new data element [Yes/No or (1/0)] that is assigned in
>> the
>> > custom form whenever the condition is found to be true, is there an
>> > alternative?
>> >
>> >
>> > regards,
>> >
>> > Sam Kasozi
>> > +256 788-993-565
>> > Skype: sam.kasoziug
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~dhis2-devs
>> > Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~dhis2-devs
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>


-- 
John Francis Mukulu,
Lead Developer, HISPTZ,
University of Dar es salaam.
http://hisptanzania.org/

References