question about と and こと

why nominalizer (like の or こと) are not used here instead of と, what's the difference?

彼はがんと診断された。

Kare wa gan to shindan sareta.

"He was diagnosed with cancer."

by NateBerukAnjing