Re: [Dhis2-devs] [Dhis2-users] Calculation of conditional Indicators

2017-12-13 Thread Sam Kasozi
Thank you John and the rest of the team for the work on this.

We had seen the App in the demo, however without a download link to try it
out.

We have several indicators that had been implemented from the backend which
we would want to formally correct, so this is very much needed and
appreciated.

We will try it out and get back to you.


regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug

On Wed, Dec 13, 2017 at 3:41 PM, John Mukulu 
wrote:

> Hello Sam,
> We haven't made a formal release of this function maintenance app yet, but
> i thought i could keep you posted.
> It's already in appstore you can download it here: https://play.dhis2.org/
> appstore/app/dXX2Fk6jwCX
>
> You can take it for a spin here: https://play.hisptz.org/
> 28/api/apps/Function-Maintenance/index.html#/functions/EViLZtpJmoZ
>
> It's still not very user friendly, and have few bugs we're working on, but
> atleast now it gets the job done.
> When installed in your system it generates one function by default that
> caps reporting rates to never exceed 100%,
>
> That generated function helps to serve as an example on how function can
> be written to accept selection parameters and return analytics payload.
>
> We'll make a formal release once we have bug free, more down to earth user
> interface and with basic minimum functionalities needed.
>
> On Wed, May 10, 2017 at 2:52 PM, Sam Kasozi  wrote:
>
>> Thanks, Ola and Prosper.
>>
>> The data is indeed part of the aggregate forms. And since we are
>> importing the data, we might consider pre-calculating the values prior to
>> the import process.
>>
>> regards,
>>
>> Sam Kasozi
>> +256 788-993-565
>> Skype: sam.kasoziug
>>
>> On Wed, May 10, 2017 at 2:56 PM, Prosper BT  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
>>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>>> prospertb
>>>
>>> On Wed, May 10, 2017 at 1:14 PM, Ola Hodne Titlestad 
>>> 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
 ---
  >>> style="border-top: 1px solid #D3D4DE;">
 
   >>> href="https://www.avast.com/sig-email?utm_medium=email_s
 ource=link_campaign=sig-email_content=webmail"
 target="_blank" 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;" />
 Virusfri. >>> href="https://www.avast.com/sig-email?utm_medium=email_s
 ource=link_campaign=sig-email_content=webmail"
 target="_blank" style="color: #4453ea;">www.avast.com
  
 
 
 >>> height="1">
 --
 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  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@lists.launchpad.net
 > Unsubscribe : https://launchpad.net/~dhis2-devs
 > More help   : 

Re: [Dhis2-devs] [Dhis2-users] Calculation of conditional Indicators

2017-12-13 Thread John Mukulu
Hello Sam,
We haven't made a formal release of this function maintenance app yet, but
i thought i could keep you posted.
It's already in appstore you can download it here:
https://play.dhis2.org/appstore/app/dXX2Fk6jwCX

You can take it for a spin here:
https://play.hisptz.org/28/api/apps/Function-Maintenance/index.html#/functions/EViLZtpJmoZ

It's still not very user friendly, and have few bugs we're working on, but
atleast now it gets the job done.
When installed in your system it generates one function by default that
caps reporting rates to never exceed 100%,

That generated function helps to serve as an example on how function can be
written to accept selection parameters and return analytics payload.

We'll make a formal release once we have bug free, more down to earth user
interface and with basic minimum functionalities needed.

On Wed, May 10, 2017 at 2:52 PM, Sam Kasozi  wrote:

> Thanks, Ola and Prosper.
>
> The data is indeed part of the aggregate forms. And since we are importing
> the data, we might consider pre-calculating the values prior to the import
> process.
>
> regards,
>
> Sam Kasozi
> +256 788-993-565
> Skype: sam.kasoziug
>
> On Wed, May 10, 2017 at 2:56 PM, Prosper BT  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
>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>> prospertb
>>
>> On Wed, May 10, 2017 at 1:14 PM, Ola Hodne Titlestad 
>> 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
>>> ---
>>>  >> style="border-top: 1px solid #D3D4DE;">
>>> 
>>>   >> href="https://www.avast.com/sig-email?utm_medium=email_s
>>> ource=link_campaign=sig-email_content=webmail"
>>> target="_blank">>> 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;" />
>>> Virusfri. >> href="https://www.avast.com/sig-email?utm_medium=email_s
>>> ource=link_campaign=sig-email_content=webmail"
>>> target="_blank" style="color: #4453ea;">www.avast.com
>>>  
>>> 
>>> 
>>> >> height="1">
>>> --
>>> 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  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@lists.launchpad.net
>>> > Unsubscribe : https://launchpad.net/~dhis2-devs
>>> > More help   : https://help.launchpad.net/ListHelp
>>> >
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>>
>


-- 
John Francis Mukulu,
Lead Developer, HISPTZ,
http://hisptanzania.org/
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Calculation of conditional Indicators

2017-05-10 Thread Sam Kasozi
Thanks, Ola and Prosper.

The data is indeed part of the aggregate forms. And since we are importing
the data, we might consider pre-calculating the values prior to the import
process.

regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug

On Wed, May 10, 2017 at 2:56 PM, Prosper BT  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
> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
> prospertb
>
> On Wed, May 10, 2017 at 1:14 PM, Ola Hodne Titlestad 
> 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
>> ---
>>  > style="border-top: 1px solid #D3D4DE;">
>> 
>>   > href="https://www.avast.com/sig-email?utm_medium=email_
>> source=link_campaign=sig-email_content=webmail"
>> target="_blank">> 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;" />
>> Virusfri. > href="https://www.avast.com/sig-email?utm_medium=email_
>> source=link_campaign=sig-email_content=webmail"
>> target="_blank" style="color: #4453ea;">www.avast.com
>>  
>> 
>> 
>> > height="1">
>> --
>> 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  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@lists.launchpad.net
>> > Unsubscribe : https://launchpad.net/~dhis2-devs
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Calculation of conditional Indicators

2017-05-10 Thread John Mukulu
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  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
> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
> prospertb
>
> On Wed, May 10, 2017 at 1:14 PM, Ola Hodne Titlestad 
> 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
>> ---
>>  > style="border-top: 1px solid #D3D4DE;">
>> 
>>   > href="https://www.avast.com/sig-email?utm_medium=email_
>> source=link_campaign=sig-email_content=webmail"
>> target="_blank">> 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;" />
>> Virusfri. > href="https://www.avast.com/sig-email?utm_medium=email_
>> source=link_campaign=sig-email_content=webmail"
>> target="_blank" style="color: #4453ea;">www.avast.com
>>  
>> 
>> 
>> > height="1">
>> --
>> 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  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@lists.launchpad.net
>> > Unsubscribe : https://launchpad.net/~dhis2-devs
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> 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/
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Calculation of conditional Indicators

2017-05-10 Thread Prosper BT
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
pros...@hispuganda.org  | pros...@dhis2.org | Skype:
prospertb

On Wed, May 10, 2017 at 1:14 PM, Ola Hodne Titlestad 
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
> ---
>   style="border-top: 1px solid #D3D4DE;">
> 
>href="https://www.avast.com/sig-email?utm_medium=email;
> utm_source=link_campaign=sig-email_content=webmail"
> target="_blank"> src="https://ipmcdn.avast.com/images/icons/icon-envelope-
> tick-round-orange-animated-no-repeat-v1.gif"
> width="46" height="29" style="width: 46px; height: 29px;" />
> Virusfri.  href="https://www.avast.com/sig-email?utm_medium=email;
> utm_source=link_campaign=sig-email_content=webmail"
> target="_blank" style="color: #4453ea;">www.avast.com
>  
> 
> 
>  height="1">
> --
> Ola Hodne Titlestad (Mr)
> HISP
> Department of Informatics
> University of Oslo
>
> Mobile: +47 48069736
> Home address: Eftasåsen 68, 0687 Oslo, Norway. Googlemaps link
>
>
> On 10 May 2017 at 10:01, Sam Kasozi  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@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~dhis2-devs
> > More help   : https://help.launchpad.net/ListHelp
> >
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp