dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #03508
Re: Combination of categories: 3 having a level 1, and 2 of 3 having a level 2
Hi Ilias,
I would be careful about this one. If "Confirmed cases of malaria in
pregnant women" is a subset of "Confirmed cases of malaria /> 5 years /
Female", I would not include this as part of a single data element. Here in
Zambia, we count "Confirmed cases of malaria /> 5 years / Female" (which
might be 50) and then "Confirmed cases of malaria in pregnant women" (which
might be 2). However the 2 cases of confirmed malaria in pregnant women
are also part of the "Confirmed cases of malaria /> 5 years / Female".
Categorical data elements will automatically total all of the component
category options when determining a total, so, the total would include
include duplicates. It may work differently in your case, i.e. that
pregnant women are not a subset of > 5 years /Female.
You could just create two categories as follows...
1) Age (<5, > 5 )
2) Gender (Malaria ) : Male, Non-pregnant female, Pregnant female
Note however, you will end up with a <5 years/Pregnant female, category
combo option, which will never be used, but which you can "grey-out" so
that data is never entered into to it. This of course assumes that you are
collecting the data such that "Non-pregnant" and "Pregnant" females are
exclusvie.
The other option (which we use here) is to have two data elements
1) Number of cases of confirmed malaria (Age:<5/>5, Male/Female)
2) Number of cases of confirmed malaria in pregnancy (default)
In this case, the second data element is a subset of "Number of cases of
confirmed malaria in pregnancy/>5/Female", so the totals will be correct.
So, it really depends a bit on how the data is collected. Just be sure that
the totals will not result in double counting.
Best regards,
Jason
On Tue, Dec 10, 2013 at 10:34 PM, Adebusoye Anifalaje <busoye@xxxxxxxx>wrote:
> Hi Ilias,
>
> 1) You create two data element categories (I assume you have already
> created data element category options). For instance
>
> a) Age/Pregnancy (< 5 Yrs; > 5 Yrs and Pregnant Women)
> b) Sex ( Male Female)
>
> 2) You create a category combination e.g. Malaria Age/Pregnancy + Sex.
>
> a)Select Age/Pregnancy Category (this should be on top)
> b) select Sex Category
>
> 3) Create data set sections (you can have a look at the manual for this if
> you are not familiar with it)
> a) At this stage you Pregnancy Column will also have Male/Female
> designations
> b) Use the Section Grey Field Management option to disable the
> Male column from Pregnancy.
>
> If you are still unclear about how to go about any of the steps, I will be
> happy to help clarify.
>
> Regards,
>
> Busoye
>
>
>
>
> On 10 Dec 2013, at 19:55, Ilias Dine <ilias.dine@xxxxxxxxx> wrote:
>
> > Hi,
> >
> > I'm facing this problem with the definition of categories of a data
> element. It is the total number of confirmed cases of malaria which is in
> our system divided into 3 categories :
> >
> > 1. Less than 5 years
> > 2. More than 5 years
> > 3. Pregnant women.
> >
> > The problem is that the categories "less than 5 years" and "more than 5
> years" are in turn divided into sub-categories "Male" and "Female", while
> the category "Pregnant women" does not have this subdivision.
> >
> > Is there a way to handle this situation ?
> >
> > Best Regards,
> > Ilias
> > _______________________________________________
> > 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
>
Follow ups
References