Legal and Ethical Aspects of Treating Critically and Terminally Ill Patients