diagnosing illness