← Back to team overview

dhis2-users team mailing list archive

Re: Finding the days between 2 events (different program stages) in the same program

 

Hi Nick!
This is unfortunately not possible at the moment, but there is a Jira issue you can vote for here: 
https://jira.dhis2.org/browse/DHIS2-1397?jql=text%20~%20%22event%20dates%22

Best regards,
Markus

> 12. jul. 2017 kl. 11.24 skrev Shurajit Dutta <shurajitdutta@xxxxxxxxx>:
> 
> Hi there,
> 
> Am wondering if it is possible to use d2:daysBetween (or weeks, years, etc) to find the difference between two event dates in the same program (but belonging to different program stages). I know you can use the program stage name/id in the filter, but in this case can I need to specify the event dates so it knows which dates to find the difference between. Can I prefix these dates somehow?
> 
> In this use case I have a malaria program where cases are identified (stage 1). In stage 2 an investigation is performed, ideally this should be done within 2 days of case identification. Essentially am looking for a count of these events that meet this criteria.
> 
> Thanks,
> Nick
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp


References