APPLYING MACHINE LEARNING TO ELECTRONIC HEALTH RECORDS: A STUDY ON TWO ADVERSE EVENTS (2021)