The nonprofit Leapfrog Group evaluates hospitals based on patient safety, assigning each one a letter grade based on 28 indicators of how well patients fare and whether the facilities follow proper procedures.