Nurses ask you questions about allergies in the OPD and not in the ER, unless they were asked to give injections. The dr should have inquired about your mom's known allergic history, if that medication requires caution.
Hoping your mom is well now