One of my absolute favorites of all time is S5E18 [I think] of Voyager where the Doctor has to make a Sophie's choice and has a logic breakdown every time he tries to rationalize his decision and how his only course is to just push through to the next issue and not dwell on the past.
Edit: I WAS WRONG AND THINKING OF EPISODE 8 but I stand by my opinions of episode 8. I believe you are thinking of episode 11, where the doctor figures out Kim had brain surgery in the last few years, and disvocers that not only is the whole crew covering it up, they've all been covering up Ensign Jetal being the one who dies. It gives him the holomatrix equivalent of a psychotic break.
Original: In my opinion, such information should be brutally opposed in the "planning to do bad thing for science" stages, but once the deed is done, the perpetrators are dealt with, and the information is just sitting there, destroying the information at that point feels wrong.
The people who were harmed or died should never have been in that situation in the first place, but personally if it were me, I would rather the information be used to help whoever it can, and the person who tortured or killed me to obtain the information is disrupted. slowly.
Torres is within her rights to not want the treatment.
Doctor is within his rights to use the information he himself ethically obtained, since he had no knowledge of the crimes of a cardassian.
Captain is within her rights to order the life of her crew be saved.
Torres is still right to be extremely pissed at everyone involved for going against her wishes.
Stand amongst the ashes of a trillion dead if honor matters.
I think you're thinking of a different episode, but that's also a good one.
I thought OP was talking about the one where the Doctor saved Ensign Kim and not the woman, though both were equally wounded and had an equal chance of surviving - he had to pick one, he picked Kim, and couldn't stand the guilt of the decision. They tried to delete the memory, but that failed, so he spent weeks working through it.
Possibly, I was basing off the stated episode number and it is an ethical and moral dilemma, but as stated, they loved ethical dilemmas in the original shows.
Honestly it's been long enough since I've gotten to s5 of Voyager I'm fuzzy on things, but I vaguely remember that episode?
Edit: I looked it up and was definitely thinking of episode 8 op was talking about episode 11, maybe? The doctor figures out he operated on Kim but doesn't remember why or when.
You would be too if burp your whole galaxy spanning civilization were burned to the ground around you, and several million soldiers under your charge were slaughtered!
If you need me, I'll be at Afterlife on Omega. Your synthehol is too weak.