A 50-year-old woman with long-standing COPD and heart failure is admitted with an acute exacerbation. After discussion, she decides she would not want CPR if her heart were to stop, understanding the implications. What is the most appropriate action?