If we invent a cure for cancer tomorrow, will we suddenly know how to build a matter teleporter?
The cure for cancer _is_ the matter teleporter. Just send the patient through the teleporter but omit the cancerous cells.
I'm imagining more the Tron digitiser rather than the Star Trek version, but most similar magic techs will do.
Pretty much the cure for everything except memory loss if you can rebuild a person up from the subatomic level.