Related Experiment Video
Updated: Jun 6, 2025

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
Large Language Models to Identify Advance Care Planning in Patients With Advanced Cancer
Nicole D Agaronnik1, Joshua Davis2, Christopher R Manz3
1Harvard Medical School (N.A., C.M., J.T., C.L.), Boston, Massachusetts, USA; Dana-Farber Cancer Institute (N.A., C.M., J.T., C.L.), Boston, Massachusetts, USA.
Context:
Efficiently tracking Advance Care Planning (ACP) documentation in electronic heath records (EHRs) is essential for quality improvement and research efforts. The use of large language models (LLMs) offers a novel approach to this task.
Objectives:
To evaluate the ability of LLMs to identify ACP in EHRs for patients with advanced cancer and compare performance to gold-standard manual chart review and natural language processing (NLP).
Methods:
EHRs from patients with advanced cancer followed at seven Dana Farber Cancer Center (DFCI) clinics in June 2024. We utilized GPT-4o-2024-05-13 within DFCI's HIPAA-secure digital infrastructure. We designed LLM prompts to identify ACP domains: goals of care, limitation of life-sustaining treatment, hospice, and palliative care. We developed a novel hallucination index to measure production of factually-incorrect evidence by the LLM. Performance was compared to gold-standard manual chart review and NLP.
Results:
60 unique patients associated with 528 notes were used to construct the gold-standard data set. LLM prompts had sensitivity ranging from 0.85 to 1.0, specificity ranging from 0.80 to 0.91, and accuracy ranging from 0.81 to 0.91 across domains. The LLM had better sensitivity than NLP for identifying complex topics such as goals of care. Average hallucination index for notes identified by LLM was less than 0.5, indicating a low probability of hallucination. Despite lower precision compared to NLP, false positive documentation identified by LLMs was clinically-relevant and useful for guiding management.
Conclusion:
LLMs can capture ACP domains from EHRs, with sensitivity exceeding NLP methods for complex domains such as goals of care. Future studies should explore approaches for scaling this methodology.
More Related Videos
06:28E-Patient Counseling Trial E-PACO: Computer Based Education versus Nurse Counseling for Patients to Prepare for Colonoscopy
Published on: August 1, 2019
06:03Integrating Augmented Reality Tools in Breast Cancer Related Lymphedema Prognostication and Diagnosis
Published on: February 6, 2020
Related Concept Videos
Cancer Survival Analysis
Standards of Care II
Methods of Documentation VI: Case Management Model
For example, a patient with a chronic...
Documentation in Long-Term and Home Healthcare Setting
Long-Term Care Facilities
Nursing Ethical Principles II
Consider the following scenario, which illustrates how these principles are applied in the care of Mr. John, a fifty-year-old teacher diagnosed with metastatic liver cancer.
Initially, Mr. John's...
Planning Nursing Care I