[Dhis2-users] using parenthesis d2:condition

2018-02-11 Thread Victor Tabu
Morning everyone and wish you good week, I am trying to check if my indicator reach the threshold by using the formula below d2:condition('100(#{tbLC6IHktf0.zhiaH2sMDEB}+(#{tbLC6IHktf0.HqvccHzvdUj}+ #{tbLC6IHktf0.d88MXV7ikNH}+ #{tbLC6IHktf0.SiBIjK40DGq})) / #{tbLC6IHktf0.spWKINz7xwF}

[Dhis2-users] using parenthesis d2:condition

2018-02-11 Thread Victor Tabu
Morning everyone and wish you good week, I am trying to check if my indicator reach the threshold by using the formula below d2:condition('100(#{tbLC6IHktf0.zhiaH2sMDEB}+(#{tbLC6IHktf0.HqvccHzvdUj}+ #{tbLC6IHktf0.d88MXV7ikNH}+ #{tbLC6IHktf0.SiBIjK40DGq})) / #{tbLC6IHktf0.spWKINz7xwF}

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

2018-02-11 Thread Bernard Sadaka (IM Advisor)
Thank You Markus, I started following the 2 issues and voted for them. As for (X*100)%100 , it returns the first 2 digits after the comma, therefore the expression mentioned earlier would have simulates a rounding function if the parenthesis were processed correctly as mentioned in the JIRA

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

2018-02-11 Thread Lars Helge Øverland
Hi Aaron, from your description I think enrollment type program indicators will be appropriate. Can you tell us a bit more about your usecase? I am assuming you want information from two different stages in the *same* program. Do you have multiple enrollments per person (TEI) in your program? If

Re: [Dhis2-users] Custom forms - disable / enable sections

2018-02-11 Thread Lars Helge Øverland
Hi Edward, this is a popular request; unfortunately we do not have a specific feature for this. One option is to come up with a few facility "profiles" and create new data sets for each, while re-using *the same* data elements within the data sets, then assigning the data sets to the org units

Re: [Dhis2-users] Possibility of creating non numerical UID prefixes in tracker capture

2018-02-11 Thread Lars Helge Øverland
Hi Aimee, Isaiah is right re the UID format and you can find the docs here: https://docs.dhis2.org/master/en/developer/html/webapi_system_resource.html#d0e11354 Note that the number of possible UID combinations are 5.2 x 10^19, or about 50 million trillion, so I would perhaps rather focus on

[Dhis2-users] DateTime calculation for time in minutes between Tracker Capture stages

2018-02-11 Thread Mike Johnson
Good morning everyone, and greetings from Boston, MA, USA. I have a question about the use of the DateTime value type in version 2.28. Is there documentation yet about the recommended way to calculate some of the following calculations in the Tracker Capture module? * Time (in minutes)

Re: [Dhis2-users] coordinates not found

2018-02-11 Thread Lars Helge Øverland
Hi Natalia, in addition to Patrick's comments, it is useful to have a look in the organisationunit table in your database and see what actually got imported, e.g. with this SQL: select uid,name,coordinates from organisationunit; The points should look something like this: [-12.66,9.38] best,

Re: [Dhis2-users] [Dhis2-devs] Discrepancy in weekly vs monthly reporting period

2018-02-11 Thread Ocaya Stephen
Dear Rachel, Unfortunately , working over the overlap issues may not be an easy one. The big question is which month do you consider the data for if the week starts within the previous month or the one that ends in another month, Probably the month with many days takes up the data BUT remember

Re: [Dhis2-users] Discrepancy in weekly vs monthly reporting period

2018-02-11 Thread Raheel Ayaz
Dear Prosper, Thanks for your kind reply. Entering data on daily basis for our context is not feasible therefore we have to enter/import data into DHIS2 on weekly basis. Since weekly, monthly, quarterly, etc. as period have been provided by DHIS2 database, don't you think they all should be

Re: [Dhis2-users] How to fix Determining your root organisation units?

2018-02-11 Thread Adebusoye Anifalaje
Hi Mahdi, Have you assigned your user to an org unit? You should also go to organisation unit levels and save the current levels. Let’s know if that works. Cheers. Busoye On Sun, 11 Feb 2018 at 05:40, mahdi asgari wrote: > Hi, > How i can fix message "Determining your