Design and settings
This was a prospective non-inferiority randomized controlled trial (RCT) enrolling subjects mechanically ventilated admitted to the intensive care unit (ICU) of a hospital located in the state of Rio de Janeiro, Brazil, who were in the process of weaning. The tools used for extubation decision-making were the TIE index or the traditional T-piece trial (TPT). Before starting data collection, we used an online number generator (