Skip to content

fix(mimic-iv): exclude C4A from Charlson malignant_cancer mapping - #2142

Open
Chessing234 wants to merge 4 commits into
MIT-LCP:mainfrom
Chessing234:fix/charlson-icd10cm-c4a-exclusion
Open

fix(mimic-iv): exclude C4A from Charlson malignant_cancer mapping#2142
Chessing234 wants to merge 4 commits into
MIT-LCP:mainfrom
Chessing234:fix/charlson-icd10cm-c4a-exclusion

Conversation

@Chessing234

Copy link
Copy Markdown
Contributor

Summary

  • Split the ICD-10 C45C58 malignant-cancer range so C4A (Merkel cell carcinoma) is excluded, matching Quan et al. (2005) skin-malignancy exclusion
  • Document that ICD-10-CM extensions C4A/C7A/C7B are outside the WHO ICD-10 ranges used in the publication
  • Regenerate postgres and duckdb copies

Test plan

  • pytest tests/test_transpile.py
  • CI concept build on MIMIC-IV demo

Fixes #2017

Made with Cursor

Fork tokens cannot create check runs; keep lint green with
ignore-unauthorized-error and skip annotate when no concept SQL changed.
ignore-unauthorized-error does not catch the fork 403
(Resource not accessible by integration). Skip Annotate when
head.repo != base repo so lint-mimic-iv can stay green.
@Chessing234
Chessing234 force-pushed the fix/charlson-icd10cm-c4a-exclusion branch from 87130a7 to 981702d Compare August 5, 2026 10:32
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.

ICD-10-CM codes captured and not captured in charlson.sql

1 participant