When is the BEST time for having conversations about a patient's wishes for end of life interventions?

Before an emergency
At the time of a hospital admission
When death appears imminent
When extended family can be present