A legal order written either in the hospital or on a legal form to withhold cardiopulmonary resuscitation (CPR) or advanced cardiac life support (ACLS), in respect of the wishes of a patient in case their heart were to stop or they were to stop breathing.