quanCharlsonComorbidityScore.Rd
The Quan Charlson Comorbidity score is a measure for predicting 10 year survival. It is a modification to the Charlson Score by Quan et al (doi: 10.1097/01.mlr.0000182534.19832.83). The method presented in this packages follows the SNOMED adaption of Quan Charlson tested on OMOP CDM by Fortin et al (doi: 10.1186/s12911-022-02006-1). This function will add the elements needed for each comorbidity line item and the appropriate weights needed to convert the categorization of comorbidities into a score.
quanCharlsonComorbidityScore(timeWindow = NULL)
the interval to assess the comorbidity score, by default baseline it -365 to -1 days
a list of line items for running quan charlson comorbidity score. This will determine the proportion of persons with each comorbidity and the overall score per patient in the cohort