GemsTracker / gemstracker-library

GEneric Medical Survey Tracker, main library
http://gemstracker.org
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

multi-layer criteria for valid from / valid until calculation #592

Closed Jbakx closed 4 months ago

Jbakx commented 4 years ago

We would like to be able to use multiple criteria for the calculation of the valid from/valid until dates.

example For the intake questionnaires, we would like to set the 'valid until' date as the treatment date. However, the treatment date is not always available at the start of a track. Therefore, we had to set the 'valid until' date with track startdate + 3 weeks. Sometimes this leads to intake questionnaires still being available after treatment. What we would like to do here is to set the 'valid until' date with track startdate + 3 weeks, unless the treatment date is available, then we want to use the treatment date as the 'valid until' date.

mddejong commented 4 months ago

We decided not to do this.