A Boeing 787 Dreamliner experienced an inflight upset, while on a flight from Spain to Uruguay. The plane diverted was diverted in Brazil. 30 people were injured.