of the analysis, and if the forms were more similar, 
we  could  group  the  forms  and  analyze 
simultaneously.  Also,  for  the  SINAN  form,  the 
presence  of  an  anonymous  identifier  would  help 
distinguish the profile of the individual after the first 
attempt. In addition, we were not able to distinguish 
the  different  specializations  of  the  healthcare 
professionals,  such  as  psychiatrists  from  general 
physicians,  or  the  teams  present  at  the  different 
facilities,  which  could  improve  the  models' 
performance and point to more direct improvements. 
Lastly, underreporting plays a crucial role, especially 
in smaller regions, where suicide is more stigmatized. 
6  CONCLUSIONS AND 
PERSPECTIVES 
In  this  study,  we  focused  on  extracting  and 
interpreting  patterns  from  suicide  completion  and 
reattempt rates in Brazil. This is the first study using 
the  Brazilian  healthcare  infrastructure  to  classify 
rates.  Our  models  achieved  a  high  predictive 
performance  of  up  to  97%  accuracy  in  predicting 
suicide death or reattempt. Compared to other studies, 
we  focused  on  the  environment  in  which  the 
population  is  inserted,  trying  to  use  the  model  in  a 
descriptive manner, to identify and better understand 
the  patterns  arising  from  models’  application.  This 
approach  showed  the  importance  of  Psychosocial 
Care Centers and the number of physicians and nurses 
in  impacting  deaths  and  suicide  reattempts.  Future 
studies could use a similar approach with other city 
infrastructures,  such  as  those  related  to 
industrialization,  employment,  education,  and 
sanitation to decrease these preventable deaths. 
ACKNOWLEDGEMENTS 
We would like to thank CAPES and FAPESC for the 
financial support. 
REFERENCES 
Ahern,  S.,  Burke,  L.-A.,  McElroy,  B.,  Corcoran,  P., 
McMahon, E. M., Keeley, H., Carli, V., Wasserman, C., 
Hoven, C. W., Sarchiapone, M., Apter, A., Balazs, J., 
Banzer, R., Bobes, J., Brunner, R., Cosman, D., Haring, 
C., Kaess, M., Kahn, J.-P., … Wasserman, D. (2018). 
A  cost-effectiveness  analysis  of  school-based  suicide 
prevention programmes. European Child & Adolescent 
Psychiatry,  27(10),  1295–1304.  https://doi.org/ 
10.1007/s00787-018-1120-5 
Ahmedani,  B.  K.,  Simon,  G.  E.,  Stewart,  C.,  Beck,  A., 
Waitzfelder,  B.  E.,  Rossom,  R.,  Lynch,  F.,  Owen-
Smith, A., Hunkeler, E. M., Whiteside, U., Operskalski, 
B.  H.,  Coffey, M.  J., &  Solberg, L.  I. (2014).  Health 
care contacts in the year before suicide death. Journal 
of General Internal Medicine,  29(6),  870–877. 
https://doi.org/10.1007/s11606-014-2767-3 
Choi, J., Cho, S., Ko, I., & Han, S. (2021). Identification of 
risk factors for suicidal ideation and attempt based on 
machine learning algorithms: a longitudinal survey in 
Korea  (2007–2019).  International Journal of 
Environmental Research and Public Health,  18(23), 
12772. https://doi.org/10.3390/ijerph182312772 
Coelho,  F.  C.,  Baron,  B.  C.,  de  Castro  Fonseca,  G.  M., 
Reck, P., & Palumbo, D. (2021). AlertaDengue/PySUS: 
Vaccine.  Zenodo.  https://doi.org/10.5281/zenodo.488 
3502 
Gao, K., Wu, R., Wang, Z., Ren, M., Kemp, D. E., Chan, P. 
K.,  Conroy,  C.  M.,  Serrano, M.  B.,  Ganocy,  S.  J., & 
Calabrese,  J.  R.  (2015).  Disagreement  between  self-
reported and clinician-ascertained suicidal ideation and 
its correlation with depression and anxiety severity in 
patients  with  major  depressive  disorder  or  bipolar 
disorder.  Journal of Psychiatric Research,  60,  117–
124. https://doi.org/10.1016/j.jpsychires.2014.09.011 
Gradus, J. L., Rosellini, A. J., Horváth-Puhó, E., Street, A. 
E., Galatzer-Levy, I., Jiang, T., Lash, T. L., & Sørensen, 
H.  T.  (2020).  Prediction  of  sex-specific  suicide  risk 
using  machine  learning  and  single-payer  health  care 
registry data from Denmark. JAMA Psychiatry, 77(1), 
25. https://doi.org/10.1001/jamapsychiatry.2019.2905 
Jaen-Varas, D., Mari, J. J., Asevedo, E., Borschmann, R., 
Diniz,  E.,  Ziebold,  C.,  &  Gadelha,  A.  (2019).  The 
association  between  adolescent  suicide  rates  and 
socioeconomic  indicators  in  Brazil:  a  10-year 
retrospective  ecological  study.  Brazilian Journal of 
Psychiatry,  41(5),  389–395.  https://doi.org/10.1590/ 
1516-4446-2018-0223 
Johnson,  T.,  Kanjo,  E.,  &  Woodward,  K.  (2023). 
DigitalExposome:  quantifying  impact  of  urban 
environment on wellbeing using sensor fusion and deep 
learning.  Computational Urban Science,  3(1),  14. 
https://doi.org/10.1007/s43762-023-00088-9 
Kinchin, I., & Doran, C. (2018). The cost of youth suicide 
in  Australia.  International Journal of Environmental 
Research and Public Health,  15(4),  672. 
https://doi.org/10.3390/ijerph15040672 
Martínez-Alés,  G.,  Cruz  Rodríguez,  J.  B.,  Lázaro,  P., 
Domingo-Relloso,  A.,  Barrigón,  M.  L.,  Angora,  R., 
Rodríguez-Vega, B., Jiménez-Sola, E., Sánchez-Castro, 
P.,  Román-Mazuecos,  E.,  Villoria,  L.,  Ortega,  A.  J., 
Navío, M., Stanley, B., Rosenheck, R., Baca-García, E., 
&  Bravo-Ortiz, M.  F. (2021).  Cost-effectiveness of  a 
contact intervention  and  a  psychotherapeutic program 
for  post-discharge  suicide  prevention.  The Canadian 
Journal of Psychiatry, 66(8), 737–746. https://doi.org/ 
10.1177/0706743720980135