This is the one I am thinking of.
Let's be fair to the poor chap - you can see how it happens. It's just a case of one thing leading to another. First, while you're on call, you arrange for a prostitute to visit you in the hospital, swipe her through the security doors and into an on-call room. It's a little bit cheeky, but is it really that much worse than a cheeky extended fag break? And of course you send a text saying "This is naughty on my part so discretion would really be appreciated" as a sensible precaution. Who could have predicted the blackmail that came next? So you tell the police about the blackmailers and, as you wait in a stake-out to catch them, you have a nice little chat with the police, tell them your war stories, show them that funny picture on your phone of a patient with a foreign body in the rectum that you took without the patient's permission. We've all done it, surely. And now the trainee anaesthetist is before a tribunal. All because he had to work a night shift.