Skip to content

fix(mimic-iv): update Charlson ICD-10-CM codes for C4A, C7A, and C7B#2043

Open
acnimma wants to merge 1 commit into
MIT-LCP:mainfrom
acnimma:fix/charlson-icd10cm-c7a-c7b
Open

fix(mimic-iv): update Charlson ICD-10-CM codes for C4A, C7A, and C7B#2043
acnimma wants to merge 1 commit into
MIT-LCP:mainfrom
acnimma:fix/charlson-icd10cm-c7a-c7b

Conversation

@acnimma

@acnimma acnimma commented Jul 12, 2026

Copy link
Copy Markdown

Summary

  • Exclude C4A, include C7A in malignant_cancer, C7B in metastatic_solid_tumor
  • Regenerate postgres and duckdb copies from BigQuery source

Test plan

  • pytest tests/test_transpile.py (161 tests)
  • Transpiled postgres/duckdb charlson.sql
  • CI concept build on MIMIC-IV demo

Fixes #2017

ICD-10-CM added categories after Quan et al. (2005) that were absent from
the Charlson malignancy and metastatic mappings in MIT-LCP#2017. Exclude C4A
(Merkel cell carcinoma) as a skin malignancy per Quan's skin exception;
include C7A as primary malignant neuroendocrine tumor in malignant_cancer;
include C7B as secondary neuroendocrine tumor in metastatic_solid_tumor.
Regenerate postgres and duckdb dialect copies from the BigQuery source.

Fixes MIT-LCP#2017
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