The US gymnast's hospital trip could not stop her from leading her team to top spot in the world gymnastics contest.