robbery, homicide or murder? In mercy killing, you claim lives which you justify by making pretences that the victim is suffering.

Again, if it was put in will or say pre-arranged by the person itself that he/she wishes to be put to death if he/she suffered such or certain kind of situation, that's another story and still the judgment will be for a specific authority to do it.