Weaning criteria from mechanical ventilation.