I don't define "refusing medical treatment" as "suicide". Do you?
Look -- I was assigned the soon-to-die status myself long ago and put in wards with others in similar condition. If they decided to die -- to give up, that they had lived long enough -- they did. Including at least one I realky came to appreciate and always encouraged to live. He had run away from home at eleven and joined the circus. Lived an interesting and vibrant life. Had children and grandchildren who loved him.
He was working at an inner-city liquor store one Saturday night and got involved in a shotgun fight. But he could have lived!