Cost savings vary by length of stay for inpatients receiving palliative care consultation services.