The primary outcome was treatment failure , defined as reintubation , switch to the other study treatment , or premature treatment discontinuation ( patient request or adverse effects , including gastric distention ) .