I think it would be possible to legalise assisted dying while also protecting palliative care doctors. The important thing is to keep the two treatment pathways very clearly separate.
EITHER: You are treating someones pain and giving effective pain relief, even if it hastens death as a side effect. You can take an advance directive into account and also the views of loved ones and you can make a decision in the best interests of the patient. But the aim is to relieve pain and it must be very clear that if death is hastened then that is a side effect. This can be done within the current law and is ordinary, good palliative care.
OR: You are actively assisting someone to die and you need to be 100% upfront about that. You need to be very sure that you have the patient's consent on the day of death because people change their minds, so an advance directive is no use and the opinions of loved ones are not relevant. You must satisfy all safeguarding measures that may be put in place, and those measures should be very robust, because deliberately helping someone to end their life is a huge deal.
Some posters here seem not to appreciate the difference between these two approaches, or perhaps don't appreciate the danger of smerging the two together. Their posts make me less sure that legalising assisted dying is a good idea. They inadvertently highlight the dangers.
People who would want to use assisted dying generally want to go before the point where they would need the kind of pain relief that might, as a side effect, hasten their death. So any new law needs to make that possible while also allowing good quality (not 'perfect', ffs
) palliative care for those who do not choose assisted dying. The vast, vast majority of terminally ill people in countries with assisted dying laws do not choose assisted dying.
There is no downside to ensuring widely available, good quality palliative care before passing an assisted dying law. The vast majority get better palliative care, including those who at some point would switch to assisted dying, AND the assisted dying law is much safer for the small minority who would use it, because there is a decent alternative.