‘We will learn’ from waiting-room death: health minister