← Back to team overview

dhis2-devs team mailing list archive

Program indicators - "datediff", custom forms ++

 

Hi, the new program indicators are great, but I have a couple of questions/requests. 

First of all, it does not look like it is possible to add them to custom forms currently (and I didn't find a blueprint for it). Would be great if that could be supported.

Secondly, it would be great with some basic "date calculations", essentially to get the number of days/years between two dates. As far as I can see this is not possible currently with program indicators.  I think this would also be very useful for the program rules, e.g. you have two dates and would like to enable/disabled fields or sections based on the different between them. In my particular case, I'm looking at cause of death registration and would like certain fields to be active only if the age is < 1 year based on date of birth and death.

Regards,
Olav

Follow ups