[Dhis2-devs] Get number of days between two event dates in different program stages

2018-04-10 Thread Rady
Hello DHIS2 community, I have a doubt how to get number of days between two event dates in different program stages. For example, *d2:daysBetween(programstage1.V{event_date},programstage2.V{event_date})*. Anybody used to have experience on this? please help. Thanks, Rady

Re: [Dhis2-devs] org unit in program variable/rule

2018-04-10 Thread Rady
Hello Bernard, You can use *V{orgunit_code}* in program rule to retrieve orgunit code. Thanks, Rady On Tue, Apr 10, 2018 at 5:59 PM, Bernard Sadaka (IM Advisor) < lib@pu-ami.org> wrote: > Hello all, > > Is there a way to get the organization unit as a program variable and/or > use it in

Re: [Dhis2-devs] [Dhis2-users] org unit in program variable/rule

2018-04-10 Thread Bernard Sadaka (IM Advisor)
Thank you Sakibou! It worked. All the best, Bernard Bernard Sadaka Information Management Advisor Première Urgence - Aide Médicale Internationale Nehmeh Building, Sanine Street, Chiyah, 3rd Floor Ain el Remmaneh, Beirut, Lebanon E-mail:

Re: [Dhis2-devs] [Dhis2-users] org unit in program variable/rule

2018-04-10 Thread Sakibou ALASSANI
Hi SadakaFrom my knowledge Only orgunit code is supported at now You can use V{orgunit_code} in the assignment expression Sakibou Le mardi 10 avril 2018 à 10:59:39 UTC, Bernard Sadaka (IM Advisor) a écrit : Hello all, Is there a way to get the

[Dhis2-devs] org unit in program variable/rule

2018-04-10 Thread Bernard Sadaka (IM Advisor)
Hello all, Is there a way to get the organization unit as a program variable and/or use it in the program rules? My usecase is that I want to use the program rule to create a unique value based on: * The PHCC (org unit) * The family number * The individual number

Re: [Dhis2-devs] Looking for DHIS2 version 2.16 or 2.17 war file

2018-04-10 Thread micnice
Dear Calle, Thanks for the quick response. I couldn't find them on https://ci.dhis.org, there is only version 2.22 onwards. You can share the one you have and I will give it a try. Thank you Michael On 10/04/2018 02:03, Calle Hedberg wrote: Michael, I've got 2.17, but there should be a

Re: [Dhis2-devs] Looking for DHIS2 version 2.16 or 2.17 war file

2018-04-10 Thread Lars Helge Øverland
Hi, we don't have a build of 2.17 currently on our servers. You can build from source if you are so inclined from this repository: https://code.launchpad.net/~dhis2-devs-core/dhis2/2.17 regards, Lars On 10 April 2018 at 02:03, Calle Hedberg wrote: > Michael, > >

Re: [Dhis2-devs] Looking for DHIS2 version 2.16 or 2.17 war file

2018-04-10 Thread J. Paul Mutali
Hi Michel, you may check this link: https://code.launchpad.net/dhis2 On Tue, Apr 10, 2018 at 2:03 AM, Calle Hedberg wrote: > Michael, > > I've got 2.17, but there should be a repository somewhere on a server for > both of them. > > Let's see if anybody knows the uRL