What situations put patients at a high risk of medication errors?