[Dhis2-users] 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-users Post to : dhis2-users@lists.la

[Dhis2-users] 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

Re: [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

Re: [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-users] [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-users] [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-users] Program indicators: how to calculate the proportion of female?

2016-11-03 Thread Prosper BT
Dear Lise, You will need to create two program indicators 1. Count the number of patients enrolled 2. Count the number of patients enrolled who are Female Then go to Aggregate Indicators and create an indicator using program Indicators with Indicator 2 as numerator and Indicator 1 and denominato

Re: [Dhis2-users] Program indicators: how to calculate the proportion of female?

2016-11-03 Thread GROUT , Lise
Dear Prosper, Thanks a lot. We have just seen it in maintenance, but it is very important to have your confirmation. Thanks. Lise From: Prosper BT [mailto:ptb3...@gmail.com] Sent: 03 November 2016 13:49 To: GROUT, Lise Cc: DHIS 2 Users list Subject: Re: [Dhis2-users] Program indicators

Re: [Dhis2-users] Program indicators: how to calculate the proportion of female?

2016-11-03 Thread GROUT , Lise
I have just seen that the program indicators are then available in “Maintenance”. Should we therefore create numerators and denominators as “Program indicators” and the proportion in “Indicators” ? Best From: GROUT, Lise Sent: 03 November 2016 13:42 To: DHIS 2 Users list Subject: Program i

[Dhis2-users] Program indicators: how to calculate the proportion of female?

2016-11-03 Thread GROUT , Lise
Dear all, Sorry if it is a basic question, but we are trying to create a program indicator which is the proportion of female among the patients enrolled. How can we do this? We tried to first calculate the number of patients who are female, but then we cannot use this indicator to calculate

Re: [Dhis2-users] 2.24 version. Error in program stage sections ordering

2016-11-03 Thread Prosper BT
Hi Marc, We have been experiencing the same issue and reported it as a bug, lets hope it will be fixed soon, otherwise we have been going to the back end changing the section from null. Regards Prosper Behumbiize, MPH DHIS2 Implementation| HISP Uganda/University Of Oslo +256 752 751 776 | +256 7

Re: [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-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-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-users] 2.24 version. Error in program stage sections ordering

2016-11-03 Thread Marc Garnica
Hi all, We recently found an error in dhis2 2.24 which we think can be a big issue. After creating several program stage sections we wanted to reorder them but when we tried to change the order of one section the section disappeared. We thought that they just were deleted but if we try to recreate

Re: [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-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

Re: [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-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

[Dhis2-users] 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-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.