Towards Dynamic Duration Constraints for Therapy and Monitoring Tasks