Diagnosis and recognition