{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,31]],"date-time":"2026-08-31T14:14:26Z","timestamp":1788185666569,"version":"build-2803163510"},"reference-count":22,"publisher":"Rockefeller University Press","issue":"6","license":[{"start":{"date-parts":[[2026,8,31]],"date-time":"2026-08-31T00:00:00Z","timestamp":1788134400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100000002","name":"National Institutes of Health","doi-asserted-by":"publisher","award":["1R01AI153827"],"award-info":[{"award-number":["1R01AI153827"]}],"id":[{"id":"10.13039\/100000002","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000060","name":"National Institute of Allergy and Infectious Diseases","doi-asserted-by":"publisher","id":[{"id":"10.13039\/100000060","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["rupress.org"],"crossmark-restriction":true},"short-container-title":[],"published-print":{"date-parts":[[2026,11,2]]},"abstract":"<jats:p>Recurrent sinopulmonary infections are a hallmark of common variable immunodeficiency (CVID), yet electronic health records (EHR) struggle to distinguish multiple discrete infections from a single infection comprising multiple clinic visits. Using diagnosis codes and antibiotic prescriptions, we developed a temporal windowing methodology that groups related sinusitis encounters into episodes based on timing and antibiotic escalation patterns. We applied this approach to 79 CVID patients, 224 rituximab-treated patients with hypogammaglobulinemia, and 2,994 matched controls. Immunodeficient patients had more frequent sinusitis episodes and greater episode burden than controls. Windowed episode features, when combined with infection PheCodes, yielded the best-performing Ridge regression classifiers in both the CVID-only (AUC-ROC 0.787) and pooled CVID\/RTX (AUC-ROC 0.724) models, outperforming PheCodes combined with simple encounter counts and PheCodes alone. In a held-out cohort of five patients with pre-diagnosis sinusitis data, the classifier correctly flagged 4 of 5 as high-risk. Quantifying recurrence and refractoriness of infections through temporal windowing improves EHR-based phenotyping of immunodeficiency.<\/jats:p>","DOI":"10.70962\/jhi.20260047","type":"journal-article","created":{"date-parts":[[2026,8,12]],"date-time":"2026-08-12T06:21:33Z","timestamp":1786515693000},"update-policy":"https:\/\/doi.org\/10.70962\/jhi.crossmarkpolicy","source":"Crossref","is-referenced-by-count":0,"title":["Temporal windowing of recurrent sinusitis improves EHR-based immunodeficiency classification"],"prefix":"10.70962","volume":"2","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-9490-6580","authenticated-orcid":true,"given":"Aaron T.","family":"Chin","sequence":"first","affiliation":[{"id":[{"id":"https:\/\/ror.org\/046rm7j60","id-type":"ROR","asserted-by":"publisher"}],"name":"University of California, Los Angeles 1 Division of Immunology, Allergy and Rheumatology, Department of Pediatrics, , Los Angeles, CA,","place":["USA"]},{"id":[{"id":"https:\/\/ror.org\/046rm7j60","id-type":"ROR","asserted-by":"publisher"}],"name":"UCLA Health Information Technology, UCLA Health, University of California, Los Angeles 2 , Los Angeles, CA,","place":["USA"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-6498-7727","authenticated-orcid":true,"given":"Rachel","family":"Mester","sequence":"additional","affiliation":[{"id":[{"id":"https:\/\/ror.org\/046rm7j60","id-type":"ROR","asserted-by":"publisher"}],"name":"University of California, Los Angeles 3 Department of Computer Science, , Los Angeles, CA,","place":["USA"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8538-9198","authenticated-orcid":true,"given":"Veronica","family":"Tozzo","sequence":"additional","affiliation":[{"id":[{"id":"https:\/\/ror.org\/046rm7j60","id-type":"ROR","asserted-by":"publisher"}],"name":"University of California, Los Angeles 3 Department of Computer Science, , Los Angeles, CA,","place":["USA"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5979-6838","authenticated-orcid":true,"given":"Alexis V.","family":"Stephens","sequence":"additional","affiliation":[{"id":[{"id":"https:\/\/ror.org\/046rm7j60","id-type":"ROR","asserted-by":"publisher"}],"name":"University of California, Los Angeles 1 Division of Immunology, Allergy and Rheumatology, Department of Pediatrics, , Los Angeles, CA,","place":["USA"]},{"id":[{"id":"https:\/\/ror.org\/046rm7j60","id-type":"ROR","asserted-by":"publisher"}],"name":"University of California, Los Angeles 4 Department of Human Genetics, , Los Angeles, CA,","place":["USA"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3020-447X","authenticated-orcid":true,"given":"Lisa A.","family":"Bastarache","sequence":"additional","affiliation":[{"id":[{"id":"https:\/\/ror.org\/05dq2gs74","id-type":"ROR","asserted-by":"publisher"}],"name":"Vanderbilt University Medical Center 5 Department of Biomedical Informatics, , Nashville, TN,","place":["USA"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0227-2056","authenticated-orcid":true,"given":"Bogdan","family":"Pasaniuc","sequence":"additional","affiliation":[{"id":[{"id":"https:\/\/ror.org\/00b30xv10","id-type":"ROR","asserted-by":"publisher"}],"name":"University of Pennsylvania 6 Department of Genetics, , Philadelphia, PA,","place":["USA"]},{"id":[{"id":"https:\/\/ror.org\/00b30xv10","id-type":"ROR","asserted-by":"publisher"}],"name":"Institute of Biomedical Informatics, University of Pennsylvania 7 , Philadelphia, PA,","place":["USA"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4490-5595","authenticated-orcid":true,"given":"Manish J.","family":"Butte","sequence":"additional","affiliation":[{"id":[{"id":"https:\/\/ror.org\/046rm7j60","id-type":"ROR","asserted-by":"publisher"}],"name":"University of California, Los Angeles 1 Division of Immunology, Allergy and Rheumatology, Department of Pediatrics, , Los Angeles, CA,","place":["USA"]},{"id":[{"id":"https:\/\/ror.org\/046rm7j60","id-type":"ROR","asserted-by":"publisher"}],"name":"University of California, Los Angeles 4 Department of Human Genetics, , Los Angeles, CA,","place":["USA"]},{"id":[{"id":"https:\/\/ror.org\/046rm7j60","id-type":"ROR","asserted-by":"publisher"}],"name":"University of California, Los Angeles 8 Department of Microbiology, Immunology, and Molecular Genetics, , Los Angeles, CA,","place":["USA"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"291","published-online":{"date-parts":[[2026,8,31]]},"reference":[{"key":"2026083109210795000_bib1","doi-asserted-by":"publisher","first-page":"352","DOI":"10.1111\/cei.13595","article-title":"Bronchiectasis is associated with delayed diagnosis and adverse outcomes in the New Zealand Common Variable Immunodeficiency Disorders cohort study","volume":"204","author":"Ameratunga","year":"2021","journal-title":"Clin. Exp. Immunol."},{"key":"2026083109210795000_bib2","doi-asserted-by":"publisher","first-page":"678","DOI":"10.1007\/s10875-019-00674-9","article-title":"30-year review of pediatric- and adult-onset CVID: Clinical correlates and prognostic indicators","volume":"39","author":"Baloh","year":"2019","journal-title":"J. Clin. Immunol."},{"key":"2026083109210795000_bib3","doi-asserted-by":"publisher","first-page":"38","DOI":"10.1016\/j.jaip.2015.07.025","article-title":"International Consensus Document (ICON): Common variable immunodeficiency disorders","volume":"4","author":"Bonilla","year":"2016","journal-title":"J. Allergy Clin. Immunol. Pract."},{"key":"2026083109210795000_bib4","doi-asserted-by":"publisher","first-page":"1272912","DOI":"10.3389\/fgene.2023.1272912","article-title":"Genetics and clinical phenotypes in common variable immunodeficiency","volume":"14","author":"Cunningham-Rundles","year":"2024","journal-title":"Front. Genet."},{"key":"2026083109210795000_bib5","doi-asserted-by":"publisher","first-page":"641","DOI":"10.1007\/s10875-019-00666-9","article-title":"How to identify common variable immunodeficiency patients earlier: General practice patterns","volume":"39","author":"Ilkj\u00e6r","year":"2019","journal-title":"J. Clin. Immunol."},{"key":"2026083109210795000_bib6","doi-asserted-by":"publisher","first-page":"620709","DOI":"10.3389\/fimmu.2021.620709","article-title":"Lessons learned from the clinical presentation of common variable immunodeficiency disorders: A systematic review and meta-analysis","volume":"12","author":"Janssen","year":"2021","journal-title":"Front. Immunol."},{"key":"2026083109210795000_bib7","doi-asserted-by":"publisher","first-page":"186","DOI":"10.1016\/j.jaci.2025.02.032","article-title":"A predictive model for identification of pediatric individuals with common variable immunodeficiency through electronic medical records","volume":"156","author":"Alsaati","year":"2025","journal-title":"J. Allergy Clin. Immunol."},{"key":"2026083109210795000_bib8","doi-asserted-by":"publisher","first-page":"233","DOI":"10.1016\/j.iac.2019.12.003","article-title":"Primary immunodeficiency and rhinosinusitis","volume":"40","author":"Huwyler","year":"2020","journal-title":"Immunol. Allergy Clin. North Am."},{"key":"2026083109210795000_bib9","doi-asserted-by":"publisher","DOI":"10.1126\/scitranslmed.ade4510","article-title":"Electronic health record signatures identify undiagnosed patients with common variable immunodeficiency disease","volume":"16","author":"Johnson","year":"2024","journal-title":"Sci. Transl. Med."},{"key":"2026083109210795000_bib10","doi-asserted-by":"publisher","first-page":"S1","DOI":"10.1002\/ohn.1344","article-title":"Clinical practice guideline: Adult sinusitis update","volume":"173","author":"Payne","year":"2025","journal-title":"Otolaryngol. Head Neck Surg."},{"key":"2026083109210795000_bib11","doi-asserted-by":"publisher","first-page":"5","DOI":"10.1186\/1742-7622-7-5","article-title":"Sampling strategies to measure the prevalence of common recurrent infections in longitudinal studies","volume":"7","author":"Schmidt","year":"2010","journal-title":"Emerg. Themes Epidemiol."},{"key":"2026083109210795000_bib12","doi-asserted-by":"publisher","DOI":"10.1001\/jamanetworkopen.2020.7750","article-title":"Assessment of the accuracy of using ICD-9 diagnosis codes to identify pneumonia etiology in patients hospitalized with pneumonia","volume":"3","author":"Higgins","year":"2020","journal-title":"JAMA Netw. Open"},{"key":"2026083109210795000_bib13","doi-asserted-by":"publisher","first-page":"140","DOI":"10.2500\/ajra.2014.28.4012","article-title":"Accuracy of phenotyping chronic rhinosinusitis in the electronic health record","volume":"28","author":"Hsu","year":"2014","journal-title":"Am. J. Rhinol. Allergy"},{"key":"2026083109210795000_bib14","doi-asserted-by":"publisher","first-page":"2050312120986733","DOI":"10.1177\/2050312120986733","article-title":"Clinical complications in patients with primary and recurrent Clostridioides difficile infection: A real-world data analysis","volume":"9","author":"Feuerstadt","year":"2021","journal-title":"SAGE Open Med."},{"key":"2026083109210795000_bib15","doi-asserted-by":"publisher","first-page":"566","DOI":"10.1093\/pubmed\/fdp040","article-title":"Using encounters versus episodes in syndromic surveillance","volume":"31","author":"Jung","year":"2009","journal-title":"J. Public Health (Oxf)"},{"key":"2026083109210795000_bib16","doi-asserted-by":"publisher","first-page":"116992","DOI":"10.1016\/j.diagmicrobio.2025.116992","article-title":"Prognosis, risk factors and prediction modeling of recurrent Pseudomonas aeruginosa infections","volume":"113","author":"Luo","year":"2025","journal-title":"Diagn. Microbiol. Infect. Dis."},{"key":"2026083109210795000_bib17","doi-asserted-by":"publisher","first-page":"e20","DOI":"10.1093\/jamia\/ocv130","article-title":"Combining billing codes, clinical notes, and medications from electronic health records provides superior phenotyping performance","volume":"23","author":"Wei","year":"2016","journal-title":"J. Am. Med. Inform. Assoc."},{"key":"2026083109210795000_bib18","doi-asserted-by":"publisher","first-page":"e147","DOI":"10.1136\/amiajnl-2012-000896","article-title":"Validation of electronic medical record-based phenotyping algorithms: Results and lessons learned from the eMERGE network","volume":"20","author":"Newton","year":"2013","journal-title":"J. Am. Med. Inform. Assoc."},{"key":"2026083109210795000_bib19","doi-asserted-by":"publisher","DOI":"10.1001\/jamanetworkopen.2018.4169","article-title":"Association of immunoglobulin levels, infectious risk, and mortality with rituximab and hypogammaglobulinemia","volume":"1","author":"Barmettler","year":"2018","journal-title":"JAMA Network Open"},{"key":"2026083109210795000_bib20","doi-asserted-by":"publisher","first-page":"100224","DOI":"10.1016\/j.jacig.2024.100224","article-title":"Natural language processing of clinical notes enables early inborn error of immunity risk ascertainment","volume":"3","author":"Roberts","year":"2024","journal-title":"J. Allergy Clin. Immunol. Glob."},{"key":"2026083109210795000_bib21","doi-asserted-by":"publisher","first-page":"5634","DOI":"10.3390\/ijerph17134872","article-title":"Cluster-based analysis of infectious disease occurrences using tensor decomposition: A case study of South Korea","volume":"13","author":"Jung","year":"2020","journal-title":"Int. J. Environ. Res. Public Health"},{"key":"2026083109210795000_bib22","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1146\/annurev-biodatasci-122320-112352","article-title":"Using PheCodes for research with the electronic health record: From PheWAS to PheRS","volume":"4","author":"Bastarache","year":"2021","journal-title":"Annu. Rev. Biomed. Data Sci."}],"container-title":["Journal of Human Immunity"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/rupress.org\/jhi\/article-pdf\/doi\/10.70962\/jhi.20260047\/2040443\/jhi_20260047.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/rupress.org\/jhi\/article-pdf\/doi\/10.70962\/jhi.20260047\/2040443\/jhi_20260047.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,31]],"date-time":"2026-08-31T13:21:12Z","timestamp":1788182472000},"score":1,"resource":{"primary":{"URL":"https:\/\/rupress.org\/jhi\/article\/2\/6\/e20260047\/282989\/Temporal-windowing-of-recurrent-sinusitis-improves"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,8,31]]},"references-count":22,"journal-issue":{"issue":"6","published-print":{"date-parts":[[2026,11,2]]}},"URL":"https:\/\/doi.org\/10.70962\/jhi.20260047","relation":{},"ISSN":["3065-8993"],"issn-type":[{"value":"3065-8993","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,8,31]]},"article-number":"e20260047"}}