← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 589776] Re: Data element period not enforced with data set

 

On 27 June 2010 07:15, Jason Pickering <jason.p.pickering@xxxxxxxxx> wrote:

> Hi Lars,
> This bug has been troubling me since I saw the report but it has taken
> a few walks in the woods to figure out why. I am not comfortable with
> it being implemented and let me try and outline my argument.
>
> We are planning in Zambia to pilot the DHIS mobile app in certain
> districts. Community health workers will report certain data elements
> (e.g. Number of cases of clinical malaria under 1)  on a weekly basis.
> This same data element is reported on a monthly basis at the health
> facility. Each community health worker will be attached to a health
> center. Therefore the monthly total for a given health facility should
> be the number of cases observed at the health facility itself
> (monthly) plus the number of cases observed by a CHW (weekly). As it
> has been made clear by Ola several times, one can create any number of
> datasets, and associate a certain periodicity with them. The
> periodicity is thus associated with the data set and not the data
> element itself.
>
> This is really going to cause huge problems for us in particular, as
> we have certain data elements, which in the past have been collected
> quarterly, but which are now collected monthly. They exist in
> different data sets with different periodicities.
>
> Could you provide more detail as to why this should not be allowed?
>
> Hi,

The important issue is to avoid duplication in data collection. I get a bit
confused by your use case Jason, especially regarding the orgunit hierarchy.
You mention health facilities and health centers, are these at the same
level or are centers children of the facility? As long as the same malaria
cases are not counted and stored twice it should be ok. Are the same
orgunits both collecting weekly and monthly?

If we allow the same orgunit to collect the same data element weekly and
monthly (and at the same time, so that periods overlap) we will easily end
up with duplicate data, and this should be avoided. With historical data it
is different as there periods don't overlap if an orgunit changes from
quarterly in 2009 to monthy in 2010.

A use case from Vietnam (and probably other countries as well) is the use of
different period types for the values belonging to the same data element for
DIFFERENT orgunits at the same level, e.g. health facilities of different
provinces, so it is never 2 period types for the same orgunit with
overlaping periods. This I agree it would be good to support if it doesn't
get too messy and complicated to maintain in the model and during
validations.

Ola
------



> Regards,
> Jason
>
>
>
>
> 2010/6/26 Lars Helge Øverland <larshelge@xxxxxxxxx>:
> > On Tue, Jun 22, 2010 at 8:22 AM, Thu Tran
> > <tran.hispvietnam@xxxxxxxxx>wrote:
> >
> >> Hi Lars,
> >>
> >> I'm busy to check database in Ho Chi Minh City. I didn't remember to do
> >> your
> >> bugs. I'm so sorry.
> >>
> >> I sent the patch file for this bug to you. Please check it. Thank you
> very
> >> much.
> >>
> >>
> > Hi Tran, sorry I can not seem to find this patch, can you please re-send
> it?
> >
> > cheers Lars
> >
> >
> >> Best regards,
> >> ================================
> >> Châu Thu Trân
> >> HISP Viet Nam
> >> Email: tran.hispvietnam@xxxxxxxxx
> >> Cell phone: +84 97 324 1542
> >> ================================
> >>
> >>
> >> 2010/6/21 Lars Helge Øverland <larshelge@xxxxxxxxx>
> >>
> >> > ** Changed in: dhis2
> >> >     Assignee: Thu Tran (tran-hispvietnam) => Thanh Tri Tran
> >> > (tranthanhtri84)
> >> >
> >> > --
> >> > Data element period not enforced with data set
> >> > https://bugs.launchpad.net/bugs/589776
> >> > You received this bug notification because you are a bug assignee.
> >> >
> >> > Status in DHIS 2 - District Health Information Software: Confirmed
> >> >
> >> > Bug description:
> >> > It is possible to add a data element to a data set even if the data
> >> element
> >> > is a member of another data set with a different period type than this
> >> one.
> >> > This should not be allowed.
> >> >
> >> > We should filter out data elements with a different period type
> (member
> >> of
> >> > data sets with different period type) when creating and updating new
> data
> >> > sets.
> >> >
> >> >
> >> >
> >>
> >>
> >> ** Attachment added: "patch.diff"
> >>   http://launchpadlibrarian.net/50720647/patch.diff
> >>
> >> --
> >> Data element period not enforced with data set
> >> https://bugs.launchpad.net/bugs/589776
> >> You received this bug notification because you are a direct subscriber
> >> of the bug.
> >>
> >> Status in DHIS 2 - District Health Information Software: Confirmed
> >>
> >> Bug description:
> >> It is possible to add a data element to a data set even if the data
> element
> >> is a member of another data set with a different period type than this
> one.
> >> This should not be allowed.
> >>
> >> We should filter out data elements with a different period type (member
> of
> >> data sets with different period type) when creating and updating new
> data
> >> sets.
> >>
> >> To unsubscribe from this bug, go to:
> >> https://bugs.launchpad.net/dhis2/+bug/589776/+subscribe
> >>
> >
> > --
> > Data element period not enforced with data set
> > https://bugs.launchpad.net/bugs/589776
> > You received this bug notification because you are a member of DHIS 2
> > developers, which is subscribed to DHIS.
> >
> > Status in DHIS 2 - District Health Information Software: Confirmed
> >
> > Bug description:
> > It is possible to add a data element to a data set even if the data
> element is a member of another data set with a different period type than
> this one. This should not be allowed.
> >
> > We should filter out data elements with a different period type (member
> of data sets with different period type) when creating and updating new data
> sets.
> >
> >
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> > Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> > More help   : https://help.launchpad.net/ListHelp
> >
>
>
>
> --
> --
> Jason P. Pickering
> email: jason.p.pickering@xxxxxxxxx
> tel:+260968395190
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> More help   : https://help.launchpad.net/ListHelp
>

References