A multicenter, double-blind, cross-over trial assessed the efficacy of gastric electrical stimulation in the management of patients with refractory vomiting with or without gastroparesis.