To diagnose someone means to identify the medical condition they have.
Several of the children were diagnosed with the flu.
Example picture