An electronic phenotyping algorithm for patients with ARF March 21st 2022 Exacerbations Non-invasive ventilation