Hospital management: emergency vs urgency