To assist investigators with the calculation of comorbidity weights, the National Cancer Institute (NCI) provids two SAS macros.
These macros will produce comorbidity weights as developed by Charlson et al (PDF) (J Clin Epidemiol 1993;46:1075-9).
SAS macros