When to refer to a specialist