[Dhis2-devs] Web API : Get Indicator Value

2015-09-20 Thread Pamod Amarakoon
Dear All, 1. what is the format to get a value of an aggregated indicator of a particular data set using web - API. Is it stored in database or calculated in real time 2. is the relative period available for Previous Day (yesterday). Thank you -- Regards, Pamod Amarakoon Confidentiality Notic

Re: [Dhis2-devs] [Bug 1065014] Re: Min/Max generation goes into negative

2015-09-20 Thread Calle Hedberg
Jason, "with all the truncation of data going on" - ?? Not sure what you mean by that, but I users don't regard min-max values as a kind of "hard" range - it has never been intended to be that, except (at least in DHIS 1.4) where you specify a min-max to be ABSOLUTE. For everything else, it is a

Re: [Dhis2-devs] Web API : Get Indicator Value

2015-09-20 Thread Julhas Sujan
Hi Pamod, Please check the following link as for indicators data: ../api/indicators.json?dataSet=XT5UDcXpXst&period=201506&orgUnit=ddTZZY0GhLW For value format as an array: $resultData1= Array ( 'resultData' => Array ( 'headers' => Array (

Re: [Dhis2-devs] Web API : Get Indicator Value

2015-09-20 Thread Pamod Amarakoon
Dear Julhas, Thank you for the reply. I'll try this. On Sun, Sep 20, 2015 at 2:57 PM, Julhas Sujan wrote: > Hi Pamod, > > Please check the following link as for indicators data: > > ../api/indicators.json?dataSet=XT5UDcXpXst&period=201506&orgUnit=ddTZZY0GhLW > > For value format as an array: >

Re: [Dhis2-devs] [Bug 1065014] Re: Min/Max generation goes into negative

2015-09-20 Thread Jason Pickering
Truncation was a poor choice of words. Let me explain what I mean. >From line of MinMaxOutlierAnalysisService.java we see what is happening. ... for ( Integer unit : averages.keySet() ) { Double stdDev = standardDeviations.get( unit

[Dhis2-devs] getting maven build errors

2015-09-20 Thread haider iqbal
Hi, I have downloaded the source code but i am getting build errors when i run the command " mvn install " on terminal in dhis-2 directory. I have attached the build log file. Kindly help me solve the issue. Regards, Haider Iqbal [INFO] Scanning for projects... [INFO] ---

[Dhis2-devs] Updating events using the Web API

2015-09-20 Thread Jose Garcia Muñoz
Hi guys, we are using the Web API to update the values of 1 or 2 dataelements that belong to a Single Event Without Registration program of more than 700 data elements The payload is something like that {"program":"vLTSa8wPqQ8","orgUnit":"QS7sK8XzdQc","dataValues":[{"dataElement":"deeu8rjsqvH","

[Dhis2-devs] [Bug 1372760] Re: Login error not that visible to users

2015-09-20 Thread Haider Iqbal
It is a simple toast which is being displayed and in android it is by default shown at the bottom of screen. -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1372760 Title: Login error not that vis

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20242: add method for checking if a certain class have any translations

2015-09-20 Thread noreply
revno: 20242 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2015-09-21 11:35:41 +0700 message: add method for checking if a certain class have any translations modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/t

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20243: add new property to Schema: translated. Updated at server startup and tells if type have any tran...

2015-09-20 Thread noreply
revno: 20243 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2015-09-21 11:59:10 +0700 message: add new property to Schema: translated. Updated at server startup and tells if type have any translations or not (means di