Fig. 3From: Natural language processing and network analysis in patients withdrawing from life-sustaining treatments: a retrospective cohort studyResearch workflow. We used text mining tools and applied natural language processing to analyze medical records. A document-term matrix was generated for each patient. We separated all patients by the median survival rate (first referral to death) into an early integration group (≥ 22 days) and a late referral group (< 22 days). Based on the grouping results, we compared the word frequency and co-occurrence matricesBack to article page