Science fiction sometimes has a theme in which someone wants to die but is prevented from doing so. Often by law, sometimes by some magical immortality gene. It's technically illegal to commit suicide in many places, with or without help.
I'm of two minds. Suppose your employer considers you essential to her business; takes a life insurance policy on you and surrounds you with protection to prevent any 'accident'. You aren't allowed near any sharp objects. You are a wage slave (if not a sex slave), an investment, and whether you want to live or die is irrelevant. You live to serve the machine as long as technology can keep you alive.
The right to die is critical in a free society. For whatever reason, no power should intrude. Sure, offer counseling, try to minimize the reasons to commit suicide, but in the end stand back and let the person decide for himself.
The *other* mind suggests to me that some people may not be mature enough to make a rational decision of this sort. Here is where this kind of subversive, intrusive technology might be warranted. Teenagers, pregnant women and PTSD soldiers should certainly be given counseling, and perhaps legally prevented from suicide for a certain time period.
A permit system could solve some of the confusion. Qualified adults could apply. They might be required to inform next of kin, etc ... to settle financial, insurance & legal matters ... to sign waivers releasing liability from others ... And then they get a packet of drugs and instructions/suggestions for an easy transition for all involved.