15-20 years ago there was an anthology series on the SciFi channel. One episode in the series featured a story about a married couple. For whatever reason the wife wanted to change her sex to male. She went to this clinic that specialized in sex changes. They created a holographic image of what you wanted your body to be according to your specifications. They then gave her a series of injections and her body was placed in a chamber. Sometime later she emerged as the male she wanted to be. Her husband was resistant to this and to her desire for him to become female. In the end he gives in.
The TV show was based on a short story. The story was basically the same, except the transition was made by means of making a clone of the person with altered X-Y chromosomes. When the clone was mature, a brain transplant was performed. I'm drawing a blank about names. Does anyone recall the name of this series and episode, if it's available on YouTube, etc.and what the name of the original short story and author is?