Closed DesiQuintans closed 4 months ago
Hi @DesiQuintans, thanks for your PR!
I am not really keen to deviate from published scores with "ad-hoc" adjustments, as I believe this package should mainly implement published scores/algorithms that have been validated by the authors (in some sense).
For this specific adjustment, I would actually suggest creating a secondary mapping (we could name it charlson_icd10_am_aihw
, or something like that) to preserve both versions. What do you think about this?
Hi yes, that sounds reasonable and makes sense. I can make such changes in a day or two.
Sounds good, thanks – and no rush, don't worry!
Okiedokes, I've created a new map called charlson_icd10_am_ucodes
(calling it aihw
would make it sound more official than it really is). I also kept the J44 de-duplication for the regular ICD-10-AM map.
Thanks, looks good! Do you mind if I add you as a contributor to the DESCRIPTION file?
Hi @DesiQuintans, I am eager to release a new version of {comorbidity} before CRAN stops for summer (August 1st-16th). Could you kindly confirm whether it's okay to add you as a contributor to the package?
Yes, please do :)
Awesome, thanks for your contribution! 😄
Edit: done! Let me know if you'd like me to add your e-mail or ORCID.
In 2015, chronic condition "U" codes were introduced for use in Australian hospital data. The Australian Institute of Health and Welfare says that using these codes as part of case definitions "increases the capture of some chronic conditions up to 15-fold" ^1. From my experience, adding the U-code for obesity (
U78.1
) improves capture of obesity 14-fold over only using regular ICD-10-AM codes, for example.This pull request adds these U-codes to the
charlson_icd10_am
mapping.The source of the codes was the AIHW's Data table: Supplementary codes for chronic conditions – evaluation report for population health monitoring ^1 . U-codes were added to the map if the already-mapped ICD codes were mentioned in the column "ICD–10–AM Diagnosis codes directly mapped".
I do not add two specific U-codes to the definition for Chronic Obstructive Pulmonary Disease because their descriptions say they should not be included:
I re-arranged the codes alphabetically to make comparing them against the table easier. I also de-duplicated one code (J44) in
.maps[[charlson_icd10_am]][["cpd"]]
.