Gender reassignment (see also transition)

The medical, legal and social process of externally and physically expressing and approximating a person's gender identity, which differs from the sex assigned at birth.
"Sex change" sounds like "hocus-pocus", gender reassignment is much better and more respectful.