{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,29]],"date-time":"2026-09-29T08:42:57Z","timestamp":1790671377920,"version":"4.1.0"},"reference-count":33,"publisher":"Wiley","issue":"2","license":[{"start":{"date-parts":[[2025,4,25]],"date-time":"2025-04-25T00:00:00Z","timestamp":1745539200000},"content-version":"vor","delay-in-days":0,"URL":"http:\/\/creativecommons.org\/licenses\/by-nc-nd\/4.0\/"}],"content-domain":{"domain":["onlinelibrary.wiley.com"],"crossmark-restriction":true},"short-container-title":["Annals of Neurology"],"published-print":{"date-parts":[[2025,8]]},"abstract":"<jats:sec><jats:title>Objective<\/jats:title><jats:p>Neuroimaging is routinely utilized to identify new inflammatory activity in multiple sclerosis (MS). A large language model to classify narrative magnetic resonance imaging reports in the electronic health record (EHR) as discrete data could provide significant benefits for MS research. The objectives of the current study were to develop such a prompt and to illustrate its research applications through a common clinical scenario: monitoring response to B\u2010cell depleting therapy (BCDT).<\/jats:p><\/jats:sec><jats:sec><jats:title>Methods<\/jats:title><jats:p>An institutional ecosystem that securely connects healthcare data with ChatGPT4 was applied to clinical MS magnetic resonance imaging reports in a single institutional EHR (2000\u20132022). A prompt (msLesionprompt) was developed and iteratively refined to classify the presence or absence of new T2\u2010weighted lesions (newT2w) and contrast\u2010enhancing lesions (CEL). The multistep validation included evaluating efficiency (time and cost), comparison with manually annotated reports using standard confusion matrix, and application to identifying predictors of newT2w\/CEL after BCDT start.<\/jats:p><\/jats:sec><jats:sec><jats:title>Results<\/jats:title><jats:p>Accuracy of msLesionprompt was high for detection of newT2w (97%) and CEL (96.8%). All 14,888 available reports were categorized in 4.13\u2009hours ($28); 79% showed no newT2w or CEL. Data extracted showed expected suppression of new activity by BCDT (&gt;97% monitoring magnetic resonance images after an initial \u201crebaseline\u201d scan). Neighborhood poverty (Area Deprivation Index) was identified as a predictor of inflammatory activity (newT2w: OR 1.69, 95% CI 1.10\u20132.59, <jats:italic>p<\/jats:italic>\u2009=\u20090.017; CEL: OR 1.54, 95% CI 1.01\u20132.34, <jats:italic>p<\/jats:italic>\u2009=\u20090.046).<\/jats:p><\/jats:sec><jats:sec><jats:title>Interpretation<\/jats:title><jats:p>Extracting discrete information from narrative imaging reports using an large language model is feasible and efficient. This approach could augment many real\u2010world analyses of MS disease evolution and treatment response. ANN NEUROL 2025;98:308\u2013316<\/jats:p><\/jats:sec>","DOI":"10.1002\/ana.27251","type":"journal-article","created":{"date-parts":[[2025,4,25]],"date-time":"2025-04-25T09:03:33Z","timestamp":1745571813000},"page":"308-316","update-policy":"https:\/\/doi.org\/10.1002\/crossmark_policy","source":"Crossref","is-referenced-by-count":11,"title":["Detecting New Lesions Using a Large Language Model: Applications in Real\u2010World Multiple Sclerosis Datasets"],"prefix":"10.1002","volume":"98","author":[{"given":"Shane","family":"Poole","sequence":"first","affiliation":[{"name":"UCSF Weill Institute for Neurosciences University of California San Francisco  San Francisco CA USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0006-7270-595X","authenticated-orcid":false,"given":"Nikki","family":"Sisodia","sequence":"additional","affiliation":[{"name":"UCSF Weill Institute for Neurosciences University of California San Francisco  San Francisco CA USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Kanishka","family":"Koshal","sequence":"additional","affiliation":[{"name":"UCSF Weill Institute for Neurosciences University of California San Francisco  San Francisco CA USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Kyra","family":"Henderson","sequence":"additional","affiliation":[{"name":"UCSF Weill Institute for Neurosciences University of California San Francisco  San Francisco CA USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jaeleene","family":"Wijangco","sequence":"additional","affiliation":[{"name":"UCSF Weill Institute for Neurosciences University of California San Francisco  San Francisco CA USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Danelvis","family":"Paredes","sequence":"additional","affiliation":[{"name":"UCSF Weill Institute for Neurosciences University of California San Francisco  San Francisco CA USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chelsea","family":"Chen","sequence":"additional","affiliation":[{"name":"UCSF Weill Institute for Neurosciences University of California San Francisco  San Francisco CA USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"William","family":"Rowles","sequence":"additional","affiliation":[{"name":"UCSF Weill Institute for Neurosciences University of California San Francisco  San Francisco CA USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Amit","family":"Akula","sequence":"additional","affiliation":[{"name":"UCSF Weill Institute for Neurosciences University of California San Francisco  San Francisco CA USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jens","family":"Wuerfel","sequence":"additional","affiliation":[{"name":"F. Hoffmann\u2010La Roche  Basel Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Vishakha","family":"Sharma","sequence":"additional","affiliation":[{"name":"F. Hoffmann\u2010La Roche  Basel Switzerland"},{"name":"Roche Diagnostics  Santa Clara USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"name":"UCSF Multiple Sclerosis and Neuroinflammation Center clinicians","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Andreas M.","family":"Rauschecker","sequence":"additional","affiliation":[{"name":"UCSF Center for Intelligent Imaging (ci2), Department of Radiology &amp; Biomedical imaging University of California  San Francisco CA USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8232-7562","authenticated-orcid":false,"given":"Roland G.","family":"Henry","sequence":"additional","affiliation":[{"name":"UCSF Weill Institute for Neurosciences University of California San Francisco  San Francisco CA USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Riley","family":"Bove","sequence":"additional","affiliation":[{"name":"UCSF Weill Institute for Neurosciences University of California San Francisco  San Francisco CA USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"311","published-online":{"date-parts":[[2025,4,25]]},"reference":[{"key":"e_1_2_9_2_1","doi-asserted-by":"publisher","DOI":"10.1136\/bmjopen-2023-080558"},{"key":"e_1_2_9_3_1","doi-asserted-by":"publisher","DOI":"10.1056\/AIdbp2300110"},{"key":"e_1_2_9_4_1","doi-asserted-by":"publisher","DOI":"10.1177\/13524585241277376"},{"key":"e_1_2_9_5_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00415-024-12328-x"},{"key":"e_1_2_9_6_1","doi-asserted-by":"publisher","DOI":"10.1177\/20552173221108635"},{"key":"e_1_2_9_7_1","doi-asserted-by":"publisher","DOI":"10.1038\/s41746-023-00940-6"},{"key":"e_1_2_9_8_1","doi-asserted-by":"publisher","DOI":"10.1186\/s41747-024-00547-w"},{"key":"e_1_2_9_9_1","doi-asserted-by":"publisher","DOI":"10.1056\/NEJMoa1601277"},{"key":"e_1_2_9_10_1","doi-asserted-by":"publisher","DOI":"10.1056\/NEJMoa2201904"},{"key":"e_1_2_9_11_1","doi-asserted-by":"publisher","DOI":"10.1056\/NEJMoa1917246"},{"key":"e_1_2_9_12_1","doi-asserted-by":"publisher","DOI":"10.1056\/NEJMoa0706383"},{"key":"e_1_2_9_13_1","doi-asserted-by":"publisher","DOI":"10.1177\/13524585231188486"},{"key":"e_1_2_9_14_1","doi-asserted-by":"publisher","DOI":"10.1212\/NXI.0000000000000505"},{"key":"e_1_2_9_15_1","doi-asserted-by":"publisher","DOI":"10.1177\/1352458517747407"},{"key":"e_1_2_9_16_1","doi-asserted-by":"publisher","DOI":"10.1053\/j.gastro.2023.12.019"},{"key":"e_1_2_9_17_1","unstructured":"Microsoft Available at:https:\/\/learn.microsoft.com\/en-us\/azure\/ai-services\/openai\/concepts\/models?tabs=global-standard%2Cstandard-chat-completions."},{"key":"e_1_2_9_18_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.msard.2020.101970"},{"key":"e_1_2_9_19_1","doi-asserted-by":"publisher","DOI":"10.1212\/NXI.0000000000000959"},{"key":"e_1_2_9_20_1","doi-asserted-by":"publisher","DOI":"10.1212\/NXI.0000000000001183"},{"key":"e_1_2_9_21_1","doi-asserted-by":"publisher","DOI":"10.1212\/WNL.0000000000208100"},{"key":"e_1_2_9_22_1","unstructured":"https:\/\/pypi.org\/project\/uszipcode\/#about-the-data."},{"key":"e_1_2_9_23_1","unstructured":"https:\/\/pypi.org\/project\/census\/."},{"key":"e_1_2_9_24_1","doi-asserted-by":"publisher","DOI":"10.1038\/s41588-018-0313-7"},{"key":"e_1_2_9_25_1","doi-asserted-by":"publisher","DOI":"10.1212\/wnl.33.11.1444"},{"key":"e_1_2_9_26_1","unstructured":"JMP\u00ae Version PRO 17.[computer program]. Cary NC.: SAS Institute Inc. 1989\u20102024."},{"key":"e_1_2_9_27_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.fas.2024.01.008"},{"key":"e_1_2_9_28_1","doi-asserted-by":"publisher","DOI":"10.1148\/radiol.231593"},{"key":"e_1_2_9_29_1","doi-asserted-by":"publisher","DOI":"10.1148\/ryai.230364"},{"key":"e_1_2_9_30_1","doi-asserted-by":"publisher","DOI":"10.1097\/CIN.0000000000000952"},{"key":"e_1_2_9_31_1","doi-asserted-by":"publisher","DOI":"10.2196\/45312"},{"key":"e_1_2_9_32_1","doi-asserted-by":"publisher","DOI":"10.1001\/jamaneurol.2021.3416"},{"key":"e_1_2_9_33_1","doi-asserted-by":"publisher","DOI":"10.1038\/s41582-022-00735-5"},{"key":"e_1_2_9_34_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.msard.2022.103994"}],"container-title":["Annals of Neurology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/onlinelibrary.wiley.com\/doi\/pdf\/10.1002\/ana.27251","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,7,21]],"date-time":"2025-07-21T09:13:35Z","timestamp":1753089215000},"score":1,"resource":{"primary":{"URL":"https:\/\/onlinelibrary.wiley.com\/doi\/10.1002\/ana.27251"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,4,25]]},"references-count":33,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2025,8]]}},"alternative-id":["10.1002\/ana.27251"],"URL":"https:\/\/doi.org\/10.1002\/ana.27251","archive":["Portico"],"relation":{},"ISSN":["0364-5134","1531-8249"],"issn-type":[{"value":"0364-5134","type":"print"},{"value":"1531-8249","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,4,25]]},"assertion":[{"value":"2025-01-20","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-04-03","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-04-25","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}