A, Topic attention heatmap showing, in predicting 2-year mortality at the time stamp of the last note event, the contribution of selected 20 predictive topics from prior 50 note events. B, The topic numbers and their top 10 probable words. BUN indicates blood urea nitrogen; CHF, congestive heart failure; Cre, creatinine; DNI, do not intubate; DNR, do not resuscitate; Glu, glucose; Hct, hematocrit; Hgb, hemoglobin; ICMP, intensive care management program; Plt, platelet; PRN, prescription as needed; SNF, skilled nursing facility; VNA, Visiting Nurse Association; and WBC, white blood count.