The patients are extubated when the following criteria are achieved: awake state, stable hemodynamics, normal airway reflex, respiratory rate 10-25 breath/min, SpO2 > 95% at FiO2 < 0.6, pH ≥ 7.3 and PaCO2 < 55 mmHg.