← Back to team overview

dhis2-users team mailing list archive

Re: Indicator

 

On Mon, Mar 31, 2014 at 11:54 AM, Knut Staring <knutst@xxxxxxxxx> wrote:

> I have a similar requirment, where the weekly disease trend this year
> needs to be compared to the average of the 3 previous years. I have done
> this with  custom javascript but would be nice to have it available
>

This would be what the surveillance validation rules do.

Agree with Ola that we could expose this in the web api and allow for more
input parameters.



> On 31 Mar 2014 15:04, "Ola Hodne Titlestad" <olati@xxxxxxxxxx> wrote:
>
>> Hi Randy,
>>
>> To me this sounds like the new surveillance type of validation rules is a
>> better match.
>>
>> Have you looked at that?
>>
>> We would then somehow need to expose those formula values in the Web API
>> somehow, so that they can be used in reports etc.
>>
>> Ola
>> ------
>> 31. mars 2014 09:01 skrev "Wilson,Randy" <rwilson@xxxxxxx> følgende:
>>
>>>  Actually we need to create an indicator that sums the data over the
>>> last 3 months and divides by 3 - e.g. average monthly consumption for the
>>> past 3 months.
>>>
>>>
>>>
>>> Similarly we will need a function to average the number of cases of
>>> epidemic prone disease over the past 6 months and then check to see of the
>>> current months cases are > 2 Standard Deviations from the average.
>>>
>>>
>>>
>>> I'm not sure if that is how the D function in the indicator definition
>>> screen does this.
>>>
>>>
>>>
>>> Randy
>>>
>>>
>>>
>>> *From:* Dhis2-users [mailto:dhis2-users-bounces+rwilson=
>>> msh.org@xxxxxxxxxxxxxxxxxxx] *On Behalf Of *Kenneth Børtveit
>>> *Sent:* Monday, March 31, 2014 8:44 AM
>>> *To:* Jason Pickering
>>> *Cc:* dhis2-users@xxxxxxxxxxxxxxxxxxx
>>> *Subject:* Re: [Dhis2-users] Indicator
>>>
>>>
>>>
>>> Alright, thank you. It solves the problem in a way.
>>>
>>>
>>>
>>> I was looking for a way to define the indicator so that 'D' would
>>> allways be the last 3 months, is that possible?
>>>
>>>
>>>
>>> 2014-03-31 8:20 GMT+02:00 Jason Pickering <jason.p.pickering@xxxxxxxxx>:
>>>
>>> You can use the special paramater "D" which will give you the number of
>>> days in the period in question. Is this what you want to achieve?
>>>
>>>
>>> Regards,
>>>
>>> Jason
>>>
>>>
>>>
>>>
>>>
>>> On Mon, Mar 31, 2014 at 8:13 AM, Kenneth Børtveit <
>>> kenneth.bortveit@xxxxxxxxx> wrote:
>>>
>>>   Hi!
>>>
>>>
>>>
>>> I am trying to make an indicator that aggregates a dataelement over a
>>> month and divides it by the number of days in the last 3 months.
>>>
>>>
>>>
>>> Does anybody have any advice?
>>>
>>>
>>>
>>> Best regards,
>>>
>>> Kenneth Børtveit
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>> _______________________________________________
>> 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
>>
>>
> _______________________________________________
> 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
>
>

References