Brannon Braga wrote the story from the initial idea of the Doctor having an identity crisis, "What if the doctor discovers that Voyager is a hologram and he is real?"
Brannon Braga conceived the story idea of the Doctor experiencing an identity crisis, "What if the Doctor discovers that Voyager is a hologram and he is real?"