My health issue is not imagined or caused by mental attitude.
I wasn't implying that. All psychosomatic disease is very real. The psycho-part is just related to the cause. It's not meant to say that it is an imaginary problem.
"There is now sufficient data to conclude that immune modulation by psychosocial stressors and/or interventions can lead to actual health changes. Although changes related to infectious disease and wound healing have provided the strongest evidence to date, the clinical importance of immunological dysregulation is highlighted by increased risks across diverse conditions and diseases. For example, stressors can produce profound health consequences."https://en.wikipedia.org/wiki/PsychoneuroimmunologyIn your case, the problem, after the ulcer, was healing the affected parts. If the underlying psychological issue that triggered the ulcer was/is still there, then the process of proper healing of the affected parts is also affected.