{
  "abstract": "Purpose\n\nSpiritual 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\n\nWe 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\n\nThe 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\n\nThis 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.",
  "abstract_shown": true,
  "affiliations": [
    "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."
  ],
  "article_type": "research article",
  "arxiv": null,
  "author_total": 8,
  "authors": [
    {
      "affs": [
        0
      ],
      "name": "Kento Masukawa",
      "orcid": "0000-0002-5993-0822"
    },
    {
      "affs": [
        1
      ],
      "name": "Momoe Meguro"
    },
    {
      "affs": [
        1
      ],
      "name": "Erika Aihara"
    },
    {
      "affs": [
        1
      ],
      "name": "Miku Ishida"
    },
    {
      "affs": [
        1
      ],
      "name": "Uta Kondo"
    },
    {
      "affs": [
        2
      ],
      "name": "Ryusuke Inoue"
    },
    {
      "affs": [
        3
      ],
      "name": "Masaharu Nakayama"
    },
    {
      "affs": [
        1
      ],
      "name": "Mitsunori Miyashita"
    }
  ],
  "bibtex": "https://research.draconitic.com/paper/4bhcmmd81443v.bib",
  "cited_by": 0,
  "doi": "10.1007/s00520-026-11416-0",
  "fulltext_url": "https://europepmc.org/articles/PMC13719773",
  "id": "4bhcmmd81443v",
  "issns": [
    "0941-4355",
    "1433-7339"
  ],
  "landing_url": "https://europepmc.org/article/MED/42955097",
  "language": "eng",
  "licence": "CC-BY",
  "licence_label": "CC BY",
  "licence_source": "article",
  "licence_url": "https://creativecommons.org/licenses/by/4.0/",
  "metadata_licence": null,
  "native_subjects": [
    [
      "heading",
      "Research"
    ],
    [
      "openalex",
      "3306|Religion, Spirituality, and Psychology"
    ]
  ],
  "openalex": "W7224618000",
  "pdf_url": "https://europepmc.org/articles/PMC13719773?pdf=render",
  "pmcid": "PMC13719773",
  "pmid": "42955097",
  "published": "2026-10-29",
  "publisher": null,
  "ris": "https://research.draconitic.com/paper/4bhcmmd81443v.ris",
  "sources": [
    {
      "first_seen": "2026-11-01T00:20:36Z",
      "native_id": "MED:42955097",
      "source": "europepmc",
      "url": "https://europepmc.org/article/MED/42955097"
    },
    {
      "first_seen": "2026-11-02T12:23:41Z",
      "native_id": "PMC13719773",
      "source": "pmc",
      "url": "https://doi.org/10.1007/s00520-026-11416-0"
    }
  ],
  "subjects": [
    {
      "field": "medicine",
      "origin": "journal-openalex:F27",
      "subfield": "general"
    }
  ],
  "title": "Detecting spiritual pain in electronic medical records using large language models.",
  "title_text": "Detecting spiritual pain in electronic medical records using large language models.",
  "type": "peer-reviewed",
  "updated_at": "2026-11-03T12:20:46Z",
  "url": "https://research.draconitic.com/paper/4bhcmmd81443v",
  "venue": "Supportive care in cancer : official journal of the Multinational Association of Supportive Care in Cancer",
  "versions": []
}