If there has been a gender change, all treatments must be fully completed, and the transformation stable for eighteen months.
No treatments to complete or maintain the gender transformation may be undertaken by the medical services of the branches of the military.
No treatments to begin gender transformation may be initiated while an active-duty member of the services.
Tell that to Chelsea Manning.
But I would go further than you, and secretly make sure that any service member requiring such surgery would nor survive the anesthesia.