On Mon, Mar 31, 2014 at 11:54 AM, Knut Staring <knu...@gmail.com> 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" <ol...@ifi.uio.no> 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" <rwil...@msh.org> 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....@lists.launchpad.net] *On Behalf Of *Kenneth Børtveit >>> *Sent:* Monday, March 31, 2014 8:44 AM >>> *To:* Jason Pickering >>> *Cc:* dhis2-users@lists.launchpad.net >>> *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.picker...@gmail.com>: >>> >>> 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.bortv...@gmail.com> 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@lists.launchpad.net >>> Unsubscribe : https://launchpad.net/~dhis2-users >>> More help : https://help.launchpad.net/ListHelp >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Mailing list: https://launchpad.net/~dhis2-users >>> Post to : dhis2-users@lists.launchpad.net >>> Unsubscribe : https://launchpad.net/~dhis2-users >>> More help : https://help.launchpad.net/ListHelp >>> >>> >> _______________________________________________ >> Mailing list: https://launchpad.net/~dhis2-users >> Post to : dhis2-users@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~dhis2-users >> More help : https://help.launchpad.net/ListHelp >> >> > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : dhis2-users@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : dhis2-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp