What is the primary function of a durable power of attorney for healthcare in medical ethics?

a. To assign blame in case of medical errors or malpractice.
b. To designate a trusted individual to make healthcare decisions on behalf of the patient if they become incapacitated.
c. To provide financial support to the patient's family during medical treatment.
d. To grant medical professionals the authority to make healthcare decisions for the patient.