Introduction
Natural language processing (NLP) of free-text electronic health records (EHRs) presents rich opportunities for measuring outcomes that would otherwise require costly, laborious medical record abstraction.Researchers in the fields of palliative care and serious illness communication have shown interest in using NLPIn this study, we used deep-learning NLP to measure the primary outcome of EHR-documented goals-of-care discussions in a large pragmatic trial of a communication-priming intervention for hospitalized patients.