Nurses must be aware of ethical and legal obligations, such as obtaining informed consent and respecting the patient's autonomy. This is particularly challenging with cognitive impairments, where the patient's decision-making capacity may be compromised. Legal guardians or power of attorney may need to be involved.