There are many other considerations to take into account. First, I can't imagine accepting a person prior to, or in the middle of trans-assignment surgery. Second, would be the mental stability of a person undergoing transformation, and any changes caused by hormone treatment. If a person has fully transitioned, and has had several years adjusting to their new self they should be considered for service. But hopefully all prospects in the military are fully screened, and medically cleared.