## Appendix A Clinical Pathways and Performance of 2017-2018 Models  
This Appendix presents details the data made available for this work, namely the distribution of examples per clinical pathway (Table A1, along with the performance results per pathway for 2 years models (Table A2).  
\begin{table}
\begin{tabular}{l c c c c c c c} \hline \hline  & \multicolumn{2}{c}{**3 Years**} & \multicolumn{2}{c}{**2017**} & \multicolumn{2}{c}{**2018**} & \multicolumn{2}{c}{**2019**} \\ \hline
**Clinical Pathway** & **abs.** & **\%** & **abs.** & **\%** & **abs.** & **\%** & **abs.** & **\%** \\ \hline
**Cough** & 275,291 & 10.68 & 62,986 & 9.22 & 89,707 & 10.43 & 122,598 & 11.86 \\
**Nausea and vomiting problem** & 191,716 & 7.44 & 60,116 & 8.80 & 59,289 & 6.89 & 72,311 & 6.99 \\
**Abdominal pain** & 161,461 & 6.26 & 43,430 & 6.36 & 52,612 & 6.12 & 65,419 & 6.33 \\
**Oropharynx problem** & 130,999 & 5.08 & 32,850 & 4.81 & 41,822 & 4.86 & 56,327 & 5.45 \\
**Rash** & 125,142 & 4.86 & 35,691 & 5.22 & 41,695 & 4.85 & 47,756 & 4.62 \\
**Flu syndrome** & 109,880 & 4.26 & 24,486 & 3.58 & 43,567 & 5.07 & 41,827 & 4.04 \\
**Diarrhea** & 98,092 & 3.81 & 30,020 & 4.39 & 30,870 & 3.59 & 37,202 & 3.60 \\
**Urinary problem** & 91,910 & 3.57 & 23,457 & 3.43 & 30,696 & 3.57 & 37,757 & 3.65 \\
**Body temperature change problem** & 90,630 & 3.52 & 25,335 & 3.71 & 30,931 & 3.60 & 34,364 & 3.32 \\
**Chest pain** & 87,098 & 3.38 & 22,587 & 3.31 & 29,118 & 3.39 & 35,393 & 3.42 \\ \hline
**Migrain** & 85,846 & 3.33 & 22,799 & 3.34 & 28,008 & 3.26 & 35,039 & 3.39 \\
**Eye problem** & 68,546 & 2.66 & 18,272 & 2.67 & 23,313 & 2.71 & 26,961 & 2.61 \\
**Ear problem** & 66,928 & 2.60 & 18,322 & 2.68 & 22,058 & 2.56 & 26,548 & 2.57 \\
**Pregnancy problem, puerperimum** & 57,781 & 2.24 & 15,932 & 2.33 & 19,942 & 2.32 & 21,907 & 2.12 \\
**Dizziness problem** & 53,564 & 2.08 & 10,848 & 1.59 & 19,306 & 2.24 & 23,410 & 2.26 \\
**Face problem** & 52,851 & 2.05 & 14,356 & 2.10 & 17,555 & 2.04 & 20,940 & 2.03 \\
**Skin integrity problem** & 52,327 & 2.03 & 13,396 & 1.96 & 17,689 & 2.06 & 21,242 & 2.05 \\
**Women’s health problem** & 51,568 & 2.00 & 13,635 & 2.00 & 17,251 & 2.01 & 20,682 & 2.00 \\
**Head and neck problem** & 50,916 & 1.98 & 13,844 & 2.03 & 17,142 & 1.99 & 19,930 & 1.93 \\
**Nasal problem** & 49,464 & 1.92 & 12,430 & 1.82 & 16,572 & 1.93 & 20,462 & 1.98 \\
**Nonspecific problem** & 48,585 & 1.88 & 16,876 & 2.47 & 14,881 & 1.73 & 16,828 & 1.63 \\ \hline \hline \end{tabular}
\end{table}
Table A1: Total and per year clinical pathway distribution.  
\begin{table}
\begin{tabular}{l c c c c c c c} \hline \hline  & \multicolumn{3}{c}{**SVM**} & \multicolumn{3}{c}{**CNN**} \\ \hline
**Clinical Pathway** & **Prec** & **Rec** & **F1** & **Prec** & **Rec** & **F1** & **Sup** \\ \hline Cough & 0.818 & 0.835 & 0.826 & 0.843 & 0.829 & 0.836 & 122,598 \\ Nausea and vomiting problem & 0.779 & 0.831 & 0.804 & 0.803 & 0.864 & 0.832 & 72,311 \\ Abdominal pain & 0.771 & 0.781 & 0.776 & 0.807 & 0.807 & 0.807 & 65,419 \\ Oropharynx problem & 0.769 & 0.712 & 0.740 & 0.793 & 0.741 & 0.766 & 56,327 \\ Rash & 0.875 & 0.906 & 0.890 & 0.888 & 0.897 & 0.892 & 47,756 \\ Flu syndrome & 0.586 & 0.634 & 0.609 & 0.562 & 0.663 & 0.608 & 41,827 \\ Diarrhea & 0.842 & 0.780 & 0.810 & 0.846 & 0.826 & 0.836 & 37,202 \\ Urinary problem & 0.897 & 0.873 & 0.885 & 0.897 & 0.880 & 0.888 & 37,757 \\ Body temperature change problem & 0.730 & 0.764 & 0.747 & 0.742 & 0.762 & 0.752 & 34,364 \\ Chest pain & 0.836 & 0.836 & 0.836 & 0.847 & 0.853 & 0.850 & 35,393 \\ \hline Migrain & 0.735 & 0.761 & 0.748 & 0.801 & 0.796 & 0.798 & 35,039 \\ Eye problem & 0.916 & 0.922 & 0.919 & 0.929 & 0.932 & 0.931 & 26,961 \\ Ear problem & 0.889 & 0.844 & 0.866 & 0.905 & 0.867 & 0.886 & 26,548 \\ Dizziness problem & 0.728 & 0.727 & 0.727 & 0.777 & 0.807 & 0.791 & 23,410 \\ \hline \hline \end{tabular}
\end{table}
Table 2: Performance values (precision, recall and F1) for the 2017–2018 SVM and CNN models.