Methods: The two study populations will be in two distinct time periods, the first so-called control without any modification of practices, and the second, by introducing the algorithm with the same drugs being used. Quantitative comparisons of data following a normal distribution will be done using a Student's t test. Otherwise quantitative data will be compared using a Mann-Whitney test or Wilcoxon. The comparison of qualitative data will be done using a Fisher exact test. To increase the power of this before / after study, we calculated the number of patients to be included by period, based on the reduction in duration of mechanical ventilation with such protocols in the literature, and the mean duration of mechanical ventilation in our unit before the study.