For example, perhaps course directors could give students a survey at the beginning of the term that asks if they have a gender preference for physical examination partners, based on potential worries about attraction, religious beliefs or even discrimination. If given the choice, I would probably prefer opposite-sex workshop partners because I am in a same-sex relationship (assuming we should be able to opt out of examining certain people, which I disagree with). But if you believe no one should be coerced into such situations, why is it fairer for me to be in a suboptimal position when the majority gets their preference? Fairness is listening to every individual person about their needs and trying to accommodate everyone, or no one, so the outcome is equal.
The main point I was making with this, though, on the demographics front, is that it shouldn't matter because we are all going to have young, old, male, female, cis, trans, gay, straight, and even asexual patients one day. We should be able to compartmentalize our personal and our professional lives to the extent that we view all peers as patients, view all patients as equally worthy of our respect and attention, and conduct ourselves accordingly in workshops. It primes us for professional relationships in the future with colleagues and patients.