sexual reassignment
Variant: sex reassignment
The legal, surgical, or social action or decision to assign the appropriate sexuality to a person previously considered to be of the opposite (or of ambiguous) sex.