The document discusses using machine learning to automate clinical pathways in emergency departments. It describes developing a next-generation electronic health record system that predicts clinical state variables in real-time from patient data to provide alerts, decision support, and trigger clinical pathways. Specifically, it discusses using an "anchor and learn" framework to improve on an existing rule for triggering a cellulitis pathway, by combining simple expert rules with analysis of large clinical databases that does not require manual labeling of data.