Neither Troi nor Crusher have the tiniest concept of doctor/patient confidentially, they'll put your weird private medical business on blast like right on the bridge, with the Romulans on the viewscreen, they don't even give a shit
The Barclay protocols were introduced by Starfleet once they learned the hard way you should probably ring someone up on comms first before just like, walking in on someone in the holodeck, and also they should lock when in use
@rootsworks Episode number or it didn‘t happen.