[Dhis2-devs] API: dataSets.dataElements

2016-11-03 Thread Uwe Wahser
Dear all, I am a bit confused about the api in 2.25. Before, I was able to list dataElements of a given dataSet via https://play.dhis2.org/demo/api/dataSets/N4fIX1HL3TQ.json?paging=false&fields=dataElements[id,code,name] As I understand from the manual, this has changed to https://play.dhis2.org

Re: [Dhis2-devs] [Dhis2-users] API: dataSets.dataElements

2016-11-03 Thread Uwe Wahser
just found the answer myself: it has to be https://play.dhis2.org/demo/api/dataSets/N4fIX1HL3TQ.json?paging=false&fields=dataSetElements[dataElement[id,code,name]] the other question remains: why cant I use the old syntax by adding 24 or 23 to the url? Regards, Uwe --- > Uwe Wahser hat am 3.

Re: [Dhis2-devs] Ask user to create new event when stage is complete - Not tracking for repeatable stages

2016-11-03 Thread Abyot Asalefew Gizaw
Hi Prosper, Sure, we will fix that. -- Abyot A. Gizaw. Senior Engineer, DHIS2 University of Oslo http://www.dhis2.org On Wed, Nov 2, 2016 at 8:46 PM, Prosper BT wrote: > Hi Abyot, > > I have replicated this on the current demo server 2.25, this functionality > is no longer working. After compl

Re: [Dhis2-devs] Ask user to create new event when stage is complete - Not tracking for repeatable stages

2016-11-03 Thread Prosper BT
Thanks very Abyot, You can let us know as soon as it fixed so we test. Regards Prosper Behumbiize, MPH DHIS2 Implementation| HISP Uganda/University Of Oslo +256 752 751 776 | +256 776 139 139 pros...@hispuganda.org | pros...@dhis2.org | Skype: prospertb On Thu, Nov 3, 2016 at 11:33 AM, Abyot A

[Dhis2-devs] Setting to make attribute confidential

2016-11-03 Thread Elmarie Claasen
Hi all, Can someone please guide me to where in the documentation it describes the settings to you have to configure to make an attribute confidential. I cannot find it in the user, implementers or devs manuals but find a link on the 2.22 upgrade notes which unfortunately does not work anymore.

[Dhis2-devs] HOW TO DELETE AN ENTITY IN TRACKER CAPTURE

2016-11-03 Thread Stanley Kalyati
Colleagues, My colleague entered a tracked entity in a wrong OU and i want to delete that.Can someone tell me how to delete this entity? or move this entity to another OU. You usual support is always appreciated. Stanley ___ Mailing list: https://launc

Re: [Dhis2-devs] [Dhis2-users] HOW TO DELETE AN ENTITY IN TRACKER CAPTURE

2016-11-03 Thread Abyot Asalefew Gizaw
Hi Stanley, It is only version 2.25 that has UI support for deleting Tracked Entity Instance. For the other versions, one has to do it manually using sql statements. -- Abyot A. Gizaw. Senior Engineer, DHIS2 University of Oslo http://www.dhis2.org On Thu, Nov 3, 2016 at 10:16 AM, Stanley Kalyati

Re: [Dhis2-devs] Setting to make attribute confidential

2016-11-03 Thread Abyot Asalefew Gizaw
Hi Elmarie, See here https://dhis2.github.io/dhis2-docs/master/en/implementer/html/dhis2_implementation_guide_full.html#install_encryption_configuration -- Abyot A. Gizaw. Senior Engineer, DHIS2 University of Oslo http://www.dhis2.org On Thu, Nov 3, 2016 at 10:12 AM, Elmarie Claasen wrote: > H

Re: [Dhis2-devs] [Dhis2-users] HOW TO DELETE AN ENTITY IN TRACKER CAPTURE

2016-11-03 Thread Stanley Kalyati
Abyot, Could you help with the sql statements? Thanks in advance. Stanley On Thu, Nov 3, 2016 at 11:22 AM, Abyot Asalefew Gizaw wrote: > Hi Stanley, > > It is only version 2.25 that has UI support for deleting Tracked Entity > Instance. For the other versions, one has to do it manually using

[Dhis2-devs] find old version 2.20

2016-11-03 Thread channara rin
dear all, how can i find the old version 2.20 in http://ci.dhis2.org/view? thank you channara ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : h

Re: [Dhis2-devs] [Dhis2-users] HOW TO DELETE AN ENTITY IN TRACKER CAPTURE

2016-11-03 Thread Stanley Kalyati
Erling, It was on a desktop and the data is already in the database. Should i just deactivate the entity? Thanks On Thu, Nov 3, 2016 at 11:23 AM, Erling Fjelstad wrote: > Hi Stanley, > If the data has been entered from the Android client, and is still not > sent to the server, you can delete

Re: [Dhis2-devs] Event report tables added to dashboards are displayed 'blank' when period is selected as Start-End dates (2.25)

2016-11-03 Thread Archana Chillala
Thank you, Lars. It works! Archana Chillala Application Developer Email archa...@thoughtworks.com Telephone +91 9100960533 <+91+9100960533> [image: ThoughtWorks]

Re: [Dhis2-devs] [Dhis2-users] HOW TO DELETE AN ENTITY IN TRACKER CAPTURE

2016-11-03 Thread Erling Fjelstad
Hi Stanley, If the data has been entered from the Android client, and is still not sent to the server, you can delete with long pressing on the tracked entity instance and then press 'delete'. If the icon next to the tracked entity instance is a orange disk, this means it is still unsent. If it is

Re: [Dhis2-devs] find old version 2.20

2016-11-03 Thread Em Le Hong
Hi Channara, You want to download the 2.20 war version right? if you you can try this link: https://www.dhis2.org/download/releases/2.20/dhis.war If you want to download other versions, just change the version in url. On Thu, Nov 3, 2016 at 4:27 PM, channara rin wrote: > dear all, > how can i

Re: [Dhis2-devs] [Dhis2-users] HOW TO DELETE AN ENTITY IN TRACKER CAPTURE

2016-11-03 Thread Abyot Asalefew Gizaw
I don't have ready made statements at hand. But here is what you need to do - FOR THE TRACKED ENTITY INSTANCE in question 1. Delete event values from trackedentitydatavalue 2. Delete events from programstageinstance 3. Delete enrollments from programinstance 4. Delete attribute values

Re: [Dhis2-devs] [Dhis2-users] HOW TO DELETE AN ENTITY IN TRACKER CAPTURE

2016-11-03 Thread channara rin
has sql statement to delete? On Thu, Nov 3, 2016 at 4:57 PM, Abyot Asalefew Gizaw wrote: > I don't have ready made statements at hand. > > But here is what you need to do - FOR THE TRACKED ENTITY INSTANCE in > question > >1. Delete event values from trackedentitydatavalue >2. Delete even

[Dhis2-devs] Org. unit tree is not open with org. units selected (datasets, orgunit groups, etc.)

2016-11-03 Thread Jose Garcia Muñoz
Hi devs, I believe we have already talked about this... So right now, it is difficult to know the org. units that are selected for a particular dataset/org. unit group/etc (see attached image). I think you are going to change the behaviour of this... Is this something we could have in the followi

Re: [Dhis2-devs] [Dhis2-users] HOW TO DELETE AN ENTITY IN TRACKER CAPTURE

2016-11-03 Thread Ant Snyman
Hi Stanley, To add on to what Abyot - if you are doing it via sql statements then the following tables might also have been populated: trackedentityaudit trackedentitydatavalueaudit trackedentityattributevalueaudit programstageinstance_messageconversation programstageinstancecomments and would ne

Re: [Dhis2-devs] Org. unit tree is not open with org. units selected (datasets, orgunit groups, etc.)

2016-11-03 Thread Busoye Anifalaje
+1 - - Busoye Anifalaje (PhD) Director of Services (Principal), BAO Systems UK: +44 7901-740-757 | US: +1 682-307-0986| bus...@baosystems.com | http://www.baosystems.com | Skype: busoye | 2900 K Street, Suite 404, Washington D.C. 20

Re: [Dhis2-devs] Issue with calculation of Age through program indicator

2016-11-03 Thread Markus Bekken
Hi there Saurabh, The d2:yearsBetween() is not yet supported in the server side aggregation of program indicators. For now you would have to use d2:daysBetween() / 365 - which is not 100% correct as the leap years is not considered. You wrote d2daysBetween in your mail below(without the colon b

Re: [Dhis2-devs] Issue with calculation of Age through program indicator

2016-11-03 Thread Saurabh
Thanks Markus for the response. Will try again and share the results. Regards Saurabh On 3 Nov 2016 19:16, "Markus Bekken" wrote: > Hi there Saurabh, > > The d2:yearsBetween() is not yet supported in the server side aggregation > of program indicators. For now you would have to use d2:daysBet

Re: [Dhis2-devs] [Dhis2-users] API: dataSets.dataElements

2016-11-03 Thread Michael Mwebaze
Thanks Uwe, I have been trying to figure this out as well. On 3 November 2016 at 04:04, Uwe Wahser wrote: > just found the answer myself: it has to be > https://play.dhis2.org/demo/api/dataSets/N4fIX1HL3TQ.json? > paging=false&fields=dataSetElements[dataElement[id,code,name]] > > the other qu

Re: [Dhis2-devs] [Dhis2-users] API: dataSets.dataElements

2016-11-03 Thread Bob Jolliffe
The reason why there isn't a backward compatible api is because the underlying model has changed to support overriding the categorycombo per dataset. So a dataset no longer has dataElements, but dataSetElements. The dataSetElement is a compound object consisting of both a dataelement reference and

[Dhis2-devs] Active Program in tracker capture

2016-11-03 Thread channara rin
Dear all, i has problem with tracker capture. when i open individual records, i can see program with tracker But when i use tracker capture, i didn't see Active program like individual records. Any body know what is the problem? how to fix this problem? [image: Inline image 1] best regards, c

[Dhis2-devs] update tracker profile form

2016-11-03 Thread channara rin
dear all, when i want to update some information of tracker profile. i got this below error... [image: Inline image 1] how to fix this problem best regards, channara ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.laun