Massachusetts General Hospital has been recognized as one of the best hospitals in the country, slipping in the rankings from the No. 2 spot it held last year.