1. The UCSF Health Problem
Advanced care planning (ACP) is a process that allows patients to name a surrogate decision-maker and to discuss and document their preferences for medical care.1,2 Centers for Medicare and Medicaid Services (CMS) and other national organizations recommend ACP, and it is an important quality metric often tied to reimbursement.2 When ACP information in the electronic health record (EHR) cannot be found during a medical crisis, patients often receive care that is not aligned with their goals, which is widely recognized as an important patient safety issue.3,4
To improve ACP documentation, with our team’s guidance, UCSF adopted “clinically meaningful” ACP as a quality metric, which includes both documented discussions and legal forms (e.g., advance directives). UCSF has also created and adopted an “.ACP” SmartPhrase and ACP note title that, along with ACP documents, are “pulled into” a central location in the EHR for easy clinician retrieval.
However, threats to patient safety and adherence to patients’ goals of care abound, particularly in inpatient medicine and surgical settings.5,6 At UCSF, both inpatient and outpatient clinicians and ACP leaders have spent many hours, year after year, attempting to educate clinicians about using the .ACP SmartPhrase and the ACP note titles to pull this information into the central ACP location in the EHR. With frequent trainee and inpatient clinician turnover, despite ongoing education, clinician use of these documentation innovations is low (e.g., < 5% in surgery). As our team has shown, important ACP information is often buried in clinical notes and ignored during medical crises.3,7 While semi-automated natural language processing (NLP) can be used to manually search for a list of known ACP terms in the EHR, this manual abstraction is time-consuming, resource-intensive, and not practical during a medical crisis.
Given national guidelines for ACP, quality metrics tied to reimbursements, clinician burden of documentation, and the need to honor patients’ medical wishes, it is imperative to be able to efficiently gather ACP-related information into a central usable location. Artificial Intelligence (AI) and large language models (LLM) have tremendous promise to identify all documented goals of care conversations in the medical record and ensure this critical information is available to all clinicians in a central ACP location in the EHR. We propose that an AI model would run autonomously in the background without the need for additional clinician or staff support.
2. How Might AI Help?
Generative AI and large language models (LLMs) can transform the identification of goals of care documentation in the EHR by identifying unstructured clinical data. Our AI solution will analyze EHR data, including all inpatient and outpatient notes, to identify documented ACP discussions by any provider type, including clinicians, social workers, nurses, nurse practitioners, chaplains, and healthcare navigators. The AI tool will function as an assistive technology to find ACP information that clinicians can use at the bedside to help patients and families make medical decisions. The AI and LLM solution will increase the number of listed documented goals of care conversations in the central ACP activity in APeX, decrease the time required per chart to complete surveillance that would otherwise require NLP and manual chart review, and decrease clinician burden in finding and documenting ACP information. Importantly, automating this process has the potential to improve patient safety by ensuring that patients’ stated wishes for medical care are honored and respected. This initiative will improve care for patients across clinical disciplines and across inpatient and outpatient care and will be scalable in multiple other care settings.
3. How Would an End-User Find and Use It?
The AI tool will be designed to run automatically in the background on a daily basis. When documented goals of care conversations are identified in the EHR, they will be added to the established central ACP location in the EHR. The goals of care information will then be made available to clinicians without the need for NLP search queries or manual chart review. In addition, as the model improves over time, it will obviate the need for ongoing clinician education to use the .ACP SmartPhrase and ACP note titles when documenting goals of care.
4. Example of AI Output
Using UCSF Versa with the prompt: “Pull wording from notes related to advance care planning verbatim.”
Discussed with XXXX regarding XXXX’s code status and XXXX would not like to pursue heroic measures should he have a cardiac arrest, ie. Prefers XXXX to be DNR/DNI. XXXX worries that given his already poor baseline quality of life, an event like that may make this worse for him, and it may not be in his best interest to pursue full life measures. XXXX is yet to fill a POLST form but will do so soon.
Surrogate decision maker: XXXX (Conservator)
Life sustaining treatment preferences (i.e. Code): DNR/DNI
5. What Are the Risks of AI Errors?
AI-based identification may introduce risks such as false negatives, false positives, and AI hallucinations. False negatives could lead to a lack of identification of ACP documentation in medical notes, impacting patient safety and quality metric compliance. However, any improvement over the current state, in which most of ACP information in notes is being missed, has the potential to improve patient safety. False positives may result in non-ACP information being included in the EHR central activity (e.g., “noise”). However, because ACP information is so crucial in a medical crisis, it is generally agreed that false positives are preferable to false negatives as this documentation can be quickly screened by clinicians if it is readily accessible in a central location. Through prompt engineering, we will ask Versa to generate notes verbatim to lessen the risk of hallucinations, but we will continue to check for and refine the model.
To mitigate these risks, the model will undergo rigorous validation to ensure reliability and clinical utility: (a) retrospective validation – the AI models will be developed and then validated against historical goals of care notes with .ACP SmartPhrases as the gold standard; (b) among 1000 patients over 6 months we will conduct a prospective validation through manual chart review of clinical notes; (c) qualitative patient queries (n=20) about the accuracy of ACP documentation (i.e., 10 patients on the medical and 10 on the surgical inpatient services representing the average self-reported race/ethnicity background of UCSF inpatients; 10 White (50%), 4 Asian (20%), 3 Black (15%), and 3 Hispanic/Latinx (15%) patients); and (d) clinician feedback. We will continually monitor and manually validate the model to correct for bias and refine it to ensure accuracy.
6. How Will We Measure Success?
We will follow a cohort of hospitalized patients, 65 years of age and older, admitted to the inpatient medical and surgical services over 6 months. Success will be measured by:
- The increase in documented goals of care discussions in the central ACP EHR activity 6 months after applying the AI/LLM tool compared to a demographically matched comparison cohort 6 months prior to applying the tool
- Using chart review:
- The positive predictive value and negative predictive value of AI-generated ACP documentation
- The time saved using the AI/LLM tool compared to using NLP ACP term queries and manual chart review
- Qualitative analysis of potential bias of ACP documentation across demographic and clinical subgroups
- A survey of 20 patients (i.e., 10 medicine and 10 surgical inpatients) to query whether goals of care documentation in the EHR is aligned with their preferences
- A survey of 20 inpatient clinicians (10 medicine and 10 surgical clinicians) about their satisfaction (5-point Likert scale) with documenting, finding, and using ACP information in the inpatient setting with open-ended questions on how to improve
7. Describe Your Qualifications and Commitment
This project is co-led by Rebecca Sudore, MD (Division of Geriatrics) and Elizabeth Wick, MD (Colorectal Surgery), and includes Logan Pierce, MD (Hospital Medicine). This interdisciplinary team comprises ACP experts, surgery and hospital medicine clinicians, and an informaticist with a proven successful track record of improving ACP workflows at UCSF. Currently, this team holds a large, multi-center NIH Pragmatic Trial Collaboratory project to test patient-facing, automated ACP EMR interventions. The current proposal builds on their successful collaboration and the glaring need they have identified to improve ACP documentation, decrease clinician burden, and improve patient safety. Please see the letter of support provided by our clinical and operational partners, Drs. Michelle Mourad and Molly Cantor.
Rebecca Sudore, MD, is a geriatrician, palliative medicine physician, implementation scientist, Professor of Medicine at UCSF, and co-director of the Vulnerable Aging Research Core of the NIH-funded Pepper Center. Her research focuses on aging, health literacy, and developing and testing tools to facilitate ACP, particularly for historically marginalized older adults. Dr. Sudore has created ACP interventions and clinical workflows, including automated EHR-based patient interventions, that have been tested in randomized trials.8-10 In close collaboration with Population Health and Primary Care Strategies, these automated workflows have been adopted by UCSF Health. She will provide leadership in ACP documentation and measurement and ensure the project aligns with the priorities of UCSF Population Health, the inpatient ACP team (please see the letter of support), and national guidelines for ACP.
Elizabeth Wick, MD, is a Professor of Surgery and Vice Chair for Quality and Safety in the Department of Surgery at UCSF. She is an expert in surgical quality improvement and has led multiple national initiatives focused on improving surgical outcomes. Dr. Wick has extensive experience with ACP in surgery and has been instrumental in developing strategies to increase ACP documentation at UCSF, along with Dr. Sudore. She will provide leadership in integrating AI solutions into surgical inpatient workflows. Dr. Wick will work closely with Dr. Rochelle Dicker, section chief acute care surgery, UCSF Health, operational leader, to support this project.
Logan Pierce, MD, is board-certified in both clinical informatics and internal medicine. He is the Managing Director of UCSF Data Core, a team of physician data scientists dedicated to utilizing EHR data to improve healthcare outcomes. He has experience using large language models to extract data from clinical text. Dr. Pierce will actively contribute throughout the development lifecycle, ensuring alignment with UCSF Health priorities and participating in regular progress reviews with Health AI and AER teams.
References:
1. Sudore RL, Lum HD, You JJ, et al. Defining Advance Care Planning for Adults: A Consensus Definition From a Multidisciplinary Delphi Panel. J Pain Symptom Manage. May 2017;53(5):821-832 e1. doi:10.1016/j.jpainsymman.2016.12.331
2. Hickman SE, Lum HD, Walling AM, Savoy A, Sudore RL. The care planning umbrella: The evolution of advance care planning. J Am Geriatr Soc. Feb 25 2023;doi:10.1111/jgs.18287
3. Walker E, McMahan R, Barnes D, Katen M, Lamas D, Sudore R. Advance Care Planning Documentation Practices and Accessibility in the Electronic Health Record: Implications for Patient Safety. J Pain Symptom Manage. Feb 2018;55(2):256-264. doi:10.1016/j.jpainsymman.2017.09.018
4. Allison TA, Sudore RL. Disregard of patients' preferences is a medical error: comment on "Failure to engage hospitalized elderly patients and their families in advance care planning". JAMA Intern Med. May 13 2013;173(9):787. doi:10.1001/jamainternmed.2013.203
5. Colley A, Lin J, Pierce L, et al. Experiences with targeting inpatient advance care planning for emergency general surgery patients: A resident-led quality improvement project. Surgery. Oct 2023;174(4):844-850. doi:10.1016/j.surg.2023.04.031
6. Colley A, Lin JA, Pierce L, Finlayson E, Sudore RL, Wick E. Missed Opportunities and Health Disparities for Advance Care Planning Before Elective Surgery in Older Adults. JAMA Surg. Oct 1 2022;157(10):e223687. doi:10.1001/jamasurg.2022.3687
7. McMahan RD, Tellez I, Sudore RL. Deconstructing the Complexities of Advance Care Planning Outcomes: What Do We Know and Where Do We Go? A Scoping Review. J Am Geriatr Soc. Jan 2021;69(1):234-244. doi:10.1111/jgs.16801
8. Sudore RL, Schillinger D, Katen MT, et al. Engaging Diverse English- and Spanish-Speaking Older Adults in Advance Care Planning: The PREPARE Randomized Clinical Trial. JAMA Intern Med. Dec 1 2018;178(12):1616-1625. doi:10.1001/jamainternmed.2018.4657
9. Sudore RL, Walling AM, Gibbs L, Rahimi M, Wenger NS, Team UCHCPS. Implementation Challenges for a Multisite Advance Care Planning Pragmatic Trial: Lessons Learned. J Pain Symptom Manage. Aug 2023;66(2):e265-e273. doi:10.1016/j.jpainsymman.2023.04.022
10. Walling AM, Sudore RL, Bell D, et al. Population-Based Pragmatic Trial of Advance Care Planning in Primary Care in the University of California Health System. J Palliat Med. Sep 2019;22(S1):72-81. doi:10.1089/jpm.2019.0142
Comments
This is an incredibly
This is an incredibly important project, led by a very experienced team in this area. This proposal seeks to improve patient-centered care and ACP documentation with is a must for every patient accessing the healthcare system. It would allow for easier access to information and prevent harm.
Agree! Equally important:
Agree! Equally important: this is the right team to lead this project, particulary in terms of quality assurance and ensuring accuracy of information.
I agree completely! The team
I agree completely! The team has worke together extensively in the past and therefore is well-poised to be succesful and make real change for our patients.
what a great idea.So nice to
what a great idea.So nice to see AI used for something so patient-centered.
Can you say more about the
Can you say more about the potential risk that the tool would misinterpret notes and falsely summarize as "DNR/DNI" when a patient/family has not definitely decided on this approach? That seems like it would be a really bad outcome. The rigorous validation you propose seems like the right next step. Can you provide some information about the power/sample size? With 1000 cases, how precise will your estimates of sensitivity and specificity be? How specific (proportion of patients who are truly NOT DNR/DNI where the tool accurately makes this assessment, versus the really bad outcome above) would be good enough for implementation?
Mark, thanks for your
Mark, thanks for your comments and questions about summarizing and sample size.
First, we will conduct rigorous validation as we describe above. We will also engineer our Versa commands to ensure that the goals of care information will be pulled verbatim from the medical record without summarizing. The example we provided in the proposal was word-for-word, verbatim language documented in the EHR, without summarization. When we pull the information into the EHR central ACP activity in APeX, we will also flag it as AI-generated, provide a link to the actual note and location in the EHR, and alert providers that they should click on that link and review the note before making any clinical decisions or talking to patients or family. The goal is to aggregate all of the documentation across all disciplines in one central location in the EHR listed by the most recent date. This information will not automatically create a DNR/DNI order. Clinicians will still need to write code status orders, but only after confirming any prior EHR documentation.
When thinking about DNR/DNI orders, we agree that both high specificity and high sensitivity are highly important. We consulted with UCSF senior faculty biostatistician, John Boscardin, PhD. Because the Versa commands ask for verbatim text, we expect the sensitivity and specificity to be very high (e.g., 95% or higher). Based on prior research at UCSF and in the literature, the average DNR/DNI rate in hospitalized patients is 15%. Therefore, with an n of 1000 and an expected prevalence of 15%, the associated confidence intervals will be very narrow (+/- 1%) for specificity and for NPV and reasonably narrow (+/- 4%) for sensitivity and +/- 6% for PPV.
Utilizing AI to make the EMR
Utilizing AI to make the EMR more useful regarding the topic of advance care planning is novel and has the potential for positive impact for patients and the health system & clinicians. I would like to see work in this area move forward.
A novel and much needed way
A novel and much needed way to study advance care planning!
i love this idea and agree
i love this idea and agree wrong have to be careful with errors but to study this is fantastic. as a clinicians who has goals conversations ther eis nothing worse than spending time having the conversations only to have them be lost or ignored during key patient transitions.
love the team involved in this also.
"we have to be careful" typo.
"we have to be careful" typo. even better for ai to fix fast typing typos.
What an important project and
What an important project and a novel way to harness AI to improve advance care planning and decision making in serious illness!
What a great idea -- these
What a great idea -- these conversations are often buried in the chart and not easy to find, which leads clinicians to start from scratch when talking about goals of care when others have already started the discussion. This is a practical innovation that will improve patient-centeredness and efficiency - a win-win!
This is a great project and a
This is a great project and a great application of AI to begin to address the problem of needless double data entry and mindless chart searching created by modern EHRs. I think it's a great initial way to to pilot AI, because it's relatively low risk but high reward. The lessons from this project could be invaluable to inform how we use AI to improve the EHR workflow to better serve providers and improve patient care.
This is a great project - I
This is a great project - I wish there were better ways to identify goals from the chart quickly - can help build rapport, patients hate repeating themselves on uncomfortable conversation topics, and help move care forward.
As someone who often gets
As someone who often gets asked these questions about patient wishes, often AFTER the patient can no longer participate in the conversation, I have spent countless hours searching and trying to piece together preferences, or searching for past GoC discussions, or really any hint at what has been dscussed in the past. This is a very important area to address, and as you outline, despite lots of education on entering this info correctly in the chart, deficiencies still abound leading to care not aligned with patient goals and preferences. If AI can hep, this will be a great boon to both patients and their families as well as the clinical teams who are trying so hard to give care consistent with patient wishes. I hope this works!
This is such a great project
This is such a great project that would improve patient care. Utilizing AI to make the EMR more useful for advance care planning is brilliant, and Dr. Sudore and her group are the international experts in this area so they are the perfect people to do this project. I'm highly supportive of this proposal!
Great project! Love the idea
Great project! Love the idea of using AI to help get this needed information front and center for clinicians. Lots of start ups are using AI to improve EHR search functions and getting ahead of this will be super important to make sure ACP information is lidentified and accurate.
This is a promising and
This is a promising and timely proposal from a team with deep understanding of the benefits and challenges of advance care planning documentation. Leveraging AI to improve this vital work of ACP documentation directly supports patient-centered care. The team’s deep expertise, combined with a thoughtful validation plan, makes this proposal both feasible and impactful. I’m especially encouraged by the potential to use AI capabilities to ensure patients’ wishes are honored across settings, a goal we all share.
Important work that aligns
Important work that aligns with patient autonomy and leverages AI to elucidate and highlight ACP discussions that are already happening into a structured, shareable location. I believe that the AI summary will prompt further appropriate clinically meaningful discussions with patients to confirm / alter the AI summary which is another opportunity to document conversations in the ACP tool
Using AI in the setting of an
Using AI in the setting of an already advanced EHR seems like an excellent place to improve patient care. As we move further with AI we need to know how and when to use this tool and this project highlights a space that AI could be useful. I support this propopsal and look forward to seeing how AI can help our busy ACS team provide care.
Love this idea and the
Love this idea and the experienced team who is leading it - very much in support of it!
Would be curious to learn: (1) how more nunaced content such as a pt's values, belief systems, prior experiences, etc that inform ACP discussions would be captured by this approach, which are often the rich nitty-gritty details buried in notes often not labeled as "GOCs" or "ACP"; (2) the vision of how this would address one of the current APEX ACP Navigator's primary limitations of including copied/pasted content as discrete notes requiring further manual review (ie: would AI provide what it thinks is the latest "summary" assessment to date of what it's detected, in addition to a list of pertinent notes, vs something else?).
Great questions Andrew!
Great questions Andrew! Thanks. This AI solution would pull all documented information about ACP from the clinical record, from any provider (chaplain, social worker, primary care physician, surgeon, etc) into the central location in APeX verbatim and listed by date (most recent first). In this way, there is no need for manual chart review. All of the information can be reviewed in one location, including a review of how patients' wishes and goals may have changed over time. As is with all goals of care documentation, clinicians must review this information with patients and/or their surrogate decision maker to ensure their wishes remain the same. However, the information would be at the clinician's fingertips and would provide what we call "anchors" or a framework for the next clinician to pick up the baton and take advanced care planning conversations to the next level.