Code for analyzing clinical decision rules and supporting the analysis underlying a systematic review on bias in CDIs (Obra et al. 2025)
Clinical decision instruments (CDIs) face an equity dilemma. On the one hand, they often reduce disparities in patient care through data-driven standardization of best practices. On the other hand, this standardization may itself inadvertently perpetuate bias and inequality within healthcare systems. Here, we quantify different measures of potential for implicit bias present in CDI development that can inform future CDI development. We find evidence for systematic bias in the development of 690 CDIs that underwent validation through various analyses: self-reported participant demographics are skewed—e.g. 73% of participants are White, 55% are male; investigator teams are geographically skewed—e.g. 52% in North America, 31% in Europe; CDIs use predictor variables that may be prone to bias—e.g. 13 CDIs explicitly use Race and Ethnicity; outcome definitions may further introduce bias—e.g. 28% of CDIs involve follow-up, which may disproportionately skew outcome representation based on socioeconomic status. As CDIs become increasingly prominent in medicine, we recommend that these factors are considered during development and clearly conveyed to clinicians using CDIs.
- notebooks_data_prep: Contains notebooks used to clean and prepare the data
- notebooks_llm: Contains notebooks used for LLM experiments
- data: Contains the raw data, processed data, and data dictionary
- (Optional) Paper pdfs are put into this gdrive folder.
- Each paper is named using its
id
- If using rclone, download with
rclone ls gdrive:data/public_data/mdcalc-papers --drive-shared-with-me
- To download a single paper,
rclone copy gdrive:data/public_data/mdcalc-papers/10129.pdf . --drive-shared-with-me
- Each paper is named using its
- (Optional) Paper pdfs are put into this gdrive folder.
- Raw data is contained as a dataframe in the data/data_clean.pkl file.
- A semi-complete data dictionary is given in data/data_clean_dictionary.json.