In the right circumstances, a DNACPR order helps ensure that a patient's death is dignified and peaceful.