ellessenne / comorbidity

An R package for computing comorbidity scores.
https://ellessenne.github.io/comorbidity/
GNU General Public License v3.0
80 stars 21 forks source link

weights for Charlson calc #17

Closed DougDame closed 3 years ago

DougDame commented 5 years ago

The doco says this on WEIGHTS:

"Each condition from the Charlson score is assigned a score when computing the weighted Charlson index, irrespectively of the coding system utilised. In particular, diabetes with complications, hemiplegia/paraplegia, renal disease, and malignancies are assigned a score of 2; moderate/severe liver disease is assigned a score of 3; metastatic solid tumour and AIDS/HIV are assigned a score of 6; the remaining comorbidities are assigned a score of 1. comorbidity allows the option of applying a hierarchy of comorbidities should a more severe version be present: by choosing to do so (and that is the default behaviour of comorbidity) a type of comorbidity is never computed more than once for a given patient."

Those are the weights generally used before Quan et al updated the ICD-code lists and derived new weights from a newer and much larger dataset, as shown below. The AIDS/HIV @ 6 was the clue that I first noticed.

image

My thought is that the Quan weights should at least be an option. Making it the default at this point might be disruptive to existing users.

Doug

ellessenne commented 5 years ago

Hello @DougDame, Thanks for the feedback. Do you have a reference for the updated scoring algorithm? Thanks!

DougDame commented 5 years ago

The table above is from:

image

... which I thought was excellent work when it first appeared, and still do.

HTH - d.d.

ellessenne commented 5 years ago

Thanks for the reference @DougDame!

torema-ed commented 3 years ago

Hi @ellessenne, my colleague (@SY-CHIA) have also done this in the code snippets mentioned in #36. I can integrate it into the package and file a PR if it is ok with you.

ellessenne commented 3 years ago

I am closing this, as it is now implemented in the GitHub version of {comorbidity} (see e.g. #37, #38). Will make it to CRAN ASAP.