{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,4]],"date-time":"2026-08-04T14:49:42Z","timestamp":1785854982413,"version":"3.56.0"},"reference-count":20,"publisher":"JMIR Publications Inc.","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["JMIR Med Inform"],"abstract":"<jats:sec>\n                    <jats:title>Background<\/jats:title>\n                    <jats:p>Congestive heart failure (CHF) is a common cause of hospital admissions. Medical records contain valuable information about CHF, but manual chart review is time-consuming. Claims databases (using International Classification of Diseases [ICD] codes) provide a scalable alternative but are less accurate. Automated analysis of medical records through natural language processing (NLP) enables more efficient adjudication but has not yet been validated across multiple sites.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Objective<\/jats:title>\n                    <jats:p>We seek to accurately classify the diagnosis of CHF based on structured and unstructured data from each patient, including medications, ICD codes, and information extracted through NLP of notes left by providers, by comparing the effectiveness of several machine learning models.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Methods<\/jats:title>\n                    <jats:p>We developed an NLP model to identify CHF from medical records using electronic health records (EHRs) from two hospitals (Mass General Hospital and Beth Israel Deaconess Medical Center; from 2010 to 2023), with 2800 clinical visit notes from 1821 patients. We trained and compared the performance of logistic regression, random forests, and RoBERTa models. We measured model performance using area under the receiver operating characteristic curve (AUROC) and area under the precision-recall curve (AUPRC). These models were also externally validated by training the data on one hospital sample and testing on the other, and an overall estimated error was calculated using a completely random sample from both hospitals.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Results<\/jats:title>\n                    <jats:p>The average age of the patients was 66.7 (SD 17.2) years; 978 (54.3%) out of 1821 patients were female. The logistic regression model achieved the best performance using a combination of ICD codes, medications, and notes, with an AUROC of 0.968 (95% CI 0.940-0.982) and an AUPRC of 0.921 (95% CI 0.835-0.969). The models that only used ICD codes or medications had lower performance. The estimated overall error rate in a random EHR sample was 1.6%. The model also showed high external validity from training on Mass General Hospital data and testing on Beth Israel Deaconess Medical Center data (AUROC 0.927, 95% CI 0.908-0.944) and vice versa (AUROC 0.968, 95% CI 0.957-0.976).<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Conclusions<\/jats:title>\n                    <jats:p>The proposed EHR-based phenotyping model for CHF achieved excellent performance, external validity, and generalization across two institutions. The model enables multiple downstream uses, paving the way for large-scale studies of CHF treatment effectiveness, comorbidities, outcomes, and mechanisms.<\/jats:p>\n                  <\/jats:sec>","DOI":"10.2196\/64113","type":"journal-article","created":{"date-parts":[[2024,11,17]],"date-time":"2024-11-17T08:43:17Z","timestamp":1731832997000},"page":"e64113","source":"Crossref","is-referenced-by-count":0,"title":["Identification of Patients With Congestive Heart Failure From the Electronic Health Records of Two Hospitals: Retrospective Study"],"prefix":"10.2196","volume":"13","author":[{"ORCID":"https:\/\/orcid.org\/0009-0009-4994-0558","authenticated-orcid":false,"given":"Daniel","family":"Sumsion","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0005-1821-5944","authenticated-orcid":false,"given":"Elijah","family":"Davis","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7203-2832","authenticated-orcid":false,"given":"Marta","family":"Fernandes","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1771-542X","authenticated-orcid":false,"given":"Ruoqi","family":"Wei","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0003-0923-6765","authenticated-orcid":false,"given":"Rebecca","family":"Milde","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0000-5141-9934","authenticated-orcid":false,"given":"Jet Malou","family":"Veltink","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0553-9577","authenticated-orcid":false,"given":"Wan-Yee","family":"Kong","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0002-6857-4927","authenticated-orcid":false,"given":"Yiwen","family":"Xiong","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0001-7136-3760","authenticated-orcid":false,"given":"Samvrit","family":"Rao","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0004-4795-2612","authenticated-orcid":false,"given":"Tara","family":"Westover","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-4491-2948","authenticated-orcid":false,"given":"Lydia","family":"Petersen","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-4806-578X","authenticated-orcid":false,"given":"Niels","family":"Turley","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0005-4370-3077","authenticated-orcid":false,"given":"Arjun","family":"Singh","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9912-063X","authenticated-orcid":false,"given":"Stephanie","family":"Buss","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5677-6954","authenticated-orcid":false,"given":"Shibani","family":"Mukerji","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5252-5376","authenticated-orcid":false,"given":"Sahar","family":"Zafar","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9486-6811","authenticated-orcid":false,"given":"Sudeshna","family":"Das","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5735-9143","authenticated-orcid":false,"given":"Valdery Moura","family":"Junior","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0004-8488-3644","authenticated-orcid":false,"given":"Manohar","family":"Ghanta","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5243-368X","authenticated-orcid":false,"given":"Aditya","family":"Gupta","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3072-6198","authenticated-orcid":false,"given":"Jennifer","family":"Kim","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2797-3171","authenticated-orcid":false,"given":"Katie","family":"Stone","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-6928-5310","authenticated-orcid":false,"given":"Emmanuel","family":"Mignot","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4070-1640","authenticated-orcid":false,"given":"Dennis","family":"Hwang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2329-6847","authenticated-orcid":false,"given":"Lynn Marie","family":"Trotti","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5709-201X","authenticated-orcid":false,"given":"Gari D","family":"Clifford","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0002-1810-4134","authenticated-orcid":false,"given":"Umakanth","family":"Katwa","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5575-3953","authenticated-orcid":false,"given":"Robert","family":"Thomas","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4803-312X","authenticated-orcid":false,"given":"M Brandon","family":"Westover","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5041-8312","authenticated-orcid":false,"given":"Haoqi","family":"Sun","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1010","published-online":{"date-parts":[[2025,4,10]]},"reference":[{"issue":"20","key":"ref1","doi-asserted-by":"crossref","first-page":"1883","DOI":"10.1056\/NEJMoa1915928","volume":"382","author":"Armstrong, PW","year":"2020","journal-title":"N Engl J Med"},{"key":"ref2","unstructured":"Leading causes of deathCenters for Disease Control and Prevention20242025-02-27https:\/\/www.cdc.gov\/nchs\/fastats\/leading-causes-of-death.htm"},{"key":"ref3","unstructured":"Congestive heart failure symptoms and diagnosisBrigham and Women's Hospital2024-02-20https:\/\/www.brighamandwomens.org\/heart-and-vascular-center\/resources\/congestive-heart-failure"},{"key":"ref4","unstructured":"Heart disease prevalence - health, United StatesCenters for Disease Control and Prevention2024852025-02-27https:\/\/www.cdc.gov\/nchs\/hus\/topics\/heart-disease-prevalence.htm"},{"key":"ref5","unstructured":"Common tests for heart failureAmerican Heart Association20232025-02-27https:\/\/www.heart.org\/en\/health-topics\/heart-failure\/diagnosing-heart-failure\/common-tests-for-heart-failure"},{"key":"ref6","doi-asserted-by":"publisher","DOI":"10.7326\/0003-4819-109-1-55"},{"key":"ref7","doi-asserted-by":"publisher","DOI":"10.1016\/j.jchf.2022.11.017"},{"key":"ref8","doi-asserted-by":"publisher","DOI":"10.1016\/j.jbi.2014.07.007"},{"key":"ref9","doi-asserted-by":"publisher","DOI":"10.1038\/s41746-022-00614-9"},{"key":"ref10","doi-asserted-by":"publisher","DOI":"10.1137\/1.9781611974348.49"},{"key":"ref11","doi-asserted-by":"publisher","DOI":"10.1001\/jamacardio.2023.4859"},{"key":"ref12","doi-asserted-by":"publisher","DOI":"10.1038\/s41746-022-00590-0"},{"key":"ref13","author":"Minaee, S","journal-title":"arXiv"},{"key":"ref14","doi-asserted-by":"publisher","DOI":"10.2196\/48995"},{"key":"ref15","doi-asserted-by":"publisher","DOI":"10.1016\/s0022-4405(98)00005-3"},{"key":"ref16","unstructured":"SumsionDdsumsio \/ CHF_phenotypingGitHub20242025-02-27https:\/\/github.com\/dsumsio\/CHF_phenotyping"},{"key":"ref17","unstructured":"Heart failure - diagnosis and treatmentMayo Clinic20242024-02-20https:\/\/www.mayoclinic.org\/diseases-conditions\/heart-failure\/diagnosis-treatment\/drc-20373148"},{"key":"ref18","doi-asserted-by":"publisher","DOI":"10.1126\/scitranslmed.abb1655"},{"key":"ref19","unstructured":"BreimanLRandom forestsUC Berkeley200112025-02-27https:\/\/www.stat.berkeley.edu\/~breiman\/randomforest2001.pdf"},{"key":"ref20","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.1907.11692"}],"container-title":["JMIR Medical Informatics"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/medinform.jmir.org\/2025\/1\/e64113","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,4]],"date-time":"2026-08-04T13:56:58Z","timestamp":1785851818000},"score":1,"resource":{"primary":{"URL":"https:\/\/medinform.jmir.org\/2025\/1\/e64113"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,4,10]]},"references-count":20,"URL":"https:\/\/doi.org\/10.2196\/64113","relation":{"has-preprint":[{"id-type":"doi","id":"10.2196\/preprints.64113","asserted-by":"object"}]},"ISSN":["2291-9694"],"issn-type":[{"value":"2291-9694","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,4,10]]}}}