A pretraining task where a model learns to predict which clinical events will occur at a patient's next healthcare visit.