Advance Medical Directive (AMD)

What is an AMD?
An Advance Medical Directive (AMD) is a legal document that you sign in advance to inform the doctor treating you (in the event you become terminally ill and unconscious) that you do not want any extraordinary life-sustaining treatment to be used to prolong your life.
Qn - Hi, is it advisable to execute this legal document? Thank you.