← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 1568472] [NEW] Epidemiological weekly periods [other than ISO weeks]

 

Hi Padam,

This question has come up a few times before. Basically, the issue is that
other types of weekly schemes are not deterministic (much like the Nepali
calendar).  ISO weeks can be generated from an algorithm and are standard,
but other week schemes may not be this deterministic.  There are various
other period generators as well for the client side apps which would also
need to be taken into account.

Please have a look in dhis-2/dhis-api/src/main/java/org/hisp/dhis/period
and you can see how the various period types are implemented. If you can
submit a patch with the feature, I think this would be a good way to get
this in, as it has been asked for several times.

Regards,
Jason


On Sun, Apr 10, 2016 at 7:50 PM, Knut Staring <knutst@xxxxxxxxx> wrote:

> Hi Padam,
>
> This is not actually a bug, but a feature request (blueprint).
>
> Can you provide some more info about these weekly periods - how do they
> differ from ISO weeks, and why?
>
> Regards,
> Knut
>
> On Sun, Apr 10, 2016 at 11:22 AM, Padam Dahal <dahal0514@xxxxxxxxx> wrote:
>
>> Public bug reported:
>>
>> Customizing DHIS for Early Warning and Reporting System for Nepal. We
>> are using automatic aggregation to weekly dataset from event data items.
>> For the dataset, we need to use epidemiological weeks, which differs
>> from ISO weeks. So I am looking for some ways to fix the issue with the
>> week system.
>>
>> Padam
>>
>> ** Affects: dhis2
>>      Importance: Undecided
>>          Status: New
>>
>> --
>> You received this bug notification because you are a member of DHIS 2
>> developers, which is subscribed to DHIS.
>> https://bugs.launchpad.net/bugs/1568472
>>
>> Title:
>>   Epidemiological weekly periods [other than ISO weeks]
>>
>> Status in DHIS:
>>   New
>>
>> Bug description:
>>   Customizing DHIS for Early Warning and Reporting System for Nepal. We
>>   are using automatic aggregation to weekly dataset from event data
>>   items. For the dataset, we need to use epidemiological weeks, which
>>   differs from ISO weeks. So I am looking for some ways to fix the issue
>>   with the week system.
>>
>>   Padam
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/dhis2/+bug/1568472/+subscriptions
>>
>> _______________________________________________
>> 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
>>
>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>
> _______________________________________________
> 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
>
>


-- 
Jason P. Pickering
email: jason.p.pickering@xxxxxxxxx
tel:+46764147049

Follow ups

References