Data-extraction and statistical-analysis code for a MIMIC-IV study of coagulase-negative staphylococcal blood-culture contamination, vancomycin exposure, and acute kidney injury
This deposit contains the data-extraction queries and the statistical-analysis code for a retrospective cohort study in MIMIC-IV v3.1 of intravenous vancomycin exposure after single-set coagulase-negative staphylococcal (CoNS) blood cultures and its association with acute kidney injury (AKI). The BigQuery SQL scripts identify hospital admissions with blood-culture specimens growing CoNS and classify single-set positivity as probable contamination and two or more positive sets as probable true bloodstream infection. They derive blood-culture sets, bottle-level growth, species and the time of the positive Gram-stain report; intravenous vancomycin orders and their timing relative to culture collection and to the report, order-days, administration records from the electronic medication administration record and serum vancomycin concentrations; competing indications for vancomycin; covariates measured before the index culture; the SOFA score; maintenance dialysis and dialysis before the index culture; serum-creatinine series for the KDIGO-based AKI definitions, including a pre-admission baseline; and the secondary outcomes (laboratory-confirmed Clostridioides difficile infection, length of stay, in-hospital mortality and 30-day mortality). The Python code assembles the analytic dataset and fits patient-clustered logistic regression models, propensity-score analyses (adjustment, stabilized inverse-probability-of-treatment weighting and quintile adjustment) and time-dependent Cox models in which vancomycin is a time-varying exposure, with time-on-treatment splits, cumulative exposure updated daily and a 48-hour landmark analysis, together with sensitivity analyses of the outcome definition, baseline creatinine, exposure ascertainment, contamination classification, outcome surveillance, missing creatinine and additional confounders.
- Link
- https://doi.org/10.5281/zenodo.21386320
- Found by
- DataCite
- Authors
- Yaling Huang, Lujun Shao, Li Wang, Wenbin Sun
- Categories
- dataset
- Published
- 2026-11-05
- Last seen by the radar
- 2026-11-07
- Citations
- 0
- Downloads
- 0
- Views
- 0
- Radar score
- 28.30 / 100 (how it is scored)
- Why it scored so
- Matched: dataset; Primary record: DataCite
- Related links
- https://zenodo.org/doi/10.5281/zenodo.21386320