Suicide is a mortal sin under the condition that the person knows that the act is a sin and, in his right mind and in control of his faculties, deliberately chooses it anyway,
Chronic severe pain causes depression, panic/anxiety states and all sorts of brain function changes. I think it’s charitable and just to assume that this unfortunate suffering man was being “pushed” by the pathology of sin.
If so, he would not be fully morally responsible for his act.
We must pray for his soul. He is in the hands of his merciful Maker, a being supremely just and kind..
Got any documentation to back up this assertion?