[Dhis2-devs] Including Numerator + Denominator values in WebAPI outputs: 2.20

2015-06-23 Thread Greg Rowles
Hi Devs I came across the following blue-print: https://blueprints.launchpad.net/dhis2/+spec/analytics-numerator-denominator targeted for 2.20 Does anyone know if this has been done for the snapshot version or will be made part of 2.20 final? Thanks, Greg -- *Health Information Systems Program

Re: [Dhis2-devs] Including Numerator + Denominator values in WebAPI outputs: 2.20

2015-06-23 Thread Lars Helge Øverland
Hi Greg, this one is not yet started. We hope to get it done by 2.20 but cannot guarantee it... Lars On Tue, Jun 23, 2015 at 9:12 AM, Greg Rowles wrote: > Hi Devs > > I came across the following blue-print: > https://blueprints.launchpad.net/dhis2/+spec/analytics-numerator-denominator > targe

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19497: Support for tracked entity attributes as variables in Add/Update Program Rule form.

2015-06-23 Thread noreply
revno: 19497 committer: Tran Chau branch nick: dhis2 timestamp: Tue 2015-06-23 16:02:05 +0700 message: Support for tracked entity attributes as variables in Add/Update Program Rule form. modified: dhis-2/dhis-api/src/main/java/org/h

Re: [Dhis2-devs] Web API in Excel

2015-06-23 Thread Bob Jolliffe
You can't use excel to get json data from dhis2 web api. At least not directly. You could possibly write an excel macro to "get" the data through the web api (I am really not sure - it is far too many years since i wrote an excel macro), but you are still left with the problem of consuming what y

Re: [Dhis2-devs] [Dhis2-users] dhis2 2.18, 2.17. 2.16 reporting Error. Please Help.

2015-06-23 Thread Uddin Fatema
Dear Lars, Thanks a lot I just download 2.18 branch code and build the war file. Now i am running my database with this war file with UTC +6 Dhaka time zone but still shows same error. Is it cash problem or anything else. On Tue, Jun 23, 2015 at 2:22 AM, Lars Helge Øverland wrote: > Hi Fatem

Re: [Dhis2-devs] [Dhis2-users] dhis2 2.18, 2.17. 2.16 reporting Error. Please Help.

2015-06-23 Thread Lars Helge Øverland
Okay. Can can you please - provide the output of the tomcat log for when it fails - try by downloading 2.18 from https://www.dhis2.org/downloads to rule out build issues regards, Lars On Tue, Jun 23, 2015 at 12:30 PM, Uddin Fatema wrote: > Dear Lars, > > Thanks a lot > > I just download 2.

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19498: Program attribute hbm mapping, renamed legendset foreign key

2015-06-23 Thread noreply
revno: 19498 committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2015-06-23 12:51:45 +0200 message: Program attribute hbm mapping, renamed legendset foreign key modified: dhis-2/dhis-services/dhis-service-tracker/src/ma

Re: [Dhis2-devs] Web API in Excel

2015-06-23 Thread Markus Bekken
Hi Channara and Bob I have been using macros to POST and PUT data to the API, and GET requests should work just as well. I added your question and put my macro code here: https://webapps.stackexchange.com/questions/79521/can-i-use-excel-to-get-json-from-the-dhis-api/79522#79522

Re: [Dhis2-devs] Web API in Excel

2015-06-23 Thread Bob Jolliffe
Hi Markus Thanks for this information. That's a really useful snippet for anyone to get started who might want to do this. I have a quick question and a comment/suggestion: 1. I can see from the link that you can indeed parse/serialize json from VBA - I guess it would have been surprising if y

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19499: Don't import internal google library deps. Messes with dependency graph.

2015-06-23 Thread noreply
revno: 19499 committer: Halvdan Hoem Grelland branch nick: dhis2 timestamp: Tue 2015-06-23 13:51:15 +0200 message: Don't import internal google library deps. Messes with dependency graph. modified: dhis-2/dhis-services/dhis-service-

Re: [Dhis2-devs] Web API in Excel

2015-06-23 Thread Markus Bekken
Thanks Bob, 1. I have not established a preference here - your point on using CSV is a good one. CSV will probably be easier to "deserialize" in most cases. JSON or XML on the other hand, will probably be a little more robust to changes in the WebAPI output. 2. I like it. Excel is a good tool

Re: [Dhis2-devs] Web API in Excel

2015-06-23 Thread Knut Staring
Agree very much with Bob's point 2 - most of the existing legacy data in the world is either on paper or in Excel. And if it is in some other format, people will typically use Excel to rearrange it into DHIS2 format (CSV or JSON or XML) On Tue, Jun 23, 2015 at 1:40 PM, Bob Jolliffe wrote: > Hi M

Re: [Dhis2-devs] [Dhis2-users] Web API in Excel

2015-06-23 Thread Abyot Gizaw
The excel thing is obviously something that we should address at some point. I have also made an unfinished attempt during the Ebola crisis. What I did was to provide a UI that allows users to upload excel file, do mapping between columns and data elements or attributes and finally upload the cell

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19500: Analytics. Groups query by days in aggregation period for average aggregation queries. Fixes prob...

2015-06-23 Thread noreply
revno: 19500 committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2015-06-23 14:28:45 +0200 message: Analytics. Groups query by days in aggregation period for average aggregation queries. Fixes problem with wrong factor fo

Re: [Dhis2-devs] Web API in Excel

2015-06-23 Thread rin.chann...@gmail.com
Yes, I agree with Markus, Excel is good tool to do deep formula to calculate in data elements. And offline too. Markus Bekken wrote: >Thanks Bob, > > >1. I have not established a preference here - your point on using CSV is a >good one. CSV will probably be easier to "deserialize" in most case

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19501: Removed class BaseMetaDataCollectionObject, moved properties into BaseAnalyticalObject

2015-06-23 Thread noreply
revno: 19501 committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2015-06-23 15:02:02 +0200 message: Removed class BaseMetaDataCollectionObject, moved properties into BaseAnalyticalObject removed: dhis-2/dhis-api/src/ma

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19502: added a feedback widget for giving user feedback with program rules

2015-06-23 Thread noreply
revno: 19502 committer: Markus Bekken branch nick: dhis2 timestamp: Tue 2015-06-23 15:17:50 +0200 message: added a feedback widget for giving user feedback with program rules modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/d

Re: [Dhis2-devs] [Dhis2-users] dhis2 2.18, 2.17. 2.16 reporting Error. Please Help.

2015-06-23 Thread Lars Helge Øverland
Hi Fatema, I have made a fix for the problem with inaccurate aggregate values for data elements with average aggregation operator (e.g. 51.7 instead of 50) now in trunk and 2.19. New build is available from https://www.dhis2.org/downloads in 40 minutes. regards, Lars On Tue, Jun 23, 2015 at 1

[Dhis2-devs] FW: ProgramRule setup - Skip logic

2015-06-23 Thread Elmarie Claasen
Hi all, We are trying to apply skiplogic on our Tracker program for a school health project and were advised that this can be done by creating a program rule for the program. We have created a program rule where if a user chooses that the learner was absent for the 1st vaccination then the

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19503: Merged dhis-service-tracker and dhis-service-sms into dhis-service-core project

2015-06-23 Thread noreply
revno: 19503 committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2015-06-23 17:59:19 +0200 message: Merged dhis-service-tracker and dhis-service-sms into dhis-service-core project removed: dhis-2/dhis-services/dhis-serv

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19504: tracker-capture: authorized users can now set default dashboard layout (per program) applicable f...

2015-06-23 Thread noreply
revno: 19504 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Tue 2015-06-23 21:48:46 +0200 message: tracker-capture: authorized users can now set default dashboard layout (per program) applicable for all usres. For more

Re: [Dhis2-devs] FW: ProgramRule setup - Skip logic

2015-06-23 Thread markus . bekken
Hi Elmarie! Great to hear that you are working with the skip logic. The scenario you mention should work in general. Could you kindly provide some detail on the program rule you have set up, how does the expression look? Did you add a "hidefield" action? Markus > Den 23. jun. 2015 kl. 17.54 sk

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19505: enable form-based login for grant type authorization_code (oauth2)

2015-06-23 Thread noreply
revno: 19505 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2015-06-24 11:39:19 +0700 message: enable form-based login for grant type authorization_code (oauth2) modified: dhis-2/dhis-web/dhis-web-commons/src/main/re

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19506: add redirectUris/grantTypes directly to OAuth2Client

2015-06-23 Thread noreply
revno: 19506 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2015-06-24 12:11:33 +0700 message: add redirectUris/grantTypes directly to OAuth2Client modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/oauth2/OAuth2C

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19507: use grantTypes and redirectUris from OAuth2Client in DefaultClientDetailsService

2015-06-23 Thread noreply
revno: 19507 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2015-06-24 12:47:58 +0700 message: use grantTypes and redirectUris from OAuth2Client in DefaultClientDetailsService modified: dhis-2/dhis-api/src/main/java

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19508: add back OU.program <=> Program.OU association

2015-06-23 Thread noreply
revno: 19508 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2015-06-24 13:17:15 +0700 message: add back OU.program <=> Program.OU association modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/Or

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19509: bug fix in event row fetching

2015-06-23 Thread noreply
revno: 19509 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Wed 2015-06-24 08:56:16 +0200 message: bug fix in event row fetching modified: dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/eve