Bayesian Event-Based Model for Disease Subtype and Stage Inference