Re: [Dhis2-devs] [Dhis2-users] Unable to set up Program Indicator correctly

2016-03-15 Thread Markus Bekken
Hi Elmarie! Great that you are experimenting with these and providing feedback. It seems your current challenge is that these are not showing up in the user interface while entering data - correct? I found two issues from your screenshots; - Incidence date is used in one of the indicators. Try

Re: [Dhis2-devs] Console displays warning when Editing an Event Detail

2016-04-08 Thread Markus Bekken
Hi Laura! The error means that you have a variable named #{DatacheckCD4} that will be populated with data. The problem with the variable is that when you created it you configured it to get its value from data element X, but it seems that data element X is no longer part of the program. Did you

Re: [Dhis2-devs] Changing Org Unit of TEI

2016-04-13 Thread Markus Bekken
> On Wed, Feb 10, 2016 at 12:14 AM, Markus Bekken <mailto:markus.bek...@gmail.com>> wrote: > Hi Pamod! > It is not currently enabled in trunk, but we have made a implementation for > something that might be similar in Palestine. We have made a "Referral" user >

Re: [Dhis2-devs] Error in Registration when any program attribute is set as unique within program

2016-04-13 Thread Markus Bekken
Thanks guys, this is known as Pamod points out - but I didnt find a launchpad bug on it. Created this now: https://bugs.launchpad.net/dhis2/+bug/1569793 Markus > 13. apr. 2016 kl. 11.29 skrev Harsh Atal : > > Oh Yes, it is exactly that issue. > > > Regards > harsh > > On 13 April 2016 at 14

[Dhis2-devs] [Bug 1569793] [NEW] attribute unique in program not working

2016-04-13 Thread Markus Bekken
Public bug reported: When using the "unique in program scope" option for attributes, registering users will cause a crash on the server side. The workaround is to use other uniqueness scopes. In the way the calls is made, the registration of the Tracked entity(and the attribute values), happens

Re: [Dhis2-devs] 2.22 tracker capture show error/warning not working?

2016-04-14 Thread Markus Bekken
Hi there Olav, if you look at the actions in the rule, which field is the warning connected to? If the warning is connected to a field that is not part of the program stage you are in, you will currently not see the error. Markus > 14. apr. 2016 kl. 14.14 skrev Olav Poppe : > > Hi, I'm trying

Re: [Dhis2-devs] 2.22 tracker capture show error/warning not working?

2016-04-15 Thread Markus Bekken
t), neither program has any > indicators displayed in data entry. > > Olav > > >> 14. apr. 2016 kl. 22.56 skrev Markus Bekken : >> >> Hi there Olav, >> if you look at the actions in the rule, which field is the warning connected >> to? If the warning

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
;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 > > > On 13 June 2017 at 09:41,

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

2017-06-19 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 on this one? No one h

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

2017-06-20 Thread Markus Bekken
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" <mailto:mar...@dhis2.org>> wrote: > Hi there Stanley, > Sor

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) registration > process. When we do a

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 th

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 > > Regards

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

2017-07-24 Thread Markus Bekken
ance. 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 <mailto:markus.bek...@gmail.com>> wrote: > Hi Pros

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 . > Basical

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 s

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] d2: daysbetween AND d2:yearsbetween not working properly in 2.27 build revision b6e8cde

2017-08-10 Thread Markus Bekken
> 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 > To: Georgi Chakarov > Cc: DHIS

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

2017-08-11 Thread Markus Bekken
/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 <mailto:markus.bek...@gmail.com>> wrote: > Hi there Em

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 for this? > > On Aug

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 working with relationship

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 and data > elements/I

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 wo

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

2017-08-28 Thread Markus Bekken
; "You miss 100% of the shots you don't take." > > On Mon, Aug 28, 2017 at 10:44 AM, Markus Bekken <mailto:markus.bek...@gmail.com>> wrote: > Hi Emma, > splitting the relationship into tables(one for each program) is a pretty new > improvement. Have your local

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
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 Everyone, > I am worki

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

2017-08-28 Thread Markus Bekken
a 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 > Cc: DHIS Users ; DHIS 2 Developers list > >

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

2017-08-28 Thread Markus Bekken
es 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: Georgi Chakarov > Cc: DHIS Users ; DHI

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

2017-08-28 Thread Markus Bekken
Hi :) Assuming this is on 2.27 - you could open these records in Tracker Capture and use the "Referral" functionality. The button for referral is located below the schedule event button. Select the correct organization unit to move the enrollment to, and select "Move permanently" in the referral

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

2017-08-28 Thread Markus Bekken
ailable 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, August 28, 2017 3:10 PM > To: Geo

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

2017-08-28 Thread Markus Bekken
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 <mailto:markus.bek...@gmail.com>

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

2017-08-29 Thread Markus Bekken
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, 2017 at 1:09 PM, Mark

Re: [Dhis2-devs] Disabling Complete for Some Users

2017-09-14 Thread Markus Bekken
Hi! The complete enrollment button is disabled if: - The orgunit is closed - The current tracked entity instance is inactive - The current enrollment is active The only thing that will hide the complete enrollment button is if the current enrollment has status cancelled. Markus > 14. sep. 2017

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 us

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

2017-10-15 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 d

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 ele

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 in

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

2018-02-09 Thread Markus Bekken
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://www.pu-ami.org <https://www.pu-

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 support

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 skrev

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] 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 database to another instance b

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 pati

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 to program indicator w

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] 2.29 upgrade script error

2018-03-09 Thread Markus Bekken
om <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 > <mailto:mar...@dhis2.org>> wrote: >> >> Hi there

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

2018-03-09 Thread Markus Bekken
/> > > > 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, March 9, 2018 3:17 PM >

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] 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 a

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

2018-04-03 Thread Markus Bekken
ql=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 > wrote: > > > Nayeem, than

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 ho

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 t

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 preexis

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 > [mailto:dhis2-users-bounces+bridgetmagoba=mif

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

2018-05-16 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: > https://jira.dhis2.org/browse/DHI

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

2018-05-24 Thread Markus Bekken
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: https://launchpad.net/~dhis2

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] [Dhis2-users] HOW TO DOWNLOAD TEI'S FROM 2.29 TRACKER CAPTURE

2018-07-05 Thread Markus Bekken
utside DHIS2,i can not do so.Initially i > 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>> wro

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 also

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 riddy

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] 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] 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] 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] 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] 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 th

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 va

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 i

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 : > > Hi

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] 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 he

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 relationsh

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] [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: https://docs.dhis2.org/master/en/user/html/data-sharing-an

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 > clickin

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

2018-11-27 Thread Markus Bekken
ittle bit 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.3

Re: [Dhis2-devs] Validation rules in Single Event without Registration

2015-03-16 Thread Markus Bekken
Dear Prosper, dabbling with ways to run validation rules, we might discuss where it is best to run the rules and show the error messages. One option could be to run the validations while the user types data, and show an error message next to the field with an error immediately after the value is

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 Markus Bekken
te > spreadsheet data using mydatamart. But the use cases from excel as > data collection instrument, through to excel for analysis (pivot > tables) and simple metadata management are very varied. It strikes me > that a library of DHIS2-web-api macros similar to those you present

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

Re: [Dhis2-devs] Availing Option set - otpions in building a Program Rule - Traker

2015-07-07 Thread Markus Bekken
Thank you Prosper. It is great to see the functionality being picked up and to get feedback. +1 to your point - We are working on functionality for inserting options into the expression. Using the name is also probably not the best way - what do you think about using the option code instead of

Re: [Dhis2-devs] Availing Option set - otpions in building a Program Rule - Traker

2015-07-07 Thread markus . bekken
the case below in Aggregate query builder > > > > The code my be hard for when other users need to edit the rule. > > BTW I added a bug to 2.20 the error messages and warning dont popup when > using a tracker capture. > > Regards > >> On Tue, Jul 7, 2015 at 11

Re: [Dhis2-devs] Addition in (Actions that is executed when expression is true)

2015-07-08 Thread Markus Bekken
Thank you Prosper, Your point 1 below is interesting, but I think I need a bit more input and discussion on this one. Do you see it as different "Tracks" through the data entry, so based on one question you would want to change the order of the remaining dataelements? I think the tabbing order

Re: [Dhis2-devs] Program Indicators used on Tracked Entity dashboard

2015-07-21 Thread markus . bekken
Dear Prosper, Do you want to only display the gest age in the dashboard? This can be done with program rules, but is not supported in the rules editor yet. I can compile a 'rule package' that can be posted to the api that gives this behavior. Markus > Den 21. jul. 2015 kl. 08.19 skrev Prospe

Re: [Dhis2-devs] Sections in Tracker Capture - hiding drop down list options

2015-07-30 Thread Markus Bekken
Hi guys - I fixed this issue some time back, I think it was in 2.20 - looking for the revision number now. Markus > 29. jul. 2015 kl. 21.47 skrev Prosper BT : > > Hi Team, > > When you use sections in stages and go to data entry and happen to have a > drop down list, the next section covers t

Re: [Dhis2-devs] Sections in Tracker Capture - hiding drop down list options

2015-07-30 Thread Markus Bekken
jul. 2015 kl. 11.42 skrev Prosper BT : > > Thanks Abyot and Markus, > > If it was fixed can it be back-ported to 2.19? > > Also Markus program rules dont work in 2.19, they disappear for editing after > creating them. > > Regards > > On Thu, Jul

Re: [Dhis2-devs] Need help in Program Rules

2015-08-17 Thread Markus Bekken
Hi Neeraj. This kind of cross validation rules is half way supported already, and the full support is right around the corner. The program rule can be created in the editor, it is being run - but how to display the error message in the UI is still under discussion. Keep an eye out in release not

Re: [Dhis2-devs] Need help in Program Rules

2015-08-18 Thread Markus Bekken
d be #{age} <=23 ?? > > Regards > Calle > > On 17 August 2015 at 12:49, Neeraj Gupta <mailto:neeraj.h...@gmail.com>> wrote: > Thanks Markus. > > On Mon, Aug 17, 2015 at 1:37 PM, Markus Bekken <mailto:markus.bek...@gmail.com>> wrote: > Hi Neer

[Dhis2-devs] [Bug 1490835] [NEW] tracker register button missing

2015-08-31 Thread Markus Bekken
Public bug reported: Registration button is sometimes not visible in the registration screen the first time after a browser cache cleanout or when accessing the tracker for the first time on a new browser. Might be connected to slow internet. ** Affects: dhis2 Importance: Undecided

[Dhis2-devs] [Bug 1490840] [NEW] date format setting not affecting tracker

2015-08-31 Thread Markus Bekken
Public bug reported: The date format that is assigned in the general dhis2 settings does not seem to be reflected in the date picker fields in tracker. ** Affects: dhis2 Importance: Undecided Status: New -- You received this bug notification because you are a member of DHIS 2 deve

[Dhis2-devs] [Bug 1490838] [NEW] tracker get not yet enrolled on opening record

2015-08-31 Thread Markus Bekken
Public bug reported: After a cache clean or when accessing the solution on a new browser for the first time, the first patient that is opened is sometimes not shown: "Not yet enrolled" is displayed. Workaround: Go back and reopen the record. Might be connected to slow internet. ** Affects: dhis2

Re: [Dhis2-devs] Fwd: [Dhis2-users] Event capture Future date is not allowed problem

2015-09-07 Thread Markus Bekken
Dear Hanan, It looks like there is a mixup between 7/9 and 9/7 somewhere - possibly a bug. What is the date format in your calendar settings? (Apps->Settings->Calendar Settings) Markus > 7. sep. 2015 kl. 07.55 skrev Hannan Khan : > > Dear Experts > > Thank you for your continuous support. We

Re: [Dhis2-devs] Buttons not displaying after upgrade to dhis2.20

2015-09-09 Thread Markus Bekken
Dear Ese, We have seen something that looks like the behaviour you mention, and a fix was committed by Abyot in trunk: https://bugs.launchpad.net/dhis2/+bug/1490835. In the cases observed earlier, it was possible to work around the issue by closing and reopening the registration form. Does this

Re: [Dhis2-devs] Issue with tracker capture

2015-09-14 Thread markus . bekken
Dear Ese, we have seen the same happening in some cases, and there is a bug reported here: https://bugs.launchpad.net/dhis2/+bug/1490838 It does not appear to be consistently reproduced in the cases we have seen. If you have additional info on repro that is welcome. Regards, Markus > Den 15. se

[Dhis2-devs] [Bug 1495868] [NEW] (Tracker) Non-repeating program stages vs. "ask user to create new event"

2015-09-15 Thread Markus Bekken
Public bug reported: When "Ask user to create new event when stage is complete" is turned on for a non-repeatable program stage in Tracker, the resulting behaviour seems unanticipated. After completing the program stage, the dialog for scheduling or creating a new instance of the same (non repeat

[Dhis2-devs] Yes/No in Tracker and Event capture

2015-09-16 Thread Markus Bekken
Hi all. Working with user testing of the tracker capture app in Palestine, we see a possibility for improving the efficiency of data entry. The "Yes/No"(BOOLEAN) data types are presented as dropdown lists with three options: "Please select", "Yes" and "No". When having a high amount of Nes/No qu

Re: [Dhis2-devs] Yes/No in Tracker and Event capture

2015-09-16 Thread Markus Bekken
Only for the option sets it seems. BOOLEANs is always dropdowns. > 16. sep. 2015 kl. 09.45 skrev Knut Staring : > > I think this exists as an option already in settings? > > On Wed, Sep 16, 2015 at 9:40 AM, Markus Bekken <mailto:markus.bek...@gmail.com>> wrote: >

Re: [Dhis2-devs] Support With Checkbox/Multiple select

2015-09-17 Thread Markus Bekken
Hi guys, I am facing the same issue as you Asiz, and was planning to do a custom solution for the Palestine project: Use 10-ish "Yes only" dataelements, and group them together in a multiple select dropdown/popover/adaptation of select2 - all while using the underlying yes only dataelements. Pe

Re: [Dhis2-devs] Support With Checkbox/Multiple select

2015-09-17 Thread Markus Bekken
n we have to create as many dataelements as values. > > > --- > Thank you, > Abyot. > > On Thu, Sep 17, 2015 at 9:51 AM, Markus Bekken <mailto:markus.bek...@gmail.com>> wrote: > Hi guys, > I am facing the same issue as you Asiz, and was planning to do a custom

Re: [Dhis2-devs] [Dhis2-users] Program rule does not seem to be working

2015-09-22 Thread Markus Bekken
Hi guys, Try !#{location} or #{location} == false Best regards, Markus > 22. sep. 2015 kl. 14.49 skrev Abyot Gizaw : > > Hi David, > > If value "No" is type boolean, then try 'true' instead of no. It should work. > That is something we planned to address. > > > --- > Thank you, > Abyot. > >

<    1   2   3   >