Factors influencing suicidal tendencies of patients with diagnosis of attempted suicide in medical history and potential prevention of relapse prevention