← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 997560] [NEW] Indicators with (Total) does not show up in data entry

 

Had a closer look:

The indicator, regardless of using the total or the different 
categoryoptions in the formula, does not show up if ANY of the 
categoryoptions is not assigned to a cell in a data entry screen (custom 
form).

Example:
Data element Smallpox use the following category options: (Male, Female, 
Unknown gender), (<1, 1-4, ..., 65+, unknown age), but the unknown 
gender is only entered for the unknown age combo, not for the known age 
groups (at this stage, at least). Then any indicator containing either 
the total of all combos, or a ("known age", Unknown gender)-combo, will 
fail to show up in the form.

The implication is that you can't use the DE totals if you have any 
combo you're not entering data for, but have to pick exactly the 
option-combos for the formula.

Johan

On 10.05.2012 12:10, Johan Saebo wrote:
> Public bug reported:
>
> When creating an indicator that contains a Total of a DE with many
> category options, it does not update with any values in the data entry
> screen.
>
> Example:
> Indicator A = DE1+DE2+DE3(total), where DE3 has age/sex breakdown
> Indicator B = DE1+DE2
>
> Indicator B will work fine, update whenever I add a value to DE1 or DE2.
> Indicator A will not work at all, reacting not to values in DE1, DE2, or
> in any combination of age/sex for DE3.
>
> I have not tested now, but perhaps it would work to include all the
> DE3(age/sex) combos instead of the total, but that would not be very
> efficient.
>
> ** 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/997560

Title:
  Indicators with (Total) does not show up in data entry

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  When creating an indicator that contains a Total of a DE with many
  category options, it does not update with any values in the data entry
  screen.

  Example:
  Indicator A = DE1+DE2+DE3(total), where DE3 has age/sex breakdown
  Indicator B = DE1+DE2

  Indicator B will work fine, update whenever I add a value to DE1 or
  DE2. Indicator A will not work at all, reacting not to values in DE1,
  DE2, or in any combination of age/sex for DE3.

  I have not tested now, but perhaps it would work to include all the
  DE3(age/sex) combos instead of the total, but that would not be very
  efficient.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/997560/+subscriptions


References