A Bayesian method for the automatic extraction of meaningful clinical sequences from large clinical databases. (May 2023)