dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #28729
Re: [Dhis2-users] DHIS 2 - week
Hi Shantala,
As Knut's email alludes to , along the article which you shared hints at,
there may be different definitions of what an "Epi Week" actually is.
It is therefore that DHIS2 has adopted the ISO standard definition, which
can be determined with precision, due to the rigor of its definition.
In your case, is you requirement that your week begins on Sunday instead of
Monday, with the first week being determined by the "The first epi week of
the year ends, by definition, on the first Saturday of January, as long as
it falls at least four days into the month"?
A question to the developers...would it be possible to support a "user
defined period type", which would require that users create their own
start/enddates? I realize that this would create problems for the offline
features of DHIS2, but this requirement, along with similar ones in
countries which do not use the Gregorian calendar, point to the need for
something more flexible than what we currently have.
Regards,
Jason
On Mon, Mar 24, 2014 at 7:42 PM, Shantala Raman <sraman@xxxxxxxxxxxxxxxx>wrote:
> Sure. The requirement is to have data collection done weekly with the week
> being an Epi week <http://www.cmmcp.org/epiweek.htm> (epidemiology week),
> having week start date of Sunday and end date of Saturday.
>
>
> On Mon, Mar 24, 2014 at 12:48 PM, Knut Staring <knutst@xxxxxxxxx> wrote:
>
>> Could you elaborate a bit on your specific requirements?
>>
>> Knut
>>
>>
>> On Mon, Mar 24, 2014 at 8:14 AM, Shantala Raman <sraman@xxxxxxxxxxxxxxxx>wrote:
>>
>>> Thank you. This helps.
>>>
>>>
>>> On Mon, Mar 24, 2014 at 11:58 AM, Knut Staring <knutst@xxxxxxxxx> wrote:
>>>
>>>> We have actually accommodated other weeks (eg Wed to Tue) in Cambodia,
>>>> but this code is not yet part of the core.
>>>> On Mar 24, 2014 12:53 PM, "Jason Pickering" <
>>>> jason.p.pickering@xxxxxxxxx> wrote:
>>>>
>>>>> Hi Shantala,
>>>>> The weeks are calculated according to the ISO 8601 time and date
>>>>> standard.
>>>>> This generally means weeks start on Monday and end on Sunday.
>>>>>
>>>>> More info can be found here
>>>>>
>>>>> http://en.wikipedia.org/wiki/ISO_week_date
>>>>>
>>>>> Regards,
>>>>> Jason
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Mar 24, 2014 at 4:16 PM, Shantala Raman <
>>>>> sraman@xxxxxxxxxxxxxxxx> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> For data that is reported/collected on a weekly basis, we have a
>>>>>> requirement to use Epidemiology weeks. I wanted to know how the weeks are
>>>>>> calculated in DHIS2. Please point me to any documentation around the logic
>>>>>> for calculating the weeks.
>>>>>>
>>>>>> Thanks,
>>>>>> Shantala
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>>
>>>>>
>>>
>>
>>
>> --
>> Knut Staring
>> Dept. of Informatics, University of Oslo
>> +4791880522
>> http://dhis2.org
>>
>
>
Follow ups