Weaning from ventilatory support.