[Dhis2-devs] [Bug 1420646] Re: tracker capture - optionsets at the end of sections getting clipped

2015-02-10 Thread Markus Bekken
** Description changed: Tested with tracker capture and a program using sections to divide the input fields. When placing a field with an option set in the form, the option set itself is getting displayed as a drop down with the eligable values when cliking into the field. If the option

[Dhis2-devs] [Bug 1420646] [NEW] tracker capture - optionsets at the end of sections getting clipped

2015-02-10 Thread Markus Bekken
: Undecided Assignee: Markus Bekken (markus-bekken) Status: New ** Changed in: dhis2 Assignee: (unassigned) = Markus Bekken (markus-bekken) -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs

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

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

Re: [Dhis2-devs] Web API in Excel

2015-06-23 Thread Markus Bekken
that a library of DHIS2-web-api macros similar to those you presented in your link would be hugely interesting to a lot of people. Have you considered collecting/publishing such a thing? Cheers Bob On 23 June 2015 at 12:06, Markus Bekken markus.bek...@gmail.com wrote: Hi Channara and Bob

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

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

2015-08-19 Thread Markus Bekken
On 17 August 2015 at 12:49, Neeraj Gupta neeraj.h...@gmail.com mailto:neeraj.h...@gmail.com wrote: Thanks Markus. On Mon, Aug 17, 2015 at 1:37 PM, Markus Bekken markus.bek...@gmail.com mailto:markus.bek...@gmail.com wrote: Hi Neeraj. This kind of cross validation rules is half way

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

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

[Dhis2-devs] [Bug 1507609] [NEW] source field with no program stage

2015-10-19 Thread Markus Bekken
t program stage", the program stage should always be provided. ** Affects: dhis2 Importance: Undecided Assignee: Markus Bekken (markus-bekken) Status: New ** Changed in: dhis2 Assignee: (unassigned) => Markus Bekken (markus-bekken) -- You received this bug n

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] Availing Option set - otpions in building a Program Rule - Traker

2015-07-07 Thread markus . bekken
below in Aggregate query builder Screen Shot 2015-07-07 at 11.45.50 AM.png 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:19 AM, Markus

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

2015-09-01 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

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

2015-09-01 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

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

2015-09-01 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

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

[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

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 <knu...@gmail.com>: > > I think this exists as an option already in settings? > > On Wed, Sep 16, 2015 at 9:40 AM, Markus Bekken <markus.bek...@gmail.c

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.

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

2015-09-17 Thread Markus Bekken
stinct value > then we have to create as many dataelements as values. > > > --- > Thank you, > Abyot. > > On Thu, Sep 17, 2015 at 9:51 AM, Markus Bekken <markus.bek...@gmail.com > <mailto:markus.bek...@gmail.com>> wrote: > Hi guys, > I am facin

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.

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

2015-09-10 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] [Dhis2-users] Program rule does not seem to be working

2015-10-01 Thread Markus Bekken
esponse to use i.e. ==true or =='yes'. Is there > anywhere these rules are documented for each of the data values? > > rgds > David > > > 2015-09-23 9:46 GMT+03:00 Markus Bekken <markus.bek...@gmail.com > <mailto:markus.bek...@gmail.com>>: > Hi Ese, there i

Re: [Dhis2-devs] Indicators in data entry

2015-10-05 Thread Markus Bekken
Hi Channara. If you make Program Indicators, and check the "Show in form" option, they will be shown in a designated place in data entry. Markus > 5. okt. 2015 kl. 11.12 skrev channara rin : > > Hi DHIS2 member, > do you know how to make indicators that aggregate

Re: [Dhis2-devs] Indicators in data entry

2015-10-05 Thread Markus Bekken
ere i can check this option? > > On Mon, Oct 5, 2015 at 4:15 PM, Markus Bekken <markus.bek...@gmail.com > <mailto:markus.bek...@gmail.com>> wrote: > Hi Channara. > If you make Program Indicators, and check the "Show in form" option, they > will be shown in

Re: [Dhis2-devs] Program rules issues/questions

2015-09-23 Thread Markus Bekken
Hi Olav, if you take the latest for 2.20 the form should behave like expected when several rules is hiding the same field. R19893 Best regards, Markus > 22. sep. 2015 kl. 15.52 skrev Markus Bekken <markus.bek...@gmail.com>: > > Yes, good - will implement this way.

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

2015-09-23 Thread Markus Bekken
r #{location} == false works for boolean questions. > rgds > David > > 2015-09-22 16:09 GMT+03:00 Abyot Gizaw <aby...@gmail.com > <mailto:aby...@gmail.com>>: > oh yes, thanks Markus. I mixed up :( > > > --- > Thank you, > Abyot. > > On Tue, Sep 22,

Re: [Dhis2-devs] Debug dhis code in eclipse

2015-09-24 Thread Markus Bekken
Hi Haider, there is a guide here: https://www.dhis2.org/tutorials/debugging-java-code-in-eclipse Let us know how it goes. Markus > 24. sep. 2015 kl. 21.26 skrev haider iqbal : > > Hi, > > I want to fix the bug i found in the software but i am unable to debug the >

Re: [Dhis2-devs] Program rules issues/questions

2015-09-22 Thread Markus Bekken
hat I assumes it would do). > > Regards > Olav > >> Den 22. sep. 2015 kl. 15.22 skrev Markus Bekken <markus.bek...@gmail.com>: >> >> Hi again, >> in cases where several rules affects the same dataelement in the user >> interface, it is current

Re: [Dhis2-devs] Program rules issues/questions

2015-09-22 Thread Markus Bekken
Hi Olav! Thank you for the report and feedback. Do you have several rules that hides the same field/dropdown? The disable option is a good idea. Will add this. Markus > 22. sep. 2015 kl. 14.30 skrev Olav Poppe : > > Hi devs, > trying to set up some program rules for an

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

Re: [Dhis2-devs] Program rules issues/questions

2015-09-22 Thread Markus Bekken
in case ANY of the rules want to hide it. As a partially related note: There is support on the way for prioritizing which rules that should run first. Markus > 22. sep. 2015 kl. 15.12 skrev Markus Bekken <markus.bek...@gmail.com>: > > Hi Olav! > Thank you for the report and fee

[Dhis2-devs] [Bug 1420646] Re: tracker capture - optionsets at the end of sections getting clipped

2015-12-07 Thread Markus Bekken
** Changed in: dhis2 Status: New => Fix Released -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1420646 Title: tracker capture - optionsets at the end of sections getting clipped Status

[Dhis2-devs] [Bug 1524306] [NEW] Program indicator data element selection

2015-12-09 Thread Markus Bekken
Public bug reported: When adding or editing a program indicator: To see data elements to add to the expression, it is necessary to select a program stage. When the program stage is selected, the data elements is displayed. So far so good. Deselect the program stage(select "Please select"). The

Re: [Dhis2-devs] Issue with program rule in build 20987

2016-01-04 Thread Markus Bekken
Hi Ese! Thanks for reporting. I am able to reproduce this in the cases where the name of the program rule is already taken, but the other program rule is in a different program. Will work on a fix for this, but can you verify wether your case is the same - alternatively send me some more info

Re: [Dhis2-devs] Issue with program rule in build 20987

2016-01-05 Thread Markus Bekken
program. > > -Ese > > On Mon, Jan 4, 2016 at 11:35 PM, Markus Bekken <markus.bek...@gmail.com > <mailto:markus.bek...@gmail.com>> wrote: > Hi Ese! > Thanks for reporting. I am able to reproduce this in the cases where the name > of the program rule is already taken, b

Re: [Dhis2-devs] Search person by incidence date range

2016-01-06 Thread Markus Bekken
Dear Nayeem, at the moment you can do an advanced search based on enrollment date, but not incidence date. Would it cover your usecase if the advanced search accomodated the incidence date in the same way as enrollment date? Markus > 6. jan. 2016 kl. 12.02 skrev Nayeem Al Mifthah

[Dhis2-devs] [Bug 1530140] [NEW] (Tracker Capture) Registration - no error message when email format is invalid

2015-12-30 Thread Markus Bekken
Public bug reported: If supplying an invalid email in a tracked entity attribute field for email, the underlying registration fails but no error message is given to the end user. ** Affects: dhis2 Importance: Medium Assignee: Markus Bekken (markus-bekken) Status: Fix Committed

Re: [Dhis2-devs] Program Rules are not working on Dropdowns(Event/Tracker )

2015-11-27 Thread markus . bekken
Hi Shourab! Is your dropdown defined using a 'yes/no' data type, or in fact an option set? For yes/no data types, the syntax would be: > #{bcg} == false || #{bcg} == true Or shorthand: > !#{bcg} || #{bcg} If it is an option set, the rule seems correct(but did you mean to hide the fields both

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

2015-11-18 Thread Markus Bekken
This has not been observed for some time. Wont use time on trying to repro unless it reemerges as a problem. ** Changed in: dhis2 Status: New => Invalid -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS.

[Dhis2-devs] [Bug 1532787] Re: Tracker Capture - Controls at bottom of first page not working

2016-01-12 Thread Markus Bekken
** Changed in: dhis2 Status: New => Fix Committed -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1532787 Title: Tracker Capture - Controls at bottom of first page not working Status in

Re: [Dhis2-devs] Unique tracked entity attributes are now compulsory?

2016-06-08 Thread Markus Bekken
Hi guys! Chiming in - I think Abyot is on leave today. This seems to be a discrepancy that we should just resolve one way or the other. You might say that a blank value is not unique, but I have also recently encountered a use case where we needed a non-compulsory unique attribute like you

[Dhis2-devs] [Bug 1585785] Re: Program rule with skip logic invoked on repeatable stage result in 2nd stage not rendering all Data Elements

2016-06-06 Thread Markus Bekken
is2 Assignee: (unassigned) => Markus Bekken (markus-bekken) -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1585785 Title: Program rule with skip logic invoked on repeatable stage result

[Dhis2-devs] [Bug 1588757] Re: Missing authorities for deleting program indicators and editing program rules

2016-06-03 Thread Markus Bekken
** Changed in: dhis2 Assignee: (unassigned) => Markus Bekken (markus-bekken) -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1588757 Title: Missing authorities for deleting prog

Re: [Dhis2-devs] [Bug 1588757] Re: Missing authorities for deleting program indicators and editing program rules

2016-06-04 Thread Markus Bekken
Thanks :) I will look at it shortly. I was thinking we can simplify the authorities a bit for program rules, no need to have different authorities for actions and program rules for example. > 3. jun. 2016 kl. 15.37 skrev Juan Manuel Alcantara > : > > Hi Markus > Lets

Re: [Dhis2-devs] [Dhis2-users] Tracker Indicators not working as expected

2016-06-01 Thread Markus Bekken
Hi there, you want to make an indicator that compares the dates from two different events within the same enrollment. Unfortunately the program indicators is at the moment only capable of comparing data within one event. Is it a possibility to use the incident date or enrollment date as the

Re: [Dhis2-devs] Program rules combining several Dataelements. Not working?

2016-06-01 Thread Markus Bekken
Hi there Jose, the example you gave should work fine. It seems the reason that your particular espression is not evaluated to true(triggering the actions you hooked to the rule), is the middle clause of your expression: > #{AdoptedMethod} == '[35] UID' This evaluates to: > '[35] IUD' == '[35]

[Dhis2-devs] [Bug 1593574] Re: Tracker program hangs on data entry / event capture screen

2016-06-17 Thread Markus Bekken
The screenshots 1 and 2 is coming from a discrepancy between the latest build on the dev server and the latest built tracker capture from git. This problem will be resolved with the next deploy. The problem in screenshot 3 should be fixed with the latest 2.23 build. -- You received this bug

[Dhis2-devs] [Bug 1524306] Re: Program indicator data element selection

2016-01-10 Thread Markus Bekken
** Changed in: dhis2 Status: New => Fix Committed -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1524306 Title: Program indicator data element selection Status in DHIS: Fix Committed

[Dhis2-devs] [Bug 1523838] Re: Decimal numbers lost in Event Capture

2016-01-18 Thread Markus Bekken
Fixed in trunk - R 21779 ** Changed in: dhis2 Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1523838 Title: Decimal numbers lost in Event Capture

Re: [Dhis2-devs] DHIS V 2.22 : Tracker Capture Error

2016-01-16 Thread Markus Bekken
Dear Pamod, thank you for reporting. There seems to be a sensitivity towards null values in the repeatable property of program stage. Have made an update to 2.22 that makes the repeatable property false in the cases where it did not previously have a value. You can wait for the newest 2.22

Re: [Dhis2-devs] Reminder about a problem published in launchpad

2016-01-19 Thread Markus Bekken
Knut, perhaps it was marked as a request for more information? > 19. jan. 2016 kl. 10.15 skrev Knut Staring : > > Hi Navod, > > Using this list is much better than posting on Launchpad. But I see that > Markus already applied to you on Launchpad, but his answer seems not to

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

2016-02-09 Thread Markus Bekken
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 interface that allows scheduling a visit at another orgunit than the TEI is registered at(and another than the logged in user has

Re: [Dhis2-devs] quick question re tracker capture

2016-02-09 Thread Markus Bekken
Hi Craig! Tested now on the latest 2.22, and think I see the same: the "Date in future" column under "Select attributes" in "Edit program" does not seem to work. Will look into why, but it seems like a bug. Markus > 8. feb. 2016 kl. 18.44 skrev Craig Hollingsworth

Re: [Dhis2-devs] Question on tracker dates and effecting limits on dates for which data may be captured

2016-02-05 Thread Markus Bekken
Hi Elmarie! Interesting! The mentioned incident and enrollment dates is available in the program rules, with the syntax V{enrollment_date}, V{incident_date} and V{current_date}. See table 30.3 for the full list of supported "variables":

[Dhis2-devs] [Bug 1514693] Re: Tracker Event Date changes to previous day on refresh

2016-01-29 Thread Markus Bekken
. ** Changed in: dhis2 Assignee: (unassigned) => Markus Bekken (markus-bekken) -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1514693 Title: Tracker Event Date changes to previous day on refr

[Dhis2-devs] [Bug 1539772] [NEW] tracker compulsory dataelements not compulsory

2016-01-29 Thread Markus Bekken
Public bug reported: The "compulsory" option in a tracker programstages dataelements does not seem to have the wanted effect. When a dataelement is added to a program stage and marked as "compulsory" on a program stage that has the flag for "Complete allowed only if validation passes", this

Re: [Dhis2-devs] [Dhis2-users] Issue with the new data entry form in tracker capture

2016-02-16 Thread markus . bekken
Hi Ese, thanks for reporting. This is a bug. It was fixed in trunk earlier, and will be backported. Markus > Den 17. feb. 2016 kl. 07.39 skrev Ese Egerega : > > Hello Devs, > > Many thanks for the new improvements in the tracker but there is something > you may want to look

Re: [Dhis2-devs] Clear Audit Log

2016-03-09 Thread Markus Bekken
Hi Pamod, when the event has an audit log there is currently no means of deleting it through the api(and therefore not from the apps). It can be done by first deleting entries in the database table trackedentitydatavalueaudit. Full support is coming, hopefully in 2.23. Markus > 7. mar. 2016

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

2016-04-13 Thread Markus Bekken
t; > Thank you > > On Wed, Feb 10, 2016 at 12:14 AM, Markus Bekken <markus.bek...@gmail.com > <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 simil

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

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

[Dhis2-devs] [Bug 1552106] [NEW] (Tracker Capture) Unchecked yes only fields

2016-03-01 Thread Markus Bekken
by d2:hasValue ** Affects: dhis2 Importance: Undecided Assignee: Markus Bekken (markus-bekken) Status: In Progress ** Changed in: dhis2 Status: New => In Progress ** Changed in: dhis2 Assignee: (unassigned) => Markus Bekken (markus-bekken) -- You received th

Re: [Dhis2-devs] [Dhis2-users] Tracker Capture - Input Fields Validation

2016-04-27 Thread Markus Bekken
useful, including > examples using multiple actions. > > Can those expressions include lookup functions into other tables or stored > views in the system? > > Regards > Calle > > On 25 April 2016 at 14:37, Markus Bekken <markus.bek...@gmail.com > <mailto:marku

Re: [Dhis2-devs-core] DHIS2 in GItHub

2016-05-24 Thread Markus Bekken
Cool! Havent found any problems in 10 minutes of tracker testing. Markus > 24. mai 2016 kl. 11.18 skrev Jason Pickering : > > Hi there. > > I have completed an initial conversion of the source code repo from bzr to > git. This was a somewhat involved process due

Re: [Dhis2-devs] [Dhis2-users] Status of ImportSummaries in /api/events

2016-05-12 Thread Markus Bekken
Hi Morten, the TC/EC apps should still work as before if this is updated. Seems like a sensible fix. Will the https status of the whole call follow the importsummaries status? Markus > 12. mai 2016 kl. 12.32 skrev Vanya Seth : > > Ok sounds good. > > Regards > Vanya

Re: [Dhis2-devs] dueDate in Tracker Capture

2016-05-17 Thread Markus Bekken
Hi there Shivee, As you might now, the dueDate basically represents which date the event was supposed to take place at. For events that has actually taken place, you would also fill in the eventDate of the event that is posted, and the dueDate would not be that important anymore. When

Re: [Dhis2-devs] [Dhis2-users] Fwd: Count events for specific program stage

2016-05-03 Thread Markus Bekken
Hi there Ramaso, the reason you are not seeing the program indicator in tracker capture for the particular TEI below is the program indicators filter. There is a shortcoming when combining the filters with indicators shown in the data entry form. Working on fixing this, but in the meantime we

Re: [Dhis2-devs] Tracker capture and custom forms

2016-05-10 Thread Markus Bekken
Hi Olav! Let me address your second point :) > 10. mai 2016 kl. 15.45 skrev Olav Poppe : > > Hi devs, > first, I’ve been working on a custom data entry form for tracker (2.22 and > 2.23). I’ve customised the same form as programmes with and without > registration, and I

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 :

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

2016-04-15 Thread Markus Bekken
I saw in the commit), neither program has any > indicators displayed in data entry. > > Olav > > >> 14. apr. 2016 kl. 22.56 skrev Markus Bekken <markus.bek...@gmail.com>: >> >> Hi there Olav, >> if you look at the actions in the rule, which fiel

Re: [Dhis2-devs] Program indicators - option codes or text?

2016-06-28 Thread markus . bekken
Nicely spotted. Codes is used in analytics, but names in the client side calculation. Will fix so codes isused in TC for indicators. Markus > Den 28. jun. 2016 kl. 16.12 skrev Olav Poppe : > > Hi devs, I’ve only tested this in trunk: > when configuring program indicators the

Re: [Dhis2-devs] Trunk tracker bugs/issues

2016-06-28 Thread Markus Bekken
Thanks Olav, see some inline comments. > 28. jun. 2016 kl. 14.52 skrev Olav Poppe : > > Hi devs, > this might all be known issues since this is trunk, but I’ve been testing the > tracker (EC/TC) part of trunk the last two days and though I’d report the > issues I’ve come

[Dhis2-devs] [Bug 1597137] [NEW] orphan program rule actions

2016-06-28 Thread Markus Bekken
Public bug reported: Working with the programs app maintaining program rules, it is possible to create orphaned program rule actions in the database. These would never trigger or be visible anywhere except as unwanted litter the database. ** Affects: dhis2 Importance: Undecided

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

2016-06-29 Thread Markus Bekken
As we are not fixing this before 2.24, the options will be hidden. Be sure to revert revision 23470 when the support is implemented. ** Description changed: When using the "unique in program scope" option for attributes, registering users will cause a crash on the server side. The

[Dhis2-devs] [Bug 1599062] Re: program rule doesn't work onload in tracker capture registration form

2016-07-05 Thread Markus Bekken
** Changed in: dhis2 Assignee: (unassigned) => Markus Bekken (markus-bekken) -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1599062 Title: program rule doesn't work onload in trac

Re: [Dhis2-devs] Program indicators in data entry (EC)

2016-07-05 Thread Markus Bekken
Hi Olav! Its tagged 2.25: https://blueprints.launchpad.net/dhis2/+spec/program-rules-d2-condition Markus > 5. jul. 2016 kl. 14.44 skrev Olav Poppe : > > Hi devs, > is there a timeline for supporting all the different indicator expressions in > data entry? E.g. i notice that

Re: [Dhis2-devs] TC "complete" modal

2016-07-05 Thread Markus Bekken
Hi Olav. The line seems to break in presence of the "Complete event and enrollment" button - will make a margin above the button to avoid them clinging together. The heading is an explicit style update made in 2.24, but you think the bigger header was nicer? :) Markus > 5. jul. 2016 kl.

[Dhis2-devs] [Bug 1599062] Re: program rule doesn't work onload in tracker capture registration form

2016-07-06 Thread Markus Bekken
Fixed in latest 2.24 and trunk. Git: https://github.com/dhis2/tracker-capture-app/commit/26e2468a76a154a9cc36958fe13b7f20b3050148 ** Changed in: dhis2 Status: New => Fix Released -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to

Re: [Dhis2-devs] Program indicators in data entry (EC)

2016-07-05 Thread Markus Bekken
gram indicators using the d2:condition in the calculation in > data entry (but perhaps it is the same thing in the background?) > > Olav > > > > >> 5. jul. 2016 kl. 14.46 skrev Markus Bekken <markus.bek...@gmail.com>: >> >> Hi Olav! >> >

Re: [Dhis2-devs] Program indicators - option codes or text?

2016-07-01 Thread Markus Bekken
Hi again, this is fixed in the latest built 2.24 and trunk. Markus > 28. jun. 2016 kl. 16.37 skrev markus.bek...@gmail.com: > > Nicely spotted. Codes is used in analytics, but names in the client side > calculation. Will fix so codes isused in TC for indicators. > > Markus > > Den 28. jun.

Re: [Dhis2-devs] Trunk tracker bugs/issues

2016-06-29 Thread Markus Bekken
>> >> Adding event date in custom forms was something we had long before. Now >> seems we no more allow for adding event date during custom form design - I >> will try to investigate. But can't promise if this is going to make it >> before 2.24. >> >&

[Dhis2-devs] [Bug 1597981] Re: can't add more than 1 attribute as source field in program rule

2016-07-02 Thread Markus Bekken
** Changed in: dhis2 Assignee: (unassigned) => Markus Bekken (markus-bekken) -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1597981 Title: can't add more than 1 attribute as source fi

[Dhis2-devs] [Bug 1593574] Re: Tracker program hangs on data entry / event capture screen

2016-06-20 Thread Markus Bekken
** Changed in: dhis2 Status: Incomplete => Fix Committed -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1593574 Title: Tracker program hangs on data entry / event capture screen Status

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

Re: [Dhis2-devs] Error in Program Rule

2017-01-16 Thread Markus Bekken
Hi Rady, I could not reporoduce the error in my local or on the demo server, but they are running a newer version of 2.25. Is there a possibility to update your server to the latest 2.25? If you still have the problem on the latest 2.25, it would be good if you can send a database dump

Re: [Dhis2-devs] [Dhis2-users] Issue with Tracker Capture Program Rules not working with sections

2016-09-02 Thread Markus Bekken
Hi Absolom. Can you open the browser console(if using Chrome on windows, it is opened with F12), and see if there are any red error messages that shows up when you click "add source field"? Markus > 1. sep. 2016 kl. 13.24 skrev Bridget Magoba : > > Dear Absolom, > I

Re: [Dhis2-devs] [Bug 1612375] [NEW] Program indicators: error in percentage calculations when using d2:condition (inconsistent results at different levels of aggregation)

2016-10-07 Thread Markus Bekken
Hi there Sam, thank you for the detailed report. The division is done with integers when both the inputs are integers. So the result of the divison is rounded down from f.ex. 0,66 to 0 before the multiplication with 100 happens. You found a workaround yourself, another option would be to do

Re: [Dhis2-devs] Program rule - selected field to hide changes to None

2016-10-07 Thread Markus Bekken
; From: Dhis2-devs [mailto:dhis2-devs-bounces+ditana > <mailto:dhis2-devs-bounces%2Bditana>=hispna@lists.launchpad.net > <mailto:hispna@lists.launchpad.net>] On Behalf Of Markus Bekken > Sent: Tuesday, September 27, 2016 3:06 PM > To: calle.hedb...@gmail.com <mailto:calle.hed

Re: [Dhis2-devs] Program rule - selected field to hide changes to None

2016-09-27 Thread Markus Bekken
YI: > it was a user rights issue. Logging in as system sorted that problem out - it > looks like the standard admin user don't have privileges to do anything on > program rules. > > Regards > calle > > On 27 September 2016 at 13:09, Markus Bekken <markus.bek...@gmail.co

Re: [Dhis2-devs] Program rule - selected field to hide changes to None

2016-09-27 Thread Markus Bekken
Thanks for reporting, Calle. There was a related fix on trunk yesterday night that seems to have fixed the below mentioned issue as well. Looking into fixing the same in 2.24 now. Markus > 27. sep. 2016 kl. 12.16 skrev Calle Hedberg : > > Hi > > This increasingly

Re: [Dhis2-devs] Program indicators and attributes

2016-10-19 Thread Markus Bekken
Hey again Olav, this is fixed in the latest 2.24, and shortly in 2.25 and master. Markus > 19. okt. 2016 kl. 00.36 skrev Markus Bekken <markus.bek...@gmail.com>: > > Hey Olav. > Thanks for reporting. Reproduced this, will fix and get back to you. > > Markus > >&

Re: [Dhis2-devs] [Dhis2-users] Tracker incident dates changes

2016-10-20 Thread Markus Bekken
Hi David, what is the time zone of the server? This is a known bug when you have a time zone different than UTC. Markus > 20. okt. 2016 kl. 09.31 skrev David Itana : > > Dear DHIS community > > I am using tracker Version: 2.24, Build revision: e2f8d0e, Build date: >

  1   2   3   >