Inclusion Criteria:  Patients 18 years old and older of both sexes Patients who signed an informed consent Patients scheduled for cardiac surgery with extracorporeal circulation (coronary-artery bypass grafting (CABG), cardiac valve replacement (CVR), combined CABG + CVR, excision of cardiac myxoma)  Exclusion Criteria:  Patients who refused to participate before or after operation; Patients in poor general condition; Patients with preoperative dementia, delirium or illiterate, psychiatric or mental disorder (epilepsy, schizophrenia, depression); Patients who died intraoperatively or within the first 6 hours after the procedure.