Text this: Development of time to event prediction models using federated learning