Can Patient Frailty Be Estimated from Inpatient Records? A Prospective Cohort Study