Yang Hao Yuan, Raghunathan Karthik, Widera Eric, Pantilat Steven Z, Brender Teva, Heintz Timothy A, Espejo Edie, Boscardin John, Mills Hunter, Lee Albert, Berchuck Jacob, Cobert Julien
Department of Epidemiology and Biostatistics, University of California San Francisco, San Francisco, CA, USA.
Department of Anesthesia and Perioperative Care, Duke University, Durham, NC, USA.
Sci Rep. 2025 May 18;15(1):17245. doi: 10.1038/s41598-025-01828-z.
Palliative care is known to improve quality of life in advanced cancer. Natural language processing offers insights to how documentation around palliative care in relation to metastatic cancer has changed. We analyzed inpatient clinical notes using unsupervised language models that learn how words related to metastatic cancer (e.g. "mets", "metastases") and palliative care (e.g. "palliative care", "pal care") appear relationally and change over time. We included any note from adults hospitalized at the University of California, San Francisco system. The primary outcome was how similarly terms related to metastatic cancer and palliative care appeared in notes using a mathematical approach (cosine similarity). We used word2vec to model language numerically as vectors. Relational data between vectors was captured using cosine similarity. We performed linear regression to identify changes in these relationships of terms over time. As a sensitivity analysis, we performed the same analysis per year restricted only to patients with an ICD-9/10 diagnosis code for metastatic cancer. Metastatic cancer and palliative care terms appeared in similar contexts in clinical notes each year, suggesting a close relationship in documentation. However, over time, this relationship weakened, with these terms becoming less commonly used together as measured by cosine similarities. We found similar trends when we retrained models just on patients with a diagnosis code for metastatic cancer. Text in clinical notes offers unique insights into how medical providers document palliative care in patients with advanced malignancies and how these documentation practices evolve over time.
J Pain Symptom Manage. 2022-1
J Pain Symptom Manage. 2025-3
J Clin Oncol. 2024-7-1
J Cancer Res Clin Oncol. 2024-4-12
J Biomed Inform. 2022-9