How AI in EHR systems improves healthcare workflows