While there is still time
The instruction that governs everything else is a division of labour. Others can take care of the body. You take care of the mind. In a hospital there are already people whose job is the body; almost nobody has been given the other job.
What that means concretely is trying to get the person to a state of mind that is not frightened and not grasping. The strongest version, if they are capable of it, is tonglen: taking on others' suffering and giving out happiness, so that the person dies thinking of somebody else. His Holiness the Dalai Lama calls dying with that attitude a self-supporting death. Where that is beyond them, plain loving kindness, wishing others well, does the same work more simply.
In practiceJudge what the person can actually hold, not what you would like them to.
