The Effect of Palliative Care on Patient Functioning