Both anxiety and depression are comorbid mortality risks in middle-aged and older patients with heart diseases. Open-heart surgery (OHS), a life-altering procedure, can induce psychological distress that impedes postoperative recovery. Extensive research has shown the health benefit of optimism, an indicator of