Extraction of Patient Temporal Patterns and Clusters from Clinical Data