EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Detecting spiritual pain in electronic medical records using large language models

Kento Masukawa, Momoe Meguro, Erika Aihara, Miku Ishida, Uta Kondo, Ryusuke Inoue, Masaharu Nakayama, Mitsunori Miyashita

Supportive Care in Cancer · 2026-11 · 34 (11)

DOI: 10.1007/s00520-026-11416-0 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Supportive Care in Cancer, online erschienen am 29.10.2026. Verfasst von Kento Masukawa und 7 weiteren Autor:innen. Beteiligte Einrichtung: Department of Palliative Nursing, Health Sciences, Tohoku University Graduate School of Medicine, Sendai, Miyagi, Japan. kento.masukawa.d6@tohoku.ac.…. Hauptthemen laut MEDLINE: Electronic Health Records, Large Language Models, Neoplasms, Spirituality. Die Arbeit nennt 28 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Japan Society for the Promotion of Science.

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Purpose

Spiritual pain is one dimension of total pain in terminally ill patients with cancer. Reducing the burden of assessing spiritual pain in electronic medical records is essential for improving the quality of spiritual care. Large language models may offer a solution. This study explored whether large language models can be used to develop an automatic system for accurately identifying spiritual pain in patients with terminal cancer.

Methods

We used unstructured nursing records from patients with cancer who died in an inpatient palliative care unit at a university hospital in Japan between July and December 2024. A total of 500 records generated within 3 weeks before patients’ death were randomly selected for analysis. Records were labeled for the presence of spiritual pain. Gemini-2.5-flash and Microsoft Copilot, accessible within the Tohoku University network environment, were utilized. Prompts included definitions of spiritual pain and example sentences.

Results

The analyzed records were derived from 109 patients with cancer (57 (52.3%) male; mean age, 70.9 years). Manual review identified spiritual pain in 56 records (11.2%). Sensitivity for Gemini and Copilot was 1.00; specificity was 0.75 and 0.61; positive predictive value was 0.34 and 0.25; and negative predictive value was 1.00 and 1.00, respectively. Error analysis of false positives indicated that the models frequently misclassified decreased physical functions and delirium as spiritual pain.

Conclusion

This study demonstrates that large language models can identify spiritual pain with performance comparable to, or exceeding, that of previous studies utilizing classical natural language processing methods.

Schlagwörter

MeSH-Schlagwörter (MEDLINE)

Electronic Health RecordsLarge Language ModelsNeoplasmsSpiritualityPainHumansAgedFemaleMaleJapanMiddle AgedAged, 80 and overPalliative CareSensitivity and SpecificityNatural Language Processing

Stichwörter der Autor:innen

Electronic medical recordsLarge language modelsNatural language processingSpiritual pain

Autor:innen und Institutionen

  • Department of Palliative Nursing, Health Sciences, Tohoku University Graduate School of Medicine, Sendai, Miyagi, Japan. kento.masukawa.d6@tohoku.ac.jp.
  • Department of Palliative Nursing, Health Sciences, Tohoku University Graduate School of Medicine, Sendai, Miyagi, Japan.
  • Medical Information Technology Center, Tohoku University Hospital, Sendai, Miyagi, Japan.
  • Department of Medical Informatics, Tohoku University Graduate School of Medicine, Sendai, Miyagi, Japan.

Förderung

  • Japan Society for the Promotion of Science

Zitieren

APA

Masukawa, K., Meguro, M., Aihara, E., Ishida, M., Kondo, U., Inoue, R., Nakayama, M., & Miyashita, M. (2026). Detecting spiritual pain in electronic medical records using large language models. Supportive Care in Cancer, 34(11). https://doi.org/10.1007/s00520-026-11416-0

Vancouver

Masukawa K, Meguro M, Aihara E, Ishida M, Kondo U, Inoue R, et al. Detecting spiritual pain in electronic medical records using large language models. Supportive Care in Cancer. 2026;34(11). doi:10.1007/s00520-026-11416-0

BibTeX
@article{Masukawa2026,
  author = {Masukawa, Kento and Meguro, Momoe and Aihara, Erika and Ishida, Miku and Kondo, Uta and Inoue, Ryusuke and Nakayama, Masaharu and Miyashita, Mitsunori},
  title = {Detecting spiritual pain in electronic medical records using large language models},
  journal = {Supportive Care in Cancer},
  year = {2026},
  volume = {34},
  number = {11},
  doi = {10.1007/s00520-026-11416-0}
}
Kostenlos starten →