Prediction of weaning. Weaning readiness as evaluated by the CDS and by the internist will be recorded daily, i.e., every morning between 10 and 11 a.m. The decision will be considered to be taken by the CDS before the physician when it was taken 1 day in advance, i.e., the preceding morning. Physicians will be aware of the PSV level delivered by the CDS and could take this level into account in their evaluation. Weaning protocols used routinely in the center recommend a daily assessment for weaning similar to that used by the CDS. Patients are declared weaned as soon as the physician or CDS predicts weaning readiness. The control group reflects the standard of care before CDS implementation. PS of 10 cm H2O or higher is set manually. After 20 min, in the absence of signs of poor tolerance, the PSV is reduced by 4 or 2 cm H20 (depending on initial PSV level > or < 20). If poor tolerance to weaning is evident, the progression of the weaning is stopped, and the patient is reassessed 20 min later for further reduction in PSV. The PSV level is decreased to 9 cm H2O. In the case of apnea, SIMV is reinstituted. If the evaluation is satisfactory, the patient is disconnected from the ventilator. The patient is closely monitored for signs of respiratory failure requiring reinstitution of mechanical ventilation, as well as for occurrence of any other complications. RWC length of stay on MV will be recorded.