Enviar rexistro por email: Learning Latent Heterogeneity for Type 2 Diabetes Patients Using Longitudinal Health Markers in Electronic Health Records