Text this: Design of a mathematical model for staff planning in an emergency department