In the episode 2x19 Lifesigns a Vidiian female has been rescued. She is unconscious, but The Doctor makes her "alive" through creating a holo body from her DNA and her remaining memories.
As the story continues, The Doctor begins to fall in love with her. As she claims that it may get boring in the sickbay (holos can't move on the whole ship, as we know), Shmullus tells her that she, also a doctor, is allowed to search the whole medicinal database of the Voyager.
That's a nice offer! But doesn't this violate the Prime Directive or other Federation laws?
Why he may do it:
- He's in love and not capable of making reasonable decisions. That's what he later also claims, that it's getting hard for him to not think of her while doing his work.
- Medicine doesn't qualify as "technology." It sounds a bit weird to me, but maybe medicinal inventions are not regarded as technology by the Prime Directive?
- He is neither allowed, nor would he do it. It's just for the plot and a nice gesture.
Why he shouldn't do it:
- Refering to pro 1: He may have fallen in love, but to that time it's still in progress and he can still do other things quite well. It doesn't seem like love has stricken him that hard.
- As a Federation officer and a sophisticated holo program, he should know ALL Federation protocols and laws. So he should have known that it's not the best thing to offer.
- Voyager doesn't have a good relationship with the Vidiians, nor is it a trade. In the past they had confrontations, like capturing B'Elanna Torres. That's no act of friendship.
So why does he give a foreigner access to the whole medicinal database, if he's still rational?
Shmullus and his chicadillic girlfriend on Mars.