Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add chronic condition "U" codes to ICD-10-AM #72

Merged
merged 2 commits into from
May 25, 2024
Merged

Add chronic condition "U" codes to ICD-10-AM #72

merged 2 commits into from
May 25, 2024

Conversation

DesiQuintans
Copy link
Contributor

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:

  • U83.1 ("Emphysema, without mention of chronic obstructive pulmonary disease")
  • U83.3 ("Asthma, without mention of chronic obstructive pulmonary disease")

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"]].

Footnotes

  1. https://www.aihw.gov.au/reports/chronic-disease/supplementary-codes-for-chronic-conditions/summary 2

@ellessenne
Copy link
Owner

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?

@ellessenne ellessenne added this to the 1.1.0 milestone May 17, 2024
@DesiQuintans
Copy link
Contributor Author

Hi yes, that sounds reasonable and makes sense. I can make such changes in a day or two.

@ellessenne
Copy link
Owner

Sounds good, thanks – and no rush, don't worry!

@DesiQuintans
Copy link
Contributor Author

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.

@ellessenne
Copy link
Owner

ellessenne commented May 25, 2024

Thanks, looks good! Do you mind if I add you as a contributor to the DESCRIPTION file?

@ellessenne ellessenne merged commit a66f2c2 into ellessenne:master May 25, 2024
11 checks passed
ellessenne added a commit that referenced this pull request May 25, 2024
@ellessenne ellessenne mentioned this pull request May 25, 2024
17 tasks
@ellessenne
Copy link
Owner

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?

@DesiQuintans
Copy link
Contributor Author

Yes, please do :)

@ellessenne
Copy link
Owner

ellessenne commented Jul 13, 2024

Awesome, thanks for your contribution! 😄

Edit: done! Let me know if you'd like me to add your e-mail or ORCID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants