He left the surgeons a note before undergoing open heart surgery