U.S. News & World Report named the Medical University of South Carolina Children’s Hospital one of the top 50 hospitals in the country for children with heart disease, kidney disease and serious digestive disorders.

The annual rankings for children’s hospitals were released Wednesday.

MUSC Children’s Hospital was named No. 39 in the country for its pediatric gastroenterology services, No. 31 for pediatric nephrology procedures and No. 21 for pediatric cardiology and heart surgery.

Boston Children’s Hospital earned the top spot in those three categories. U.S. News ranked the top 50 children’s hospitals in the country in seven other categories as well.

“The children of South Carolina are extremely fortunate to have the level of quality for these programs available so close to home,” said Dr. Rita Ryan, chairwoman of MUSC’s pediatrics department, in a prepared statement. “It’s what separates us from every other pediatric hospital or program in the state.”

Editor’s Note: A previous version of this story cited incorrect rankings for the nephrology and gastroenterology categories. The Post and Courier regrets the error.

Reach Lauren Sausser at 937-5598.