A method of providing a recruitment procedure to a patient includes monitoring at least derecruitment event. A score is calculated for the at least one derecruitment event. A derecruitment score is aggregated. The derecruitment score is compared to a recruitment threshold. A ventilator 12 is operated with the processor 18 to perform a recruitment procedure. A system 10 for providing mechanical ventilation to a patient includes a mechanical ventilator 12 configured for pneumatic connection to a patient in order to deliver medical gas to the patient. A peripheral system 22, 30, 45 is configured to provide medical assistance to the patient and the peripheral system produces a signal indicative of the operation of the peripheral system 22, 30, 45. A processor 18is communicatively connected to the mechanical ventilator 12 in the peripheral system 22, 30, 45. The processor 18 receives the signal from the peripheral system 22, 30, 45 and calculates a first score from the signal. The processor 18 aggregates the first score into a derecruitment score and compares the derecruitment score to a predetermined threshold. The processor 18 operates the mechanical ventilator 12 to provide a recruitment procedure to the patient.