The amyotrophic lateral sclerosis functional rating scale predicts survival time in amyotrophic lateral sclerosis patients on invasive mechanical ventilation.