This pilot randomized controlled trial will test the feasibility of recruiting , enrolling , and randomizing patients with advanced cancer in the ED , and provide a preliminary estimate of the impact of palliative care referral on health care utilization , quality of life , and survival .