Longitudinal analysis D0-D7 and patient grouping