Flow model for emergency departments: putting the cart before the horse