What is the meaning of the word "diagnosing"?

Definitions: