← Back to team overview

dhis2-devs team mailing list archive

Re: Setting MinMax Values

 

Hi,

It will be great if the generation of min-max values can be automated based
on a global setting ( ability to select last 3,6 or 12 months data) . I am
curious what happens to these “hard coded” min/max values when the database
is set to generate min/max values from the frontend – I will assume they are
discarded since they reside in the same table? Or which takes precedence ? 

Thanks.

 

................................................

 

Regards,

 

Dapo Adejumo

+234803363677

skype : dapojorge

 

From: Dhis2-devs
[mailto:dhis2-devs-bounces+dapo_adejumo=yahoo.com@xxxxxxxxxxxxxxxxxxx] On
Behalf Of Jason Pickering
Sent: Thursday, September 19, 2013 6:28 PM
To: Juma Lungo
Cc: dhis2-devs
Subject: Re: [Dhis2-devs] Setting MinMax Values

 

I think I agree with Lars as well. Our use case was we wanted to restrict
values between 0 and 31, and not do it with a validation rule, to provide
visual clues during data entry. 

 

As an aside, one may also want to calculate these values and save them to
the database. The current algorithm uses a standard deviation approach,
which is problematic, in that in many cases the data which is typically
observed does not follow a normal Gaussian distribution. Other statistical
models often provide better estimates of the mix/max, but currently, cannot
be calculated automatically by the system. If these values are calculated
externally in some statistical package, they can be inserted back into the
system (or even automated). 

 

Regards,

Jason

 

 

On Thu, Sep 19, 2013 at 6:25 PM, Juma Lungo <jlungo@xxxxxxxxx
<mailto:jlungo@xxxxxxxxx> > wrote:

I agree with Lars

 

Lungo

 

  _____  

From: Lars Helge Øverland < <mailto:larshelge@xxxxxxxxx>
larshelge@xxxxxxxxx>
To: Jason Pickering < <mailto:jason.p.pickering@xxxxxxxxx>
jason.p.pickering@xxxxxxxxx> 
Cc: dhis2-devs < <mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>
dhis2-devs@xxxxxxxxxxxxxxxxxxx> 
Sent: Thursday, September 19, 2013 2:43 PM
Subject: Re: [Dhis2-devs] Setting MinMax Values

 

Hi Conrad,

 

the min-max data element is per org unit and data element like you say, so
it applies to all current and future periods by definition. I don't know
your use-case... but in general one might want to think twice before setting
the same max value for all facilities, since they usually have very
different catchment population and hence natural variations in numbers.

 

Lars

 

 

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to    : dhis2-devs@xxxxxxxxxxxxxxxxxxx
<mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx> 
Unsubscribe : https://launchpad.net/~dhis2-devs
More help  : https://help.launchpad.net/ListHelp

 


Follow ups

References