Re: [Dhis2-devs] Assigning an Org. Unit Group to a Org. Unit with the API

2015-05-03 Thread Jose Garcia Muñoz
Thanks Morten. It worked as you said. It will be nice to test it in 2.19, as now I need to call the API n times if i need to add n orgunitgroups to one orgunit. Thanks for your quick answer. On Sun, May 3, 2015 at 9:36 AM, Morten Olav Hansen wrote: > If you can use 2.18 or 2.19, you can use the

Re: [Dhis2-devs] [Dhis2-users] Generating Min/ Max

2015-05-03 Thread Calle Hedberg
Lars, By the way - last week I saw that the bug related to OrgUnit counts in indicators is still there. I checked the Sierra Leone demo too, and it's the same - integrity checks are still showing "org-unit-do not exist" etc. Is this an indicator bug or an integrity check bug? Regards Calle On 3

Re: [Dhis2-devs] [Dhis2-users] Generating Min/ Max

2015-05-03 Thread Calle Hedberg
Lars, Excellent - thanks for that. Two years is a reasonable default value - we've always used 18 months as the default in 1.4, so almost the same. I would nevertheless argue that (a) user-defined period, stdev value, and possibly average/median parameters should ideally be specified on a per da

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19080: DataEntryForm, introduced caching. Using GenericStore to remve boilerplate code.

2015-05-03 Thread noreply
revno: 19080 committer: Lars Helge Overland branch nick: dhis2 timestamp: Sun 2015-05-03 16:12:07 +0200 message: DataEntryForm, introduced caching. Using GenericStore to remve boilerplate code. modified: dhis-2/dhis-api/src/main/ja

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19079: Added composite index on datavalueaudit

2015-05-03 Thread noreply
revno: 19079 committer: Lars Helge Overland branch nick: dhis2 timestamp: Sun 2015-05-03 15:53:07 +0200 message: Added composite index on datavalueaudit modified: dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/st

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19078: Minor

2015-05-03 Thread noreply
revno: 19078 committer: Lars Helge Overland branch nick: dhis2 timestamp: Sun 2015-05-03 15:14:28 +0200 message: Minor modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataanalysis/MinMaxDataAnalysisService.java dhis-2/dhis-

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19077: Reduced log level for analytics constraints

2015-05-03 Thread noreply
revno: 19077 committer: Lars Helge Overland branch nick: dhis2 timestamp: Sun 2015-05-03 14:29:50 +0200 message: Reduced log level for analytics constraints modified: dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/his

Re: [Dhis2-devs] [Dhis2-users] Generating Min/ Max

2015-05-03 Thread Lars Helge Øverland
Hi Calle, I agree it makes sense to have a "from date" for the data values to include in the std dev and average calculation. I have changed it so it now includes data 2 years before the start date of the validation analysis period. I also helps on performance of the validation process. regards,

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19076: Std dev validation analysis, including data values 2 years before the beginning of the validation...

2015-05-03 Thread noreply
revno: 19076 committer: Lars Helge Overland branch nick: dhis2 timestamp: Sun 2015-05-03 14:08:13 +0200 message: Std dev validation analysis, including data values 2 years before the beginning of the validation period to give a more r

Re: [Dhis2-devs] Assigning an Org. Unit Group to a Org. Unit with the API

2015-05-03 Thread Morten Olav Hansen
If you can use 2.18 or 2.19, you can use the collection API [1]. If you use 2.18, you -must- use the owning side, which means, add the orgUnit to the orgUnitGroup (and not the other way), in 2.19, you can do both. [1] https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s08.html#d5e1079 -- Mo