Gravar-mail: Identifying temporal patterns in patient disease trajectories using dynamic time warping: A population-based study