Applying machine learning to electronic health records : a study on two adverse events - Santos, Henrique Dias Pereira dos (2021)