{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"institution":[{"name":"medRxiv"}],"indexed":{"date-parts":[[2026,10,8]],"date-time":"2026-10-08T19:14:02Z","timestamp":1791486842092,"version":"4.3.4"},"posted":{"date-parts":[[2026,10,5]]},"group-title":"Allergy and Immunology","reference-count":23,"publisher":"openRxiv","license":[{"start":{"date-parts":[[2026,10,5]],"date-time":"2026-10-05T00:00:00Z","timestamp":1791158400000},"content-version":"vor","delay-in-days":0,"URL":"http:\/\/creativecommons.org\/licenses\/by-nc-nd\/4.0\/"}],"funder":[{"award":["R01 AI153827"],"award-info":[{"award-number":["R01 AI153827"]}],"id":[{"id":"https:\/\/ror.org\/043z4tv69","id-type":"ROR","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"accepted":{"date-parts":[[2026,10,5]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                <jats:sec>\n                  <jats:title>Background<\/jats:title>\n                  <jats:p>Common variable immunodeficiency is frequently underrecognized due to its heterogeneous clinical presentation, resulting in diagnostic delays that increase disease-related complications, with each year of delay increasing mortality risk by 4% for the most common inborn error of immunity.<\/jats:p>\n                <\/jats:sec>\n                <jats:sec>\n                  <jats:title>Objective<\/jats:title>\n                  <jats:p>In individuals with established common variable immunodeficiency, we sought to recognize patterns in patient diagnostic trajectories to identify opportunities for interventions to reduce time to diagnosis.<\/jats:p>\n                <\/jats:sec>\n                <jats:sec>\n                  <jats:title>Methods<\/jats:title>\n                  <jats:p>We analyzed retrospective electronic health records data from 139 individuals with physician-confirmed common variable immunodeficiency across five academic health systems representing &gt;10million patients. We evaluated diagnosing specialties and international classification of disease code trajectories in the two years prior to and at common variable immunodeficiency confirmation. Additionally, we construct specialty-specific prediction on a 1:50 case: control cohort using a gradient boosting algorithm.<\/jats:p>\n                <\/jats:sec>\n                <jats:sec>\n                  <jats:title>Results<\/jats:title>\n                  <jats:p>\n                    The leading diagnoses at common variable immunodeficiency determination were respiratory (35% of individuals), and individuals with respiratory symptoms were more likely to be diagnosed by Allergy \/ Immunology than by other specialties (odds ratio 2.9, standard error 0.35, p-value 1.9x10\n                    <jats:sup>-<\/jats:sup>\n                    <jats:sup>3<\/jats:sup>\n                    ) and had a higher frequency of visits to pulmonary disease in the two years prior to diagnosis. Individuals with neoplasms were 50% more likely than other patients (OR 2.0, SE 0.29, p-value 0.02) to receive a diagnosis at each visit, reducing their diagnostic delay by up to a year. We find that a larger ratio of number of specialties visited to the total number of visits is significantly correlated with an increased time to diagnosis. A trajectory-informed specialty-specific prediction improved detection with an area under the precision-recall curve of fifty times the value expected under the null.\n                  <\/jats:p>\n                <\/jats:sec>\n                <jats:sec>\n                  <jats:title>Conclusions<\/jats:title>\n                  <jats:p>Individuals referred to Allergy \/ Immunology have shorter time to diagnosis, and a specialty-specific prediction could improve detection of common variable immunodeficiency.<\/jats:p>\n                <\/jats:sec>\n                <jats:sec>\n                  <jats:title>Clinical Implications<\/jats:title>\n                  <jats:p>Overall, we find that phenotype-specialty interactions may inform targeted interventions to improve common variable immunodeficiency recognition across specialties, reducing diagnostic odyssey and disease-related complications.<\/jats:p>\n                <\/jats:sec>\n                <jats:sec>\n                  <jats:title>Capsule Summary<\/jats:title>\n                  <jats:p>Specialty-specific symptom patterns and patient trajectories preceding common variable immunodeficiency diagnosis reveal opportunities for earlier recognition through context-aware electronic health record\u2013based prediction.<\/jats:p>\n                <\/jats:sec>","DOI":"10.64898\/2026.10.01.26364525","type":"posted-content","created":{"date-parts":[[2026,10,5]],"date-time":"2026-10-05T16:35:11Z","timestamp":1791218111000},"source":"Crossref","is-referenced-by-count":0,"title":["Patient Trajectories from Electronic Health Records Suggest Specialty Specific Warning Signs for Common Variable Immunodeficiency"],"prefix":"10.64898","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-6498-7727","authenticated-orcid":false,"given":"Rachel","family":"Mester","sequence":"first","affiliation":[{"name":"Department of Computational Medicine, University of California, Los Angeles, Los Angeles, California, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Aaron T.","family":"Chin","sequence":"additional","affiliation":[{"name":"Division of Immunology, Allergy, and Rheumatology, Department of Pediatrics, University of California, Los Angeles, Los Angeles, California, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Veronica","family":"Tozzo","sequence":"additional","affiliation":[{"name":"Department of Computational Medicine, University of California, Los Angeles, Los Angeles, California, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Alexis V.","family":"Stephens","sequence":"additional","affiliation":[{"name":"Department of Human Genetics, University of California, Los Angeles, Los Angeles, California, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hal M.","family":"Hoffman","sequence":"additional","affiliation":[{"name":"Division of Pediatric Allergy, Immunology, and Rheumatology, University of California, San Diego, La Jolla, California, USA"},{"name":"Rady Children\u2019s Health, San Diego, California, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Marc A.","family":"Reidl","sequence":"additional","affiliation":[{"name":"Division of Pediatric Allergy, Immunology, and Rheumatology, University of California, San Diego, La Jolla, California, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Morna J.","family":"Dorsey","sequence":"additional","affiliation":[{"name":"Division of Allergy, Immunology and Bone Marrow Transplantation, Department of Pediatrics, University of California San Francisco, San Francisco, California, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sudhir","family":"Gupta","sequence":"additional","affiliation":[{"name":"Division of Basic and Clinical Immunology, Department of Medicine, University of California Irvine, Irvine, California, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yesim Y.","family":"Demirdag","sequence":"additional","affiliation":[{"name":"Division of Basic and Clinical Immunology, Department of Medicine, University of California Irvine, Irvine, California, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sriram","family":"Sankararaman","sequence":"additional","affiliation":[{"name":"Department of Computational Medicine, University of California, Los Angeles, Los Angeles, California, USA"},{"name":"Department of Human Genetics, University of California, Los Angeles, Los Angeles, California, USA"},{"name":"Department of Computer Science, University of California, Los Angeles, Los Angeles, California, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Lisa","family":"Bastarache","sequence":"additional","affiliation":[{"name":"Department of Biomedical Informatics, Vanderbilt University Medical Center, Nashville, Tennessee, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Bogdan","family":"Pasaniuc","sequence":"additional","affiliation":[{"name":"Department of Genetics, University of Pennsylvania, Philadelphia, Pennsylvania, USA"},{"name":"Department of Computer and Information Sciences, University of Pennsylvania, Philadelphia, Pennsylvania, USA"},{"name":"Department of Biostatistics, Epidemiology, and Informatics, University of Pennsylvania, Philadelphia, Pennsylvania, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4490-5595","authenticated-orcid":false,"given":"Manish J.","family":"Butte","sequence":"additional","affiliation":[{"name":"Division of Immunology, Allergy, and Rheumatology, Department of Pediatrics, University of California, Los Angeles, Los Angeles, California, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"54368","reference":[{"issue":"1","key":"2026100811150984000_2026.10.01.26364525v1.1","first-page":"301","article-title":"The many faces of common variable immunodeficiency","volume":"2012","year":"2012","journal-title":"Hematology 2010, the American Society of Hematology Education Program Book"},{"issue":"18","key":"2026100811150984000_2026.10.01.26364525v1.2","doi-asserted-by":"crossref","first-page":"3942","DOI":"10.12998\/wjcc.v8.i18.3942","article-title":"From infections to autoimmunity: diagnostic challenges in common variable immunodeficiency","volume":"8","year":"2020","journal-title":"World Journal of Clinical Cases"},{"key":"2026100811150984000_2026.10.01.26364525v1.3","doi-asserted-by":"crossref","unstructured":"Slade CA , Bosco JJ , Binh Giang T , Kruse E , Stirling RG , Cameron PU , Hore-Lacy F , Sutherland MF , Barnes SL , Holdsworth S , Ojaimi S . Delayed diagnosis and complications of predominantly antibody deficiencies in a cohort of Australian adults. Frontiers in immunology. 2018 May 14;9:694.","DOI":"10.3389\/fimmu.2018.00694"},{"issue":"8","key":"2026100811150984000_2026.10.01.26364525v1.4","doi-asserted-by":"crossref","first-page":"2104","DOI":"10.1007\/s10875-023-01590-9","article-title":"Missed Opportunities to Diagnose Common Variable Immunodeficiency: a Population-Based Case\u2013Control Study Identifying Indicator Diseases for Common Variable Immunodeficiency","volume":"43","year":"2023","journal-title":"Journal of Clinical Immunology"},{"key":"2026100811150984000_2026.10.01.26364525v1.5","doi-asserted-by":"crossref","unstructured":"Zi\u0119tkiewicz M , Wi\u0119sik-Szewczyk E , Matyja-Bednarczyk A , Napi\u00f3rkowska-Baran K , Zdrojewski Z , Jahnz-R\u00f3\u017cyk K . Shorter diagnostic delay in polish adult patients with common variable immunodeficiency and symptom onset after 1999. Frontiers in Immunology. 2020 May 27;11:982.","DOI":"10.3389\/fimmu.2020.00982"},{"issue":"1","key":"2026100811150984000_2026.10.01.26364525v1.6","doi-asserted-by":"crossref","first-page":"201","DOI":"10.1186\/s13023-018-0941-0","article-title":"The burden of common variable immunodeficiency disorders: a retrospective analysis of the European Society for Immunodeficiency (ESID) registry data","volume":"13","year":"2018","journal-title":"Orphanet journal of rare diseases"},{"key":"2026100811150984000_2026.10.01.26364525v1.7","doi-asserted-by":"crossref","unstructured":"Caba\u00f1ero-Navalon MD , Garcia-Bustos V , Nu\u00f1ez-Beltran M , C\u00edscar Fern\u00e1ndez P , Mateu L , Solanich X , Carrillo-Linares JL , Robles-Marhuenda A , Puchades-Gimeno F , Pelaez Ballesta A , Lopez-Osle N . Current clinical spectrum of common variable immunodeficiency in Spain: The multicentric nationwide GTEM-SEMI-CVID registry. Frontiers in immunology. 2022 Oct 28;13:1033666.","DOI":"10.3389\/fimmu.2022.1033666"},{"issue":"7","key":"2026100811150984000_2026.10.01.26364525v1.8","doi-asserted-by":"crossref","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","year":"2019","journal-title":"Journal of Clinical Immunology"},{"issue":"1","key":"2026100811150984000_2026.10.01.26364525v1.9","doi-asserted-by":"crossref","first-page":"904","DOI":"10.1186\/s12913-023-09886-7","article-title":"Rare diseases: why is a rapid referral to an expert center so important?","volume":"23","year":"2023","journal-title":"BMC Health Services Research"},{"issue":"5","key":"2026100811150984000_2026.10.01.26364525v1.10","first-page":"427","article-title":"Prevalence of health problems and primary care physicians\u2019 specialty referral decisions","volume":"50","year":"2001","journal-title":"Journal of family practice"},{"key":"2026100811150984000_2026.10.01.26364525v1.11","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1016\/j.clim.2017.03.011","article-title":"Delay in diagnosis affects the clinical outcome in a cohort of CVID patients with marked reduction of IgA serum levels","volume":"180","year":"2017","journal-title":"Clinical Immunology"},{"issue":"2","key":"2026100811150984000_2026.10.01.26364525v1.12","first-page":"100407","article-title":"Diagnostic disparities in inborn errors of immunity: from clinical suspicion to diagnosis","volume":"4","year":"2025","journal-title":"Journal of Allergy and Clinical Immunology: Global"},{"issue":"1","key":"2026100811150984000_2026.10.01.26364525v1.13","first-page":"43","article-title":"The impact of physician education and public awareness on early diagnosis of primary immunodeficiencies: Robert A. Good Immunology Symposium","volume":"38","year":"2007","journal-title":"Immunologic Research"},{"issue":"3","key":"2026100811150984000_2026.10.01.26364525v1.14","doi-asserted-by":"crossref","first-page":"272","DOI":"10.1016\/j.aller.2014.09.002","article-title":"Doctors\u2019 awareness concerning primary immunodeficiencies in Brazil","volume":"43","year":"2015","journal-title":"Allergologia et Immunopathologia"},{"issue":"1","key":"2026100811150984000_2026.10.01.26364525v1.15","doi-asserted-by":"crossref","first-page":"45","DOI":"10.1080\/25785826.2022.2137966","article-title":"Physician awareness and understanding of primary immunodeficiency disorders: a web-based study in Japan","volume":"46","year":"2023","journal-title":"Immunological Medicine"},{"issue":"5","key":"2026100811150984000_2026.10.01.26364525v1.16","doi-asserted-by":"crossref","first-page":"e0233342","DOI":"10.1371\/journal.pone.0233342","article-title":"Evaluation of awareness about primary immunodeficiencies among physicians before and after implementation of the educational program: A longitudinal study","volume":"15","year":"2020","journal-title":"PLoS One"},{"issue":"745","key":"2026100811150984000_2026.10.01.26364525v1.17","doi-asserted-by":"crossref","first-page":"eade4510","DOI":"10.1126\/scitranslmed.ade4510","article-title":"Electronic health record signatures identify undiagnosed patients with common variable immunodeficiency disease","volume":"16","year":"2024","journal-title":"Science translational medicine"},{"key":"2026100811150984000_2026.10.01.26364525v1.18","unstructured":"Center for Data-Driven Insights and Innovation. (2024). University of California Health Data Warehouse (UCHDW) [Data asset]. University of California Health. Version current as of March 2026."},{"key":"2026100811150984000_2026.10.01.26364525v1.19","unstructured":"Reinecke I , Zoch M , Reich C , Sedlmayr M , Bathelt F . The usage of OHDSI OMOP\u2013a scoping review. German Medical Data Sciences 2021: Digital Medicine: Recognize\u2013Understand\u2013Heal: Proceedings of the Joint Conference of the 66th Annual Meeting of the German Association of Medical Informatics, Biometry, and Epidemiology eV and the 13th Annual Meeting of the TMF\u2013 Technology, Methods, and Infrastructure for Networked Medical Research eV 2021 online in Kiel, Germany 2021 Sep 21 (pp. 95\u2013103). 1 Oliver\u2019s Yard, 55 City Road, London, EC1Y 1SP: SAGE Publications Pvt. Ltd."},{"issue":"4","key":"2026100811150984000_2026.10.01.26364525v1.20","doi-asserted-by":"crossref","first-page":"e14325","DOI":"10.2196\/14325","article-title":"Mapping ICD-10 and ICD-10-CM codes to phecodes: workflow development and initial evaluation","volume":"7","year":"2019","journal-title":"JMIR medical informatics"},{"key":"2026100811150984000_2026.10.01.26364525v1.21","doi-asserted-by":"publisher","DOI":"10.1038\/nbt.2749"},{"issue":"40","key":"2026100811150984000_2026.10.01.26364525v1.22","doi-asserted-by":"crossref","first-page":"1317","DOI":"10.21105\/joss.01317","article-title":"lifelines: survival analysis in Python","volume":"4","year":"2019","journal-title":"Journal of Open Source Software"},{"issue":"1","key":"2026100811150984000_2026.10.01.26364525v1.23","doi-asserted-by":"crossref","first-page":"56","DOI":"10.1038\/s42256-019-0138-9","article-title":"From local explanations to global understanding with explainable AI for trees","volume":"2","year":"2020","journal-title":"Nature machine intelligence"}],"container-title":[],"original-title":[],"link":[{"URL":"https:\/\/syndication.highwire.org\/content\/doi\/10.64898\/2026.10.01.26364525","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,10,8]],"date-time":"2026-10-08T18:15:22Z","timestamp":1791483322000},"score":1,"resource":{"primary":{"URL":"http:\/\/medrxiv.org\/lookup\/doi\/10.64898\/2026.10.01.26364525"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,10,5]]},"references-count":23,"URL":"https:\/\/doi.org\/10.64898\/2026.10.01.26364525","relation":{},"subject":[],"published":{"date-parts":[[2026,10,5]]},"subtype":"preprint"}}