Writing down the patient's preferences ahead of time in a living will or in the form of advance directives can put the patient and family at ease.