A man is lying in a hospital bed with a heart rate monitor attached to his chest.