“…In the context of healthcare, forecasting patient flows can help managers allocate money and human resources to the many health services provided by the hospital (Benevento, Aloini, et al, 2019; Duma & Aringhieri, 2017, 2020; Kempa‐Liehr et al, 2020; Van Der Spoel et al, 2012). Also, the prediction of complications, comorbidities, severity of a disease on the basis of the patients' characteristics can help physicians to choose the best treatments and drugs (Back et al, 2020; H. Xu, Pang, Yang, Li, & Zhao, 2020; H. Xu et al, 2021). In some cases, the problem of predicting the process behavior reduces to a classification problem (Benevento, Aloini, et al, 2019; Duma & Aringhieri, 2017; H. Xu, Pang, Yang, Li, & Zhao, 2020; Van Der Spoel et al, 2012; H. Xu et al, 2021), that is, finding the most probable label for a given sequence of events, that can represent a process activity, a quantity, a time instant, a resource, or any other key aspect of the process.…”