Text this: Contrastive Transfer Learning for Prediction of Adverse Events in Hospitalized Patients