Long-term mechanical ventilator