Medical ethics require patient consent for treatment. Consent can be assumed in some limited and temporary circumstances but if a patient of sound mind explicitly withdraws consent like with a DNR order then ethically the doctor can't intervene.
The "do no harm" principle only comes into play after consent has been established.
The "do no harm" principle only comes into play after consent has been established.