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

2018-04-19 Thread Calle Hedberg
Hi DHIS2 does not currently support V{event_date} for a specific stage - it will always pick the anchor/report date for the most current event. This is supposed to be fixed in 2.30 - see JIRA issue DHIS2-1397 Regards Calle On 19 April 2018 at 06:13, Marko David Garcia

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

2018-04-18 Thread Marko David Garcia
Hello friends!. Is there a solution for 2.25 version?. Thank you very much. Regards. Cordialmente, *Marko David Garcia M.* *Skype: marko_david* 2018-04-11 1:54 GMT-05:00 Edouard Lavaud : > Hi Rady, > > I used a kind of hack for doing that: > > I first used a program

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

2018-04-11 Thread Rady
Hello Edouard, Many thanks for your guidance. It works fine to me. Best, Rady On Wed, Apr 11, 2018 at 1:54 PM, Edouard Lavaud wrote: > Hi Rady, > > I used a kind of hack for doing that: > > I first used a program rule to copy the event_date into a new data > element

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

2018-04-11 Thread Edouard Lavaud
Hi Rady, I used a kind of hack for doing that: I first used a program rule to copy the event_date into a new data element of the program stage (so, yup, the date is kind of duplicated in the stage). However then I could create a program rule variable to fetch this date I wanted, and compare it