medicalcoder: a unified and longitudinally aware framework for International Classification of Diseases code-based comorbidity assessment in R
Abstract Objectives Comorbidity algorithms derived from International Classification of Diseases (ICD) codes are central to risk adjustment and cohort characterization, but existing software inconsistently handles mixed ICD-9/10 data and typically operates at the encounter level. We developed medicalcoder to address th...