What is up with that one Voyager episode where the doctor's sanity is left unresolved?

S5E11 Latent Image

The doctor has a feedback loop from a moral dilemma because he could only save 1 patient and chose to save Harry instead of Extra Ensign #23 for obvious reasons.

In the end of the episode the doctor is still in the feedback loop, quarantined on the holodeck spouting nonsense. He reads a line of poetry and then the episode just ENDS like that. No one tried to explain how sometimes you make tough choices because it's the best you can do. No one said anything about how he has saved so many lives and can still save lives and that's a noble pursuit even if he can't save everyone. Nothing. They just leave him like that.

The next episode the doctor is fine. Like nothing happened.

I can only conclude that they said fuck it and wiped his memories again off screen before the next episode.