Waiting management at the emergency department – a grounded theory study