Methods
Single–center, single–blinded, non–inferiority, randomized clinical trial in adult patients scheduled for elective cardiac surgery that were expected to receive at least two hours of postoperative ventilation in the ICU. Patients were randomized 1:1 to closed–loop ventilation with sidestream or mainstream capnography. Each breath was classified into a zone based on the measured V