This episode felt very star trek TNG like. In fact I'd say it is very similar to TNG's "The Outcast" episode (17 from season 5). Which it seems to me must have inspired it.
Both are about a girl (though in TNG it's an grown up from an androgynous species who identifies herself as a girl) and both have basically the same ending in which the person is forced to undergo treatment to cure her of her "female affliction".