Re: [Dhis2-users] Restricting Org Units In Tracker Org Unit Data Element

2018-11-28 Thread Markus Bekken
Hey Pierre - no not presently. The org unit data element shows all org units that the user can see(I.E. the "Search" org units). Please feel free to add a jira ticket and describe your use case. Markus Want to tip you about the great community.dhis2.org website -

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-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-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-users] [Dhis2-devs] 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-users] [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
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-users] File Uploads Tracked Entity Attributes

2018-11-14 Thread Markus Bekken
Hey there Ranvir! Are you trying to retrieve the file from the API/directly from the backend? Or does the user log in, open the tracker and try downloading the file from within the tracker app? Markus P.S. we are moving these topics to the community.dhis2.org -

Re: [Dhis2-users] [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] 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-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] [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-users] [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] 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-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-users] Future Dates Not Allowed in Tracker Sections

2018-10-17 Thread Markus Bekken
Hey there, can you try to reproduce on the play.dhis2.org server? Which server are you running on? > 17. okt. 2018 kl. 12:10 skrev Walusiku Muyunda >: > > Dear All, > > I have an issue in one of our Tracker programs where a date field in a

Re: [Dhis2-users] Tracker Referral Behaviour

2018-10-04 Thread Markus Bekken
Hei there Nick, thank you for bringing it up. We had it identified an reported in Jira, and we are working on a solution for it in the current development Milestone for Tracker: https://jira.dhis2.org/browse/DHIS2-4587 Best regards, Markus > 4. okt. 2018 kl. 06:46 skrev Shurajit Dutta : > >

[Dhis2-users] Require validation of event data

2018-10-02 Thread Markus Bekken
Dear community, We are working on proper back-end validation of required fields for events, as part of Jira issue: https://jira.dhis2.org/browse/DHIS2-4433 In this effort we are replacing a flag that is set in the program stage metadata called "Complete only if validation passes". We are

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-users] Tracker Program Stages order

2018-09-13 Thread Markus Bekken
? Markus > 13. sep. 2018 kl. 15:56 skrev Walusiku Muyunda : > > > > On Thu, Sep 13, 2018 at 3:42 PM Markus Bekken <mailto:mar...@dhis2.org>> wrote: > The timeline data entry (should)use the dates of the event for sorting of the > individual events. The tabular entry

Re: [Dhis2-users] Tracker Program Stages order

2018-09-13 Thread Markus Bekken
but that too does not seem to be of any effect In > Data Entry timeline. When I remove the Data entry timeline and use the > Tabular Data Entry, they come in the correct order. > > Walusiku J. Muyunda > > > On Thu, Sep 13, 2018 at 10:07 AM Markus Bekken <mailto:mar...@d

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-users] Tracker Program Stages order

2018-09-13 Thread Markus Bekken
Hi there Walusiku, I presume you have ordered the program stages in the maintenance app, in the "4. Program stages" step of the Program wizard. Can you provide some details on where is the ordering appears differently than in the maintenance app? Can you also submit the deftails of the DHIS2

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

[Dhis2-documenters] [dhis2/dhis2-docs] 71ef8d: New variables and function

2018-05-25 Thread Markus Bekken
commit/715c7b6f094d977b1d5bd0b68bf4009692f5d792 Author: Markus Bekken <markus.bek...@gmail.com> Date: 2018-05-25 (Fri, 25 May 2018) Changed paths: M src/docbkx/en/content/maintenance/tracker/pg_rule/r_pg_rule_expression.xml Log Message: --- Merge pull request #835 from dhis2/DHIS2-3128-DHIS2-1341-DHI

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:

[Dhis2-documenters] [dhis2/dhis2-docs] c93b24: Document changes in the tracker and events API reg...

2018-05-24 Thread Markus Bekken
m/dhis2/dhis2-docs/commit/d82e174d1d1e6505f142f7a8448a5b5dd62c3a25 Author: Markus Bekken <markus.bek...@gmail.com> Date: 2018-05-24 (Thu, 24 May 2018) Changed paths: M src/docbkx/en/content/developer/web_api.xml Log Message: --- Merge pull request #828 from dhis

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 >

[Dhis2-documenters] [dhis2/dhis2-docs] b492f7: Added docs for V{reporting_period_start} and V{re...

2018-05-02 Thread Markus Bekken
--- Format and indent Commit: cff4f887d1387253d2205fbed834864862e0074f https://github.com/dhis2/dhis2-docs/commit/cff4f887d1387253d2205fbed834864862e0074f Author: Markus Bekken <markus.bek...@gmail.com> Date: 2018-05-02 (Wed, 02 May 2018) Changed paths: M src/docbkx/en/c

Re: [Dhis2-users] Change enrollment date in tracker

2018-04-20 Thread Markus Bekken
Hi Thierry, this is not currently possible - but we have this jira for allowing it: https://jira.dhis2.org/browse/DHIS2-1720 Feel free to vote and add details from your use case to the issue. Markus > 19. apr.

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-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-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] 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-users] Program indicator expressions

2018-04-13 Thread Markus Bekken
y > "false". like below: > > > > > On Thu, Apr 12, 2018 at 5:34 PM, Markus Bekken <mar...@dhis2.org > <mailto:mar...@dhis2.org>> wrote: > the below expression should work, yes :) > > >> 12. apr. 2018 kl. 11:13 skrev Jane Greig <jane.gr...@

Re: [Dhis2-users] Program indicator expressions

2018-04-12 Thread Markus Bekken
work?: > d2:condition('#{qaDVwQUHD0j.g4bPEQ4a7WM} == 2 ',1,0) + > d2:condition('#{qaDVwQUHD0j.FFpJ2FZU7rJ} == 2 ',1,0) + > d2:condition('#{qaDVwQUHD0j.dLKjtfo7GD3} == 2 ',1,0) > >   <> > From: Markus Bekken [mailto:mar...@dhis2.org] > Sent: 12 April 2018 19:09 > To: Jane

Re: [Dhis2-users] Program indicator expressions

2018-04-12 Thread Markus Bekken
icators to combine them. We were trying to avoid that! > Thanks > Jane > >   <> > From: Markus Bekken [mailto:mar...@dhis2.org] > Sent: 12 April 2018 19:02 > To: Jane Greig <jane.gr...@london.msf.org> > Cc: dhis2-users@lists.launchpad.net > Subject: Re:

Re: [Dhis2-users] Program indicator expressions

2018-04-12 Thread Markus Bekken
Hi there Jane! The problem with the below condition is that we are using single quotes inside a single quoted statement. This is not supported at the moment. Not really knowing enough about the use case, I venture into suggeting a possible workaround: If you are able to use the condition below

Re: [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] [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-users] Using age-type attributes in program indicator calculations

2018-04-03 Thread Markus Bekken
Nayeem, thanks for the workaround. Nick, the proposed usage should have worked. Age should be treated as a normal date data type in the program indicators. Can you create a bug in jira? Markus > 3. apr. 2018 kl. 03:41 skrev Nayeem Al Mifthah : > > Hi Nick > I have also

Re: [Dhis2-users] [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] 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-users] Insight on program indicator and rule

2018-03-15 Thread Markus Bekken
Hi there Natalie! Your program indicator looks all good. Can it be that the aggregation type is not "Count"? If your expression is a count, then the aggregation type needs to be "Count" or "Custom" for advanced cases. Tip: There is also a d2:yearsBetween function. For the program rule, I

Re: [Dhis2-users] [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] 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-users] [Dhis2-devs] 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, M

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-users] [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-users] [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-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-users] [Dhis2-devs] 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] [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-users] [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-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] [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-users] [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] 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-users] using parenthesis d2:condition

2018-02-12 Thread Markus Bekken
Hi Victor, the below expression contains parenthesis, and will not work in program indicators: https://jira.dhis2.org/browse/DHIS2-2813 Can I suggest to write the below indicator as: - aggregate type: COUNT - expression: V{event_count} - filter:

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-users] [Dhis2-devs] 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-users] how to use condition

2018-02-09 Thread Markus Bekken
Hi there Victor! Can you please supply the expression that you are using when you get the message you mentioned? Markus > 8. feb. 2018 kl. 14:21 skrev Victor Tabu : > > Hello Team, > > Could you tell me if I can use logic function like and,or in >

Re: [Dhis2-users] Problem with the d2:condition function in program operator

2018-02-07 Thread Markus Bekken
gt; to add this to the doc - if the doc is on GitHub I'll gladly submit a PR. > > Martin > > On Wed, Feb 7, 2018 at 9:05 AM, Markus Bekken <mar...@dhis2.org > <mailto:mar...@dhis2.org>> wrote: > Hi Martin, > I think it is the parenthesis within the con

Re: [Dhis2-users] Problem with the d2:condition function in program operator

2018-02-07 Thread Markus Bekken
Hi Martin, I think it is the parenthesis within the condition that breaks the evaluation. When I would always argue for adding the parenthesis for the clarity of reading the expression, I think you are in luck here - if you remove all the parenthesis your numerical operators will be applied in

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-users] [Dhis2-devs] 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-users] Program Rule Expression Executing Before being Called

2018-01-12 Thread Markus Bekken
Hi there Oladiran! I assume that the score is assigned client side to a "score" field, thus making it visible to the person entering the data. It sounds like you have used d2:hasValue('#{optionDataElementName}') to ensure that the assignment should not happen until the #{optionDataElementName}

Re: [Dhis2-users] using report date in the program rule

2018-01-05 Thread Markus Bekken
Hi Nada, there is a variable that you can use to get the orgunit code in program rules, but not the orgunit name. The variable is addressed with V{orgunit_code}. For tracker programs this will be the enrolling orgunit, while for single event programs this will be the event orgunit. See table

Re: [Dhis2-users] Issue with program indicators

2017-11-30 Thread Markus Bekken
Hi there Thierry, the indicator as you describe it below would count every enrollment that happened within the reporting period. The same indicator works on the WHO RMNCH Demo. What is your version? Can you test it with several reporting periods, including a period where no enrollments

Re: [Dhis2-users] how to delete org?

2017-11-27 Thread Markus Bekken
There is some SQL resources to delete orgunits here: https://github.com/dhis2/dhis2-utils/tree/master/resources/sql > 27. nov. 2017 kl. 09.01 skrev Nayeem Al Mifthah : > > You may delete from database after deleting constrains. > > Nayeem Al Mifthah > Consultant for HSS,

Re: [Dhis2-users] [WISCENTDs] Program indicators

2017-11-14 Thread Markus Bekken
Hi Lise! 1. You are right. It turned out there is a small problem with the expression validator, but the program indicator should still work. A fix is checked in for the , please let me know if the indicator does not work. 2. If you are on 2.27 or later you can use program rules instead. There

Re: [Dhis2-users] [WISCENTDs] User role > Authorities

2017-11-09 Thread Markus Bekken
To add to this, in the tracker space we are currently working on an epic to improve the authorization model for programs: DHIS2-2105 We work to replace the many user authorities that govern the tracker with a model where each program is shared with

Re: [Dhis2-users] Generate scores using program rules, tracker capture web app

2017-11-05 Thread Markus Bekken
for the help. > > -Siva > >> On Fri, Nov 3, 2017 at 9:49 AM, Markus Bekken <mar...@dhis2.org> wrote: >> Hi there Siva, >> An important principle for the assign rules is that they should produce the >> same result every time if the input is unchanged. >

  1   2   3   4   >