Also, some of the hospital stays do not have discharge summaries; following previous studies for automated coding, we only consider those that do (Perotte et al., 2013; Baumel et al., 2018;<cite> Mullenbach et al., 2018</cite>; Wang et al., 2018) .