A man in his 70s died following a procedure in hospital, an inquest opening heard.