← Back to team overview

dhis2-devs team mailing list archive

Re: Fwd: Creating custom frequency of data entry for a particular dataset.

 

Hi Zara,

The only weeks which are currently supported are ISO weeks. These differ
from "EpiWeeks" I think since ISO weeks always begin on a Monday and I
think EpiWeeks begin on a Sunday.

You can have a look in
/dhis2/dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/WeeklyPeriodType.java
to see how this one is done. It should not be so difficult to create
another one for EpiWeeks, if there is a standard algorithm for generating
them. It seems there are a few different definitions of how they are
calculated. Is there a definitive reference of how to generate EpiWeeks
somewhere?

Regards,
Jason



On Mon, Jan 11, 2016 at 5:48 PM, Zara Kamara <zee21kam@xxxxxxxxx> wrote:

>
> ---------- Forwarded message ----------
> From: Zara Kamara <zee21kam@xxxxxxxxx>
> Date: Mon, Jan 11, 2016 at 4:47 PM
> Subject: Creating custom frequency of data entry for a particular dataset.
> To: "dhis2-users@xxxxxxxxxxxxxxxxxxx" <dhis2-users@xxxxxxxxxxxxxxxxxxx>
>
>
> Good afternoon All
>
> Hope everyone had a restful holiday. Kindly I wanted to know how to set up
> custom  data entry frequency for a particular dataset in DHIS2. Say for
> example I want to set the frequency in Epi weeks i.e.  week beginning on
> Monday and ending on Sunday.
>
>
> --
> *Zara Kamara, MHI*
> HMIS Specialist
> Centers for Disease Control and Prevention  - Sierra Leone
> e: lhz5@xxxxxxx
> +232 -77-775-249 (O) ,+232-76-201-869 (P), +232-25-260-121 (P)
>
>
>
>
>
>
>
> --
> *Zara Kamara, MHI*
> HMIS Specialist
> Centers for Disease Control and Prevention  - Sierra Leone
> e: lhz5@xxxxxxx
> +232 -77-775-249 (O) ,+232-76-201-869 (P), +232-25-260-121 (P)
>
>
>
>
>
> _______________________________________________
> 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

References