**5. Conclusions**

In Catalonia, the number of conversations and messages now stand at approximately 370,000 and 500,000, respectively. Applying a classification algorithm like the one proposed here would help us understand the nature of the conversations and their impact in real time. Future research should evaluate the use of automation (to send a diagnostic test, generate an alert or "thank you" and close the case) as a tool for decision support for healthcare professionals to improve the managemen<sup>t</sup> of clinical cases and to save GPs time. Natural Language Processing approaches should further analyse the content of the teleconsultations and proactively o ffer clinicians agile resources to deal with the cases.

This article has shown that the implementation of an algorithm for the prediction of factors such as a reduction in the number of face-to-face visits, induced demand or type of consultation is technically feasible and potentially useful in the context of service planning, managemen<sup>t</sup> of the demand and evaluation. This study presents a combination of algorithms based on machine learning and a more efficient representation of vectors for this type of data. This study is an initial exploration into the potential of teleconsultation and the promising use of artificial intelligence for the evaluation of digital health interventions.

**Author Contributions:** Conceptualization, F.L.S., J.V.-A.; methodology, R.A.E.A., G.d.M.; software, R.A.E.A., G.d.M., S.W.; validation, F.L.S., R.A.E.A., G.d.M., A.G.-A., F.G.C., S.W., M.S.C., J.V.-A.; formal analysis, F.L.S., R.A.E.A., J.V.-A.; investigation, F.L.S., R.A.E.A., G.d.M., S.W., J.V.-A.; resources, F.L.S., J.V.-A.; data curation, R.A.E.A.; writing—original draft preparation, F.L.S., J.V.-A.; writing—review and editing, F.L.S., R.A.E.A., G.d.M., A.G.-A., F.G.C., S.W., J.V.-A.; visualization, F.L.S., A.G.-A., F.G.C., S.W., M.S.C., J.V.-A.; supervision, F.L.S., A.G.-A., F.G.C., M.S.C., J.V.-A.; project administration, F.L.S.; funding acquisition, F.L.S. All authors have read and agreed to the published version of the manuscript.

**Acknowledgments:** This study was conducted with the support of the Secretary of Universities and Research of the Department of Business and Knowledge at the *Generalitat de Catalunya*. We would like to thank the sta ff at the Technical and Support Area of *Gerència Territorial de la Catalunya Central* for their assistance during the data collection phase.

**Conflicts of Interest:** The authors declare no conflict of interest.
