Nuclear magnetic resonance technology could reduce time spent under the knife.