DateTime startOfPhase(int index) => startedAt!.add(Duration(days: study.schedule.phaseDuration * index));