Text this: Development and validation of a prognostic tool