The American Society of Anaesthesiologists have published guidance on this here:

https://www.asahq.org/in-the-spotli...sing-anesthesia-machines-for-ventilators