Longitudinal clinical trials with adaptive choice of follow‐up time