MiME: Multilevel Medical Embedding of Electronic Health Records for Predictive Healthcare