Analysis of the functional diagnosis and Tobin index for failure in weaning from mechanical ventilation. (December 2015)