EMR-based early alerts