emr workflow example