CBCosmin A. Bejan

Cosmin A. Bejan

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Cosmin A. Bejan has a total of 52 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Improving Methods of Identifying Anaphylaxis for Medical Product Safety Surveillance Using Natural Language Processing and Machine Learning

    by David S Carrell, Susan Gruber, James S Floyd, Maralyssa A Bann, Kara L Cushing-Haugen, Ron L Johnson, Vina Graham, David J Cronkite, Brian L Hazlehurst, Andrew H Felcher, et al.

    We sought to determine whether machine learning and natural language processing (NLP) applied to electronic medical records could improve performance of automated health-care claims-based algorithms to identify anaphylaxis events using data on 516 patients with outpatient, emergency department, or inpatient anaphylaxis diagnosis codes during 2015–2019 in 2 integrated health-care institutions in the Northwest United States. We used one site’s manually reviewed gold-standard outcomes data for model development and the other’s for external validation based on cross-validated area under the receiver operating characteristic curve (AUC), positive predictive value (PPV), and sensitivity. In the development site 154 (64%) of 239 potential events met adjudication criteria for anaphylaxis compared with 180 (65%) of 277 in the validation site. Logistic regression models using only structured claims data achieved a cross-validated AUC of 0.58 (95% CI: 0.54, 0.63). Machine learning improved cross-validated AUC to 0.62 (0.58, 0.66); incorporating NLP-derived covariates further increased cross-validated AUCs to 0.70 (0.66, 0.75) in development and 0.67 (0.63, 0.71) in external validation data. A classification threshold with cross-validated PPV of 79% and cross-validated sensitivity of 66% in development data had cross-validated PPV of 78% and cross-validated sensitivity of 56% in external data. Machine learning and NLP-derived data improved identification of validated anaphylaxis events.


  • Machine Learning Prediction of Kidney Stone Composition Using Electronic Health Record-Derived Features

    by Abin Abraham, Nicholas L. Kavoussi, Wilson Sui, Cosmin Bejan, John A. Capra, Ryan Hsi

    Objectives: To assess the accuracy of machine learning models in predicting kidney stone composition using variables extracted from the electronic health record (EHR). Materials and Methods: We identified kidney stone patients ( n = 1296) with both stone composition and 24-hour (24H) urine testing. We trained machine learning models (XGBoost [XG] and logistic regression [LR]) to predict stone composition using 24H urine data and EHR-derived demographic and comorbidity data. Models predicted either binary (calcium vs noncalcium stone) or multiclass (calcium oxalate, uric acid, hydroxyapatite, or other) stone types. We evaluated performance using area under the receiver operating curve (ROC-AUC) and accuracy and identified predictors for each task. Results: For discriminating binary stone composition, XG outperformed LR with higher accuracy (91% vs 71%) with ROC-AUC of 0.80 for both models. Top predictors used by these models were supersaturations of uric acid and calcium phosphate, and urinary ammonium. For multiclass classification, LR outperformed XG with higher accuracy (0.64 vs 0.56) and ROC-AUC (0.79 vs 0.59), and urine pH had the highest predictive utility. Overall, 24H urine analyte data contributed more to the models' predictions of stone composition than EHR-derived variables. Conclusion: Machine learning models can predict calcium stone composition. LR outperforms XG in multiclass stone classification. Demographic and comorbidity data are predictive of stone composition; however, including 24H urine data improves performance. Further optimization of performance could lead to earlier directed medical therapy for kidney stone patients.


  • Association of Chronic Kidney Disease Stage with 24-Hour Urine Values Among Patients with Nephrolithiasis

    by Wilson Sui, Josh K. Calvert, Nicholas L. Kavoussi, Edward R. Gould, Nicole L. Miller, Cosmin A. Bejan, Ryan S. Hsi

    Introduction: Nephrolithiasis is a known risk factor for chronic kidney disease (CKD); however, it is unknown how CKD affects urinary parameters related to stone risk. The purpose of this study was to assess the relationship of diminishing glomerular filtration rate (GFR) and kidney stone-related 24-hour urine (24H urine) composition. Materials and Methods: A single-institution retrospective review of patients ( n = 2057) who underwent 24H urine analysis was performed. The serum creatinine within 1 year of the first 24H urine was used to determine estimated GFR and stratify patients by CKD stage. We performed analysis of variance and multivariable linear regression to assess the relationship of GFR and urinary analytes. Results: Among all patients, there were 184 (8.9%), 1537 (74.7%), 245 (11.9%), 70 (3.4%), 17 (0.8%), and 4 (0.2%) in CKD stage I, II, IIIa, IIIb, IV, and V groups, respectively. On analysis of 24H urine composition, as CKD increased, changes in urinary parameters protective against crystallization included decreased calcium and uric acid (UA) ( P < 0.001). In addition, parameters favoring crystallization included decreased citrate and magnesium ( P = 0.002 and P < 0.001, respectively). The net effect with increasing GFR was decreasing supersaturation of calcium oxalate and phosphate. On linear regression, urinary excretion of calcium, oxalate, citrate, UA, phosphate, and ammonia all decreased with decreasing GFR (all P < 0.05). Conclusions: Higher CKD stage was associated with changes in urinary analytes that both promoted and inhibited stone formation, with the net effect of decreasing calcium oxalate and phosphate supersaturation. These patients may benefit from medical therapy that targets improving urinary citrate instead of lowering calcium or UA.


  • Open Access

    medExtractR: A medication extraction algorithm for electronic health records using the R programming language

    by Hannah L. Weeks, Cole Beck, Elizabeth McNeer, Cosmin A. Bejan, Joshua C. Denny, Leena Choi

    Objective: We developed medExtractR, a natural language processing system to extract medication dose and timing information from clinical notes. Our system facilitates creation of medication-specific research datasets from electronic health records. Materials and Methods: Written using the R programming language, medExtractR combines lexicon dictionaries and regular expression patterns to identify relevant medication information (‘drug entities’). The system is designed to extract particular medications of interest, rather than all possible medications mentioned in a clinical note. MedExtractR was developed on notes from Vanderbilt University’s Synthetic Derivative, using two medications (tacrolimus and lamotrigine) prescribed with varying complexity, and with a third drug (allopurinol) used for testing generalizability of results. We evaluated medExtractR and compared it to three existing systems: MedEx, MedXN, and CLAMP. Results: On 50 test notes for each development drug and 110 test notes for the additional drug, medExtractR achieved high overall performance (F-measures > 0.95). This exceeded the performance of the three existing systems across all drugs, with the exception of a couple specific entity-level evaluations including dose amount for lamotrigine and allopurinol. Discussion: MedExtractR successfully extracted medication entities for medications of interest. High performance in entity-level extraction tasks provides a strong foundation for developing robust research datasets for pharmacological research. However, its targeted approach provides a narrower scope compared with existing systems. Conclusion: MedExtractR (available as an R package) achieved high performance values in extracting specific medications from clinical text, leading to higher quality research datasets for drug-related studies than some existing general-purpose medication extraction tools.


  • Top Cited Papers

    HLA-A*32:01 is strongly associated with vancomycin-induced drug reaction with eosinophilia and systemic symptoms

    by Katherine C. Konvinse, Jason A. Trubiano, Rebecca Pavlos, Ian James, Christian M. Shaffer, Cosmin A. Bejan, Ryan J. Schutte, David A. Ostrov, Mark A. Pilkinton, Misha Rosenbach, et al.