Medication errors in ed: do patient characteristics and the environment influence the nature and frequency of medication errors?