DHIS2 v2.30: Set Expiry Period Type and Expiry Days for Event Program

Thanks Scott. This is explanation was helpful for something I’m working on. For my event program, I’d like to set the expiry date to stop add/editing before a specific date (i.e. anything before 1-May-2021). This because it’s an annual campaign with specific start/stop dates, but I do understand that only relative dates are possible. Given this, I would like to set up the expiry dates on a 7 month rolling basis, so if today is 1-Nov-2021, I wouldn’t want them to make any edits before 1-May-2021, then next month (1-Dec-2021) it would be 1-Jun-2021.

Can you set the expiry type to daily and number of expiry days to any number of days? so if my goal is a 7 month period I could do 7*31 = 217 days? Is there another better way of achieving my goal?

Thanks for any help you can provide.

I have done some additional testing on the expiry period type and expiry days using test facilities. Even when I follow the example listed in the documentation - setting the expiry type to “Monthly” and the expiry days to “10”, I can still add and edit entries from 6-7 months ago (i.e. August 2020). Why might this be?