Factors associated with invasive mechanical ventilation by multivariate analysis were the oxygen flow required at ICU admission , the number of quadrants involved on chest x-ray , and hemodynamic dysfunction .