Factors associated with readmission were largely unrelated to the underlying pneumonia , but were related to demographics , comorbidities , healthcare utilization , and length of stay on index admission .