to find out what illness someone has, or what the cause of a fault is, after doing tests, examinations etc
diagnose somebody as (having) something
Joe struggled in school before he was diagnosed as dyslexic.
diagnose something as something
The illness was diagnosed as mumps.
diagnose somebody with something
She was diagnosed with breast cancer.