Bariatric surgery is being widely promoted as the solution for people who are extremely obese, but so far most of the studies haven't followed enough people for enough time to really know if surgery helps improve health long term.

A study of patients who had the surgery through the Veterans Affairs medical system could help. It followed 2,500 patients who had the surgery between 2000 and 2011 until December 2013. About 6 percent of them had died of all causes five years after surgery, compared with 10 percent of similar patients who hadn't had surgery. By 10 years out, 14 percent of people who had surgery had died, compared with 24 percent of the control group.

Most of the people were men, which is a plus; earlier studies of the procedure have used women who were also younger and healthier. These participants had an average age of 52, and a body mass index of 47, which means someone who is 5 foot 8 would weigh 310 pounds. And they were more likely to have high blood pressure, diabetes and other problems associated with excessive weight.

A BMIof 30 or above is considered obese. One in 3 adults are obese, according to federal data, and 1 in 20 are extremely obese.

Three quarters of the people had gastric bypassprocedures. About 15 percent had sleeve gastrectomy, and 10 percent had adjustable gastric banding.

The studywas published Tuesday in JAMA, the journal of the American Medical Association.

Copyright 2016 NPR. To see more, visit