A study in the Journal of the American Medical Association looked at 900 patients with mild to moderate heart failure.