This notebook is a copy of work done within the All of us research platform. The original notebook is intended for use within All of Us. To comply with the All of Us Data and Statistics Dissemination Policy, the datasets, graphs, and dataframes have been withheld. This notebook is for educational purposes only. All data was retrieved through cohort creation and SQl queries.
This notebook is designed to analyze and visualize the comorbidity indices of patients over time. Comorbidities, or the presence of multiple chronic conditions in a patient, are critical in understanding patient outcomes and guiding treatment decisions. By analyzing how comorbidities evolve over specified time intervals, we can gain insights into the progression of a patient's health and the effectiveness of their treatments. This notebook uses Matthew Davis' pyelixhauser package to detect ICD codes in the dataset.