Re: [Dhis2-devs] [Dhis2-users] Tracker capture: Complete button performance decreased since 2.30

2018-11-27 Thread Markus Bekken
from > our last build. Let me update our version to the latest build and see how is > it going. > > Yours, > > Eric > > > El lun., 26 nov. 2018 a las 21:40, Markus Bekken ( <mailto:mar...@dhis2.org>>) escribió: > Hi there Eric! > Is your 2.30 build mo

Re: [Dhis2-devs] [Dhis2-users] Tracker capture: Complete button performance decreased since 2.30

2018-11-26 Thread Markus Bekken
Hi there Eric! Is your 2.30 build more than 14 days old? We did some tracker client performance fixes on nov 14 and nov 16. Markus > 26. nov. 2018 kl. 18:05 skrev Eric Barreda Prades : > > Dear users, > > Since we have upgraded our system to version 2.30 we have observed that after >

Re: [Dhis2-devs] [Dhis2-users]Data set not showing from user end

2018-11-26 Thread Markus Bekken
Hi there Mahbubul, In 2.29 and later, you have to also share the data set with the user groups that should have access to the data set - giving them the "Data: Can capture data" access level. If you haven't already, take a look at this:

Re: [Dhis2-devs] Relationships - relationship link not showing on TE #2

2018-11-14 Thread Markus Bekken
es Control (GARC) > Pan-African Rabies Control Network (PARACON) Steering Committee > terence.sc...@rabiesalliance.org <mailto:terence.sc...@rabiesalliance.org> > https://paracon.rabiesalliance.org <https://paracon.rabiesalliance.org/> > Skype: tpscott1987 > >

Re: [Dhis2-devs] Relationships - relationship link not showing on TE #2

2018-11-14 Thread Markus Bekken
Hey Terence, you mention programs are you making relations from one enrollment to another? How is your relationship type set up? The only relationship type that is supported in the tracker clients is tracked entity instance to tracked entity instance. The rich possibilities in the new

Re: [Dhis2-devs] Program Rule conditions not evaluating

2018-11-05 Thread Markus Bekken
Hey Cha! You are doing some pretty advanced expressions here, but it seems you got the syntax all correct. We are making better tools for syntax and integrity checking in the coming DHIS2 versions, I can imagine you had to do some counting to check that you got the right amount of parenthesis

Re: [Dhis2-devs] 404 response from the API when using Event Capture

2018-11-02 Thread Markus Bekken
Hey Carlos and Kevin, The eventCaptureGridColumns call is likely not the problem - this error is just a bit of log noise that comes in the console for everyone that has never rearranged the columns in the event capture. Have you tried clearing the cache with the cache cleaner app? Is there any

Re: [Dhis2-devs] [Dhis2-users] Request

2018-11-02 Thread Markus Bekken
Hi there Pradeep, can you give some more details on the indicator you want to make, and how you want to evaluate the date? Its great if you provide the details in a new post in community.dhis2.org Markus > 2. nov. 2018 kl. 14:12 skrev Pradeep Kumar Thakur : > >

Re: [Dhis2-devs] Default event report Date on DHIS2 Version 2.28

2018-11-01 Thread Markus Bekken
Hey there Isabane :) We do not support configuring this at the moment, and you are welcome to register a jira feature request explaining your use case: jira.dhis2.org . Do you expect most events to be back-entry you might also make a program rule that informs the user

Re: [Dhis2-devs] [Dhis2-users] Help needed: Checking a string with single quote in program rule...

2018-10-31 Thread Markus Bekken
Hey MSP - escaping single quotes is not supported as of now, it would be great if you create a feature request for it. As Terence says, there might be workarounds - one suggested below. If "don't know" is one of the options in an option set, I am guessing that there is a code for this option

Re: [Dhis2-devs] upgrade to 2.29

2018-09-24 Thread Markus Bekken
Dear Houssam, after upgrading there might be data or files cached in your web browser that is not compatible with the new version of the app. Please try using the "Cache cleaner" app and clear the data. Markus > 24. sep. 2018 kl. 09:02 skrev Houssam Chammaa : > > Dear All > > Please note

Re: [Dhis2-devs] delete program manually cause error!

2018-09-13 Thread Markus Bekken
Hi Lin! When updating data in the database in a running server, there might be a mismatch between cached data and the actual content of the database. I suggest you restart the dhis instance, and expect that this will fix your problem. Markus > 13. sep. 2018 kl. 15:05 skrev 林晓东 : > > HI,all, >

Re: [Dhis2-devs] Event Sync Error From Dhis2 Mobile App V2.29

2018-08-24 Thread Markus Bekken
Hey Calle, Sourabh, others. Thanks for reporting, we are looking at this on priority. You can follow the progress in Jira here: https://jira.dhis2.org/browse/DHIS2-4480 > 24. aug. 2018 kl. 11:12 skrev Calle Hedberg >:

Re: [Dhis2-devs] [Dhis2-users] HOW TO DOWNLOAD TEI'S FROM 2.29 TRACKER CAPTURE

2018-08-22 Thread Markus Bekken
ansen > Senior Engineer, DHIS 2 > Team Integration Lead > University of Oslo > http://www.dhis2.org > <http://www.dhis2.org/> > > On Wed, Aug 22, 2018 at 2:13 PM Markus Bekken <mailto:markus.bek...@gmail.com>> wrote: > Hey again! > Can you s

Re: [Dhis2-devs] [Dhis2-users] HOW TO DOWNLOAD TEI'S FROM 2.29 TRACKER CAPTURE

2018-08-22 Thread Markus Bekken
keep getting this error > What could be the problem.I am using version 2.29 > HTTP Status 404 - /2.29/api/29/trackedEntityInstances/query.csv > > > On Thu, Jul 5, 2018 at 9:32 AM Markus Bekken <mailto:mar...@dhis2.org>> wrote: > Hey Stanley, > thanks for the feedbac

Re: [Dhis2-devs] [Dhis2-users] Program rule Assign

2018-07-23 Thread Markus Bekken
ndoma <mailto:riddynd...@gmail.com>>: > > Hi, Marius I had done this test before I made this email, the display was not > always good so much that I did not know the value that will actually be > stored. > The image shows the difference of (1) and (2) > > ​ >

Re: [Dhis2-devs] [Dhis2-users] Program rule Assign

2018-07-23 Thread Markus Bekken
Hey Riddy - program rules use the values true and false for yes/no data elements. Try assigning true instead of 1. The display format indicates that the field is read only. Any assigned field is shown as a read only field by the data entry widget. Markus > 23. jul. 2018 kl. 05:21 skrev

Re: [Dhis2-devs] Error while adding Relationship in tracker capture v27

2018-07-17 Thread Markus Bekken
Hey Wasib, please report a Jira bug on this. Markus > 17. jul. 2018 kl. 12:38 skrev Wasib Tariq >: > > Hi All, > > I am trying to add a relationship in tracker capture v27 while saving it > throws an error. I've attached the screenshot of the error. > > I've

Re: [Dhis2-devs] [Dhis2-users] HOW TO DOWNLOAD TEI'S FROM 2.29 TRACKER CAPTURE

2018-07-05 Thread Markus Bekken
would simply List All and download the list of TEI's. > > If there is a way i can do that,then thats fine. > > Thank you > > Stanley > > On Thu, Jul 5, 2018 at 9:06 AM Markus Bekken <mailto:mar...@dhis2.org>> wrote: > Hey Stanley, > You are right - the "Lis

Re: [Dhis2-devs] [Dhis2-users] HOW TO DOWNLOAD TEI'S FROM 2.29 TRACKER CAPTURE

2018-07-05 Thread Markus Bekken
Hey Stanley, You are right - the "List all" button is no longer there in the reworked UI of 2.29. We are actively working on making the Tracker data more secure, and the use case for the list all function was perhaps not understood properly by us when we designed 2.29. Can you let us know a bit

Re: [Dhis2-devs] Retrieving the CODE for organisation units and ASSIGN them to a Tracked Entity Attribute

2018-05-24 Thread Markus Bekken
to : dhis2-devs@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-devs > More help : https://help.launchpad.net/ListHelp > > -- -- Markus Bekken Software developer University of Oslo http://www.dhis2.org ___ Mailing list:

Re: [Dhis2-devs] [URGENT] fix for production issue on 2.26

2018-05-17 Thread Markus Bekken
Hey, Shrikanth! We will investigate your issue shortly. Today is a national holiday for most of the team. Markus > 17. mai 2018 kl. 07:42 skrev Srikanth Katta : > > Hi Team, > > We have raised the pull request for event capture app regarding the jira ref: >

Re: [Dhis2-devs] [Dhis2-users] Tracked entity attributes Yes/No type, the program rule is semi-reactive

2018-05-14 Thread Markus Bekken
Hey Bridget and Sele - please post a Jira bug for this. Markus > 14. mai 2018 kl. 08:53 skrev Bridget Magoba : > > Hi Ally, > I have also experienced that in version 2.29. Probably we could consider > filling a Jira issue. > > From: Dhis2-users >

Re: [Dhis2-devs] Reserving unique Case ID attributes in Tracker - duplicates encountered when reserving via Android

2018-04-19 Thread Markus Bekken
Hey Calle, we haven't really documented how this behaves when you do manual inserts of reseved values. Assuming the db insert did the same as a API reservation would have done, and that no caching is interfering what hibernate sees - the 100 new reserved values should not be among those

Re: [Dhis2-devs] [Dhis2-users] data level sharing and access control in 2.29

2018-04-16 Thread Markus Bekken
Hi there! To capture data for a given organization unit in the tree a user will need to have access to capture data for the organization or a parent, and you would also need Can capture data authority for the program, program stage or data set. The new data sharing levels work much the same as

Re: [Dhis2-devs] [Dhis2-users] Cohort and referrals

2018-04-16 Thread Markus Bekken
Hi there Sakibou! You are correct. When permanently referring a patient, this will update the enrolling orgunit of the current enrollment. Each enrollment can only be counted in one orgunit, and your enrollment program indicator would now consider this enrollment part of facility B. There is

Re: [Dhis2-devs] [Dhis2-users] Using age-type attributes in program indicator calculations

2018-04-03 Thread Markus Bekken
a.dhis2.org/browse/DHIS2-1309?jql=text%20~%20%22Age%22> > > > Issue Navigator - DHIS 2 JIRA > <https://jira.dhis2.org/browse/DHIS2-1309?jql=text%20~%20%22Age%22> > > > Regards > > Sele > On Tuesday, April 3, 2018, 9:30:31 AM GMT+3, Markus Bekken <mar...@dhis

Re: [Dhis2-devs] how about the performance for dhis2 tracker to manage large number of entity data?

2018-03-19 Thread Markus Bekken
Hi Lin! There is a few tracker implementations in this size range. These numbers of tracked entity instances should not be a problem in itself, but requires a well-maintained database and application server. Generally, newer versions of DHIS2 will perform stronger than older versions. In 2.30

Re: [Dhis2-devs] ACCESS TO DATA FROM MULTIPLE STAGES IN EVENT REPORTS

2018-03-10 Thread Markus Bekken
Hi Stanley, this is currently not possible. It is however something that is being requested, and we have created these epics to capture the functional area: - https://jira.dhis2.org/browse/DHIS2-3140 - https://jira.dhis2.org/browse/DHIS2-2106 Can you please have a look at the epics and possibly

Re: [Dhis2-devs] [Dhis2-users] 2.29 upgrade script error

2018-03-09 Thread Markus Bekken
g <https://www.pu-ami.org/> > > > From: Dhis2-users > [mailto:dhis2-users-bounces+lib.ima=pu-ami@lists.launchpad.net > <mailto:dhis2-users-bounces+lib.ima=pu-ami@lists.launchpad.net>] On > Behalf Of Bernard Sadaka (IM Advisor) > Sent: Friday

Re: [Dhis2-devs] 2.29 upgrade script error

2018-03-09 Thread Markus Bekken
ms > dco...@baosystems.com <mailto:dco...@baosystems.com> | > http://www.baosystems.com <http://www.baosystems.com/> | 2900 K Street, > Suite 406, Washington D.C. 20007 > >> On Mar 9, 2018, at 7:31 AM, Markus Bekken <mar...@dhis2.org >> <mailto:mar.

Re: [Dhis2-devs] 2.29 upgrade script error

2018-03-09 Thread Markus Bekken
Hi there Bernard, that was strange - your 2.28 database should have contained the table userroleprogram. Assuming you are running 2.28, can you try running this query on your command line? \dt userrole* Expecting that one of the lines output is: public | userroleprogram | table | dhis

Re: [Dhis2-devs] [Dhis2-users] Event - report : Range set for program indicator 2.28

2018-03-08 Thread Markus Bekken
Hi Hakim! Legends is not available in the event reports for program indicators at the moment. Please consider creating a Jira issue asking for this functionality. Best Markus > 8. mar. 2018 kl. 08:56 skrev DJIBRIL Hakim : > > Hi all, > Please Does Range set is applicable

Re: [Dhis2-devs] [Dhis2-users] how to refer patient from one site to another in DHIS2 tracker

2018-03-02 Thread Markus Bekken
Hi there Hakim, There is currently no way of doing analytics on the referral itself. To achieve this in the current solution you would have to capture some data relevant to the transfer. One strategy can be to have a separate "Transfer" program stage that is used for the purpose of moving a

Re: [Dhis2-devs] Data Entry Error about Category Combination

2018-02-26 Thread Markus Bekken
Hey there, did you backup and restore the entire database, or did you do a metadata export and import? If you exported and imported, how did you do the export? Markus > 26. feb. 2018 kl. 17:04 skrev gerald thomas : > > Dear All, > i did a backup and i restored the

Re: [Dhis2-devs] ProgramIndicators questions

2018-02-21 Thread Markus Bekken
Hey Martin! - You can make composite indicators that consists of other program indicators, but program indicators can not be nested within each other directly. - Yes- program indicator values are always based on the data in the analytics_* tables. Markus > 21. feb. 2018 kl. 11:03 skrev Martin

Re: [Dhis2-devs] [Dhis2-users] HOW TO CREATE PROGRAM INDICATOR IN DHIS2 2.27 TO 2.28

2018-02-20 Thread Markus Bekken
Hi there Stanley, the program indicators is now located in the maintenance app. The program indicator section of the maintenance app contains the same fields as the old app did, but the fields are spread out on three pages that is navigated like a wizard. Markus > 20. feb. 2018 kl. 17:31

Re: [Dhis2-devs] Program Indicator using data from multiple event stages to find TEA

2018-02-14 Thread Markus Bekken
Hi Martin, to my knowledge the parenthesis work in general, with the exception of passing parenthesis into the d2:condition() function: DHIS2-2813 You would be able to write parenthesis in program indicators expressions and filters. What is not

Re: [Dhis2-devs] [Dhis2-users] Using program rule expressions in Program indicator expressions

2018-02-09 Thread Markus Bekken
sor > Première Urgence - Aide Médicale Internationale > Nehmeh Building, Sanine Street, Chiyah, 3rd Floor > Ain el Remmaneh, Beirut, Lebanon > E-mail: lib@pu-ami.org <mailto:lib@pu-ami.org> > Cell: +961 71 004 881 (208) > Skype: imapuami > Website: https://

Re: [Dhis2-devs] [Dhis2-users] Using program rule expressions in Program indicator expressions

2018-02-07 Thread Markus Bekken
Hi there Bernard, We aim to support more and hopefully all the program rule functions in program indicators. Unfortunately we are not there yet, and the list of supported functions in program indicators can be found here: 19.4.5. Reference information: Functions, variables and operators to use

Re: [Dhis2-devs] Program rules - comparing report date for multiple stages/events

2018-01-19 Thread Markus Bekken
Hi Olav! There is currently no way of getting the last event date of a program stage directly, but there is a function that might help you. d2:lastEventDate('variableName') - will give you the event date when the underlying data element was entered. Based on how your program stages and data

Re: [Dhis2-devs] Program rule to hide Tracked entity attribute field show a warning in console

2017-10-16 Thread Markus Bekken
Hi there Rady, Nicely spotted. Which version of DHIS are you running? This message is noise from a runtime validation that is a bit too strict, and can be disregarded for the purposes of the users. Log noise is still important to clean up, so it would be great if you can submit a Jira with the

Re: [Dhis2-devs] Save TEI Dashboard as Default not working

2017-09-14 Thread Markus Bekken
Hey! Only users that does not have their own dashboard saved will see the default layout. Most changes a user does to her own dashboard will cause such a user-specific dashboard to be saved. We have created a Jira that will mitigate this problem by allowing the administrator to override the

Re: [Dhis2-devs] [Dhis2-users] Switch enrolling organisation unit

2017-08-29 Thread Markus Bekken
> I've been trying to use the referral feature on 2.27 but it seems not to be > there See attached Screen Shot. > Is there any setting I need to enable to make it available? > > Your usual prompt response'll be appreciated. > > Regards > > On Mon, Aug 28, 201

Re: [Dhis2-devs] Showing Identifiers in Relationship box

2017-08-29 Thread Markus Bekken
ike three attributes to display without program but I can > only see one. > > > > Thank you and Kind Regards > Immarcqulate. A (Emma Kassy) > > "You miss 100% of the shots you don't take." > > On Mon, Aug 28, 2017 at 12:06 PM, Markus Bekken <mark

Re: [Dhis2-devs] [Dhis2-users] Switch enrolling organisation unit

2017-08-28 Thread Markus Bekken
: > > Hi, > > It’s available only in Timeline data entry and we are using Tabular data > entry (for a good reason). > Can the Referral button be added to the Tabular data entry as well? > > Georgi > > From: Markus Bekken [mailto:mar...@dhis2.org] > Sent: Monday, Aug

Re: [Dhis2-devs] [Dhis2-users] HELP with program indicator/report

2017-08-28 Thread Markus Bekken
> Markus, can I assign values to a tracked entity (with an option set), based > on a data element value in a current stage? > > Regards, > > Georgi > > > From: Markus Bekken [mailto:mar...@dhis2.org] > Sent: Monday, August 28, 2017 11:30 AM > To: Ge

Re: [Dhis2-devs] [Dhis2-users] Assign value to a tracked entity attribute with an option set

2017-08-28 Thread Markus Bekken
> On another note, “Yes only” data elements work with both “1” and “true” in > expressions. > > Thanks for your input! > > Georgi > > From: Markus Bekken [mailto:mar...@dhis2.org] > Sent: Monday, August 28, 2017 11:05 AM > To: Georgi Chakarov <geo...@logicalout

Re: [Dhis2-devs] Showing Identifiers in Relationship box

2017-08-28 Thread Markus Bekken
Sorry, I misunderstood your original question. To display an attribute in the relationship table, you have to open the tracked entity attribute and select the "display in list without program" option. Markus > 27. aug. 2017 kl. 08.48 skrev Immaculate Ayebazibwe : > > Hi

Re: [Dhis2-devs] [Dhis2-users] HELP with program indicator/report

2017-08-28 Thread Markus Bekken
Hi there Georgi, We do not have a function that does exactly what you asked for, but hopefully we can find a way if we examine the data elements in your stages. Do the stages have a data element that is mandatory, or at least so pivotal that you can sue that data element to determine wether the

Re: [Dhis2-devs] Showing Identifiers in Relationship box

2017-08-28 Thread Markus Bekken
. A (Emma Kassy) > > "You miss 100% of the shots you don't take." > > On Mon, Aug 28, 2017 at 10:44 AM, Markus Bekken <markus.bek...@gmail.com > <mailto:markus.bek...@gmail.com>> wrote: > Hi Emma, > splitting the relationship into tables(one for each pr

Re: [Dhis2-devs] [Dhis2-users] Assign value to a tracked entity attribute with an option set

2017-08-28 Thread Markus Bekken
Hi there Gorgi! You mention a "Yes only" data element, but did you mean a "Yes only" tracked entity attribute? Meaning, is the checkbox and the dropdown both located inside same registration/profile form? If they are, you can make a rule in the way you describe below. The correct expression

Re: [Dhis2-devs] Downloading Event Reports and Picot Tables

2017-08-28 Thread Markus Bekken
Hey there, seems like a feature you can request in Jira! Markus > 27. aug. 2017 kl. 09.20 skrev Immaculate Ayebazibwe : > > Hi All, > When I download event reports or program indicators in pivot tables under > Table Layout as Csv or Microsoft excel they have, the orgUnits

Re: [Dhis2-devs] Showing Identifiers in Relationship box

2017-08-28 Thread Markus Bekken
Hi Emma, splitting the relationship into tables(one for each program) is a pretty new improvement. Have your local instance(assuming it is 2.27) been updated recently? Best regards, Markus > 27. aug. 2017 kl. 08.48 skrev Immaculate Ayebazibwe : > > Hi Everyone, > I am

Re: [Dhis2-devs] Issues with Tracked Entity Attributes and Program Rules when using Relationships

2017-08-22 Thread Markus Bekken
Hi Emma, thank you for following up. Both these seem to be bugs, please register them in Jira and we will do a full investigation and fix. Best regards Markus > 22. aug. 2017 kl. 17.05 skrev Immaculate Ayebazibwe : > > Hi Markus, > Any ideas? > Should I create a Jira issue

Re: [Dhis2-devs] [Dhis2-users] Unable to Register TEI from the Relationship link

2017-08-11 Thread Markus Bekken
> <https://jira.dhis2.org/browse/DHIS2-1949> > > > > Thank you and Kind Regards > Immarcqulate. A (Emma Kassy) > > "You miss 100% of the shots you don't take." > > On Mon, Jul 24, 2017 at 12:18 PM, Markus Bekken <markus.bek...@gmail.com

Re: [Dhis2-devs] [Dhis2-users] d2: daysbetween AND d2:yearsbetween not working properly in 2.27 build revision b6e8cde

2017-08-10 Thread Markus Bekken
the program rule started working. > > Is there anything specific that needs to be taken into consideration when > working with Age value type? > > Regards, > > Georgi > > From: Markus Bekken [mailto:mar...@dhis2.org] > Sent: Wednesday, August 9, 2017 11:01 AM >

Re: [Dhis2-devs] [Dhis2-users] FW: d2: daysbetween AND d2:yearsbetween not working properly in 2.27 build revision b6e8cde

2017-08-09 Thread Markus Bekken
Hi there Georgi! The expression d2:yearsBetween(A{Date of Birth}, V{ enrollment _date}) <18 should be the correct one. I would change the V{ enrollment _date} to V{enrollment _date} Note that before the birth date is not entered, the expression will evaluate to 0 - which will be less than 18.

Re: [Dhis2-devs] [Dhis2-users] Help with a program rule

2017-08-08 Thread Markus Bekken
Hi there Georgi! Thanks for the feedback. It seems you got it almost right except for one little detail on the usage of the substring function. To get the fifth character you would have to change your expression to: d2:substring(A{Client ID}, 5, 6) == '2' There was an error in the doc, so a

Re: [Dhis2-devs] 'Ask user to create new event...' no longer respects hiding of program stages

2017-08-08 Thread Markus Bekken
Hey Sam, A fix is just checked in and a build is triggering for 2.27. Please have a look and see if your usecase is working better now. Markus > 7. aug. 2017 kl. 13.55 skrev Sam Johnson : > > Hi Devs, > > I’ve reported this as DHIS2-2012

Re: [Dhis2-devs] [Dhis2-users] Unable to Register TEI from the Relationship link

2017-07-24 Thread Markus Bekken
e. > Please note I am testing on Demo instance. See image attached. > > > > Thank you and Kind Regards > Immarcqulate. A (Emma Kassy) > > "You miss 100% of the shots you don't take." > > On Thu, Jul 20, 2017 at 10:43 AM, Markus Bekken <markus.bek...@gma

Re: [Dhis2-devs] [Dhis2-users] Unable to Register TEI from the Relationship link

2017-07-20 Thread Markus Bekken
Hi Prosper and Emma, Thanks for registering a bug. It was an easy fix, so a new build is on the way. Markus > 19. jul. 2017 kl. 12.13 skrev Prosper BT : > > Hi Emma, > > The jira issue is available review, comment and vote > > DHIS2-1791

Re: [Dhis2-devs] [Dhis2-users] Help needed: Show/hide previous DE entry based on a selection

2017-07-10 Thread Markus Bekken
Dear Jean, which version og DHIS are you using? On 2.27 you can do this with program rules. - The easiest way would be to make a rule that triggers a "Display text" or "Display key/value pair" to the user in case the user answers Yes on the designated data field. These texts can be shown in

Re: [Dhis2-devs] Tracker capture(v26), services.js trying to read object as a array

2017-07-08 Thread Markus Bekken
Hi there Chatura! Thank you for the detailed report. Please go ahead and send a PR, and I'll test and merge. Markus > Den 8. jul. 2017 kl. 08.54 skrev chathura widanage > : > > Hi devs, > > We are currently experiencing an issue in tracker capture (v26)

Re: [Dhis2-devs] UNABLE TO DOWNLOAD DATA FROM TRACKER CAPTURE STAGE

2017-06-20 Thread Markus Bekken
l.com > <mailto:skaly...@gmail.com>> wrote: > Thanks Markus for returning my mail.I am.using version 2.26 and my program > has 4 stages. > > I have not reproduced the problem on play > > Thanks > > Stanley > > On Jun 20, 2017 8:35 AM, "Markus Bekken&

Re: [Dhis2-devs] UNABLE TO DOWNLOAD DATA FROM TRACKER CAPTURE STAGE

2017-06-20 Thread Markus Bekken
Hi there Stanley, Sorry for the delayed response. I was not able to reproduce the problem on the play dev instance. Which version are you on? Did you try and reproduce the problem in play? Best regards, Markus > 20. jun. 2017 kl. 06.51 skrev Stanley Kalyati : > > Any help

Re: [Dhis2-devs] [Dhis2-users] Skip-logic on Events with Option Codes - can't seem to get it to work...

2017-06-13 Thread Markus Bekken
back though > because the org tree wasn't displaying in the data entry or event capture > screens but would display once we did a 'search' for the root node. Haven't > had time to document this or fully test things as we are on a deadline. > > Cheers > > David > >

Re: [Dhis2-devs] [Dhis2-users] Skip-logic on Events with Option Codes - can't seem to get it to work...

2017-06-13 Thread Markus Bekken
Hi David! There is a flag when you create the source field that lets you control wether the value or code should be used in the comparisons. Unfortunately the source fields is not editable once created until version 2.27 onwards. You can check the settings of your source field in the API:

Re: [Dhis2-devs] API - event coordinates not getting saved

2017-06-12 Thread Markus Bekken
Dear Harsh, can you reproduce in play? Trying to reproduce through the event capture app, the only difference I see between the two payloads is the number of decimals in the coordinate captured. The apps uses only 6 decimals: "coordinate":{"latitude":9.394871,"longitude":-11.487579} Markus >

Re: [Dhis2-devs] [Dhis2-users] Program Indicator with Period as Condition

2017-06-07 Thread Markus Bekken
{current_date})<120) > > Kindly assist > > Stanley > > > > On Fri, Jun 2, 2017 at 8:14 AM, Immaculate Ayebazibwe <ekass...@gmail.com > <mailto:ekass...@gmail.com>> wrote: > Thank you Markus, > Will get back to you. > > > > Thank yo

Re: [Dhis2-devs] [Dhis2-users] Potential Bug? (skip-logic rules fire on drop-down select but not on radio-button)

2017-06-02 Thread Markus Bekken
Hey David, a build is triggering now for 2.26 where this should be fixed. Markus > 1. jun. 2017 kl. 14.04 skrev Markus Bekken <mar...@dhis2.org>: > > Hi there David! > I might also be a bit sleep deprived, but have independently confirmed what > you describe below. >

Re: [Dhis2-devs] [Dhis2-users] Potential Bug? (skip-logic rules fire on drop-down select but not on radio-button)

2017-06-01 Thread Markus Bekken
Hi there David! I might also be a bit sleep deprived, but have independently confirmed what you describe below. Will fix and get back to you! Markus > 1. jun. 2017 kl. 12.28 skrev David Hagan : > > Hey there community ... > > Someone slap me if I've got this wrong

Re: [Dhis2-devs] [Dhis2-users] Program Indicator with Period as Condition

2017-06-01 Thread Markus Bekken
17 at 12:54 PM, Stanley Kalyati <skaly...@gmail.com > <mailto:skaly...@gmail.com>> wrote: > Markus, > > You have just hit the nail on the head.All those conditions are what am > looking for. > > Please guide. > > Thanks > > Stanley > > On

Re: [Dhis2-devs] Expected "inter-stage" behaviour of ASSIGN program rule action

2017-05-24 Thread Markus Bekken
happen sometimes. > > We have a few more use cases where it would be useful to do assignments to > other stages. But we also know that this is a behaviour that was not > initially thought. > > Thanks, > > Víctor > > On 22 May 2017 at 21:43, Markus Bekken <mar...@dhis2.o

Re: [Dhis2-devs] Expected "inter-stage" behaviour of ASSIGN program rule action

2017-05-22 Thread Markus Bekken
Hi Victor, Sorry for the delayed response. The ASSIGN rules is only intended to affect the data that the user sees(the active/current event). This usually means that you can create helper fields, but they rely on the basis for your calculations being in the same event, or in previously

Re: [Dhis2-devs] [Dhis2-users] Create Program indicator to sum DE across events

2017-05-22 Thread Markus Bekken
Hi there Joao, At the moment this is not possible to do within standard DHIS2 functionality. We are working on a change that might enable this kind of calculation, but this is not detailed and planned to a specific release yet. It would be possible to make a custom SQL view that retrieves this.

Re: [Dhis2-devs] Aggregation type for Tracker Data Elements

2017-05-18 Thread Markus Bekken
Hi! Which version of Dhis are you using? Can you reproduce on play.dhis2.org? Markus > 16. mai 2017 kl. 20.44 skrev Lorill Crees : > > Hi, > > We have program stage data elements of type integer for year and for month > that show up as sums when visualizing in the pivot

Re: [Dhis2-devs] Error creation new stage on 2.26

2017-05-15 Thread Markus Bekken
Hi There Pepe, Are you able to reproduce this issue on the demo server? https://play.dhis2.org/demo/ How are you adding the event? The error message you are getting seems to indicate that you are trying to create more than one event in non-repeatable program stage. This should not be possible

Re: [Dhis2-devs] [Dhis2-users] d2:validatePattern

2017-05-12 Thread Markus Bekken
Hi Simon. The expression below seems all correct. Tested the same in 2.27 snapshot and it works. Which version are you on? Do you have other rules working for the same variable A{index_id}? Markus > 12. mai 2017 kl. 09.28 skrev simon mugisa : > > Hi there evryone, > >

Re: [Dhis2-devs] How do filters work in Enrolment program indicators?

2017-05-08 Thread Markus Bekken
Hi Sam, your suspicion is correct. In Enrollment program indicators you will always evaluate the newest value for each of the data elements within repeatable program stages - both for filters and expression. This means that for your use case you will have to use the event analyticstype. I

Re: [Dhis2-devs] Bug - cannot schedule events in Tracker Capture

2017-05-02 Thread Markus Bekken
t; schedule a follow-up ‘Antenatal care visit’.) I’ve logged this as DHIS2-1507 > <https://jira.dhis2.org/browse/DHIS2-1507>. > > I’d be very grateful if you’re able to find time to look at this again, as > these two bugs have once again broken the Tracker in 2.26. > >

Re: [Dhis2-devs] [Dhis2-users] Enter data for a future date in Event and Tracker Capture

2017-04-26 Thread Markus Bekken
017 > > > > DHIS2 does not allow to create a six-monthly stages for 2016. Note how the > arrow used to go to next period (2016) is inactive. The only possible options > are the two six-monthly periods in 2015. 2014 is not active either. > > > > >

Re: [Dhis2-devs] [Dhis2-users] Auto-Generated Client UICs in Tracker v2.25

2017-04-26 Thread Markus Bekken
Also, you can vote for this issue, and add your specific requirements in the comments: https://jira.dhis2.org/browse/DHIS2-434 > 25. apr. 2017 kl. 17.49 skrev Em Le Hong : > > You can use script on custom form. Until now, there's no way for default form > to

Re: [Dhis2-devs] [Dhis2-users] Enter data for a future date in Event and Tracker Capture

2017-04-26 Thread Markus Bekken
Hi Georgi and Nick The tracker does not allow allow event dates in the future. This restriction is probably there because most(all so far?) tracker use cases register actual events that already has happened. Knowing nothing about your usecase: Can you model it slightly differently, capturing

Re: [Dhis2-devs] Bug - cannot schedule events in Tracker Capture

2017-04-25 Thread Markus Bekken
Hey Sam! Thanks for pushing this up the priority list. It was a relatively small fix, new versions of 2.26 and 2.27 snapshot are ready to download. Best regards, Markus > 25. apr. 2017 kl. 17.35 skrev Sam Johnson : > > Hi devs, > > Just following up on the bug

Re: [Dhis2-devs] Program indicator "hasValue"

2017-04-24 Thread Markus Bekken
pty» syntax for dates as well? > I get > > ERROR: invalid input syntax for type timestamp: ‘' > and > ERROR: COALESCE types timestamp without time zone and integer cannot be > matched > > if I use == ‘’ or == 0 respectively for dates. > > Olav > > >

Re: [Dhis2-devs] Aggregating events based on last value of the data element

2017-04-10 Thread Markus Bekken
ber 2016 - 6 > January 2017 - 5 > February 2017 - 5 > March 2017 - 5 > April 2017 - 5 > > Is it possible to get this output using a program indicator. > > Thank you. > > On Mon, Apr 10, 2017 at 5:53 PM, Markus Bekken <mar...@dhis2.org > <mailto:mar...@dhis2.

Re: [Dhis2-devs] Aggregating events based on last value of the data element

2017-04-10 Thread Markus Bekken
he cross sectional view of number of affected children at a given > time. > > Will the child A only be calculated for the month of October 2016 or will he > be counted on subsequent months as well. (In the output we are expecting to > see the prevalence of the disease per month). >

Re: [Dhis2-devs] Aggregating events based on last value of the data element

2017-04-10 Thread Markus Bekken
Hi there Chathura, it seems that the query you want to make below can be achieved with enrollment program indicators. Assuming the program is built as a multiple event with registration, and the DE1 is part of a repeating program stage, the inherent properties of enrollment program indicators

Re: [Dhis2-devs] [Dhis2-users] Analyze across events

2017-04-10 Thread Markus Bekken
I'm on 2.25. Will update to 2.26 and try. Will get back to you > if any issue. Thanks again. > > Pramil > > On Mon, Apr 10, 2017 at 12:59 PM, Markus Bekken <mar...@dhis2.org > <mailto:mar...@dhis2.org>> wrote: > Hi there Pramil, > if you are on version 2.

Re: [Dhis2-devs] [Dhis2-users] Analyze across events

2017-04-10 Thread Markus Bekken
Hi there Pramil, if you are on version 2.26 or later you can make a program indicator with the "Enrollment" analytics type: This will let you compare data from different events within the same enrollment. The enrollment date is used as the aggregation date when looking at the data in a pivot.

Re: [Dhis2-devs] [Dhis2-users] CLARITY ON DEFINITIONS FOR COUNTS IN PROGRAM INDICATORS

2017-04-04 Thread Markus Bekken
Hi Stanley! You possibly already read this chapter in the docs: 26.4.1.7. About variables We can probably expand a bit more in the docs on how the different counts work. Here is a bit more of an explanation for

Re: [Dhis2-devs] [Dhis2-users] PROGRAM INDICATOR CAN DISPLAY DATA WHEN I SWITCH OU TO ROW DIMENSIONS

2017-03-24 Thread Markus Bekken
Dear Georgi and Stanley, There seems to be a problem with the monthly periods in tracker - please register this as a bug in Jira. The problem with the Program Indicators from different years I was not able to reproduce. Using the pivot table app I am able to see program indicator values from

Re: [Dhis2-devs] Program indicator "hasValue"

2017-03-01 Thread Markus Bekken
Hi Olav, the following syntax is now supported: > - #{wmSb9TmevMn.jeK5z6acB3N} == ‘’ Jira issue: https://jira.dhis2.org/browse/DHIS2-1185 Best regards, Markus > 1. feb. 2017 kl. 13.40 skrev Olav Poppe : > > Hi devs, I’m trying

Re: [Dhis2-devs] Tracking information between Program Stages and sections

2017-02-11 Thread Markus Bekken
Hi there! One option is to make a program indicator that shows the test score. This will make this piece of information visible in the Indicators widget throughout all program stages. It is also possible to automatically fill fields based on values in other fields using program rules, but it

Re: [Dhis2-devs] OptionSets of type Number - is optionvalue CODES then limited to number?

2017-02-11 Thread Markus Bekken
Hi Calle - the data type of the option set is meant to dictate what type of data the option set codes will be. I would say the error was in 2.24 and older dhis versions - allowing letters in codes for numeric option sets seems like a bug. Markus > Den 11. feb. 2017 kl. 12.40 skrev Calle

Re: [Dhis2-devs] Tracker Program Indicator using data element with option sert

2017-01-31 Thread Markus Bekken
ect one or more optionvalues, not > optionSETs > > Regards > calle > > On 31 January 2017 at 10:48, Markus Bekken <mar...@dhis2.org > <mailto:mar...@dhis2.org>> wrote: > Hi there Brent, > As Calle says, you should use the option set code for the program indicators

Re: [Dhis2-devs] Tracker Program Indicator using data element with option sert

2017-01-31 Thread Markus Bekken
Hi there Brent, As Calle says, you should use the option set code for the program indicators. In your example below it seems you are using parenthesis around your condition value. You should remove these and use apostrophes to quote the option set code like this: #{programstage.dataelement} ==

Re: [Dhis2-devs] Clarification around program rules

2017-01-30 Thread Markus Bekken
Hi Archana, sorry for the delayed response. Functionality for editing of variables is regrettably lacking in the program rules editor. Support for editing and renaming is coming in a later release, possibly at the same time as we modernize the program rules editor UI. Name change is currently

Re: [Dhis2-devs] Error in Program Rule

2017-01-17 Thread Markus Bekken
Thank you for the database Rady. Found that the problem was triggered by an apostrophe in a program stage section name. This weakness is fixed now - please try again with the latest 2.25. Best regards, Markus > 16. jan. 2017 kl. 23.02 skrev Markus Bekken <markus.bek...@gmail.com>

  1   2   3   >