The Federation possesses medical technology that few can surpass, having integrated tissue cloning and curative magics. While most IGFW doctors can use certain healing spells it is not in the wheelhouse of all medical professionals. Whole organs and limbs can be regenerated and even nerve tissue can be regrown and reconnected. The use of Nano-machines greatly increases repair as well. There are however some species who can repair damaged brain tissue in most instances but damaged memories and healed tissue cannot be repaired. There are also certain magics that interfere with even regrown tissue and genetic aberrations are something different altogether. Still so long as there is brain activity the typical IGFW surgeon can transfer a patient's mind into a portable nano-brain and transferred back into a fully grown cloned body. There is some debate about abusing this system as a form of immortality but laws prevent medical professionals from returning a mind to a younger body than would be chronologically appropriate. Such laws do not apply to a full body prosthetic though or even a synthetic body but that's another story..