Email (record): Using a rule‐based system to define error in the emergency department