They were waiting to transfer patients to A&E