Critically-ill patients in south China's Shenzhen City now have a say in their death.
They will be allowed to have what officials are calling a "living will" by which to refuse excessive life-saving treatment.
Healthcare providers should abide by the terms outlined in the will.
The regulation will take effect on January 1, 2023.
But, the public discussion has been going on for many years.
"As a patient, he could pass away with dignity. It is good that the patient in China has his own choice, which is also a manifestation of human rights."
“作为一个病人，他可以带着尊严离开 。拥有自己的选择，这对中国的病人来说是个好事，这也是人权的体现 。”
Experts highlight the role of the living will in clarifying legal liability and protecting human rights.
"If there is no living will, and a family member or a medical institution, decides to give up lifesaving treatment,
it might raise some issues of civil and criminal liability."
Shenzhen's move is seen as a breakthrough in China's medical legislation, but some are concerned that patients might be coerced or taken advantage of.
They are calling for more work and policy support to ensure a successful implementation of the law.