Star Trek: Deep Space Nine · S3, E18
Distant Voices
When Bashir is knocked unconscious following an alien attack, he travels through his own mind and is helped by different aspects of his personality, each represented by a different member of the crew.