Closed Jwoo5 closed 3 months ago
The recent changes enhance the configurations for extracting and analyzing medical data related to various diseases based on ICD codes from the first 24 hours of patient admissions. These updates streamline mapping processes, clarify hospital admission and discharge codes, and establish structured predicates for improved data analysis accuracy, aiding in predictions for hospital discharge coding.
Files | Change Summary |
---|---|
tasks/MIMIC-IV/.../first_24h.yaml (diagnosis/complications_of_pregnancy, congenital_anomalies, diseases_of_the_blood, diseases_of_the_circulatory_system, diseases_of_the_digestive_system, diseases_of_the_genitourinary_system, diseases_of_the_respiratory_system, diseases_of_the_skin_and_subcutaneous_tissue, endocrine_nutritional_and_metabolic_diseases_and_immunity_disorders, infectious_and_parasitic_diseases) |
Updated configurations include mappings from ICD9CM to CCS Level 1 labels, improved predicates for hospital admissions and discharges, and defined data extraction windows. Specific predicate expressions were also introduced for various disease categories. |
sequenceDiagram
participant Patient
participant Hospital
participant DataAnalyzer
participant DischargeCoder
Patient->>Hospital: Admit for treatment
Hospital->>DataAnalyzer: Collect data (first 24 hours)
DataAnalyzer->>DischargeCoder: Predict ICD codes
DischargeCoder->>Hospital: Assign codes at discharge
Hospital->>Patient: Discharge with ICD codes
π In fields of health where data's bright,
We hop and dance in sheer delight!
With codes and charts, we play our part,
Predicting outcomes with all our heart.
A fluffy cheer for changes made,
Hop on, dear friends, letβs not be swayed! πΌ
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Let's wait until we have a revised ACES that incorporates https://github.com/justin13601/ACES/issues/90. Once that is in I will update this PR to simplify the configs.
Can you update this to use the regex
and/or any
syntax that ACES now supports? @justin13601 can help clarify syntax as needed @Jwoo5
Sure, I will update this after the ML4H deadline as this task seems not that urgent at this moment.
sounds good @Jwoo5, thanks! Note there may be some other changes to organization and such before then in the repo, but I think it won't be a big issue. For cleanliness of our github repo, I'm going to close this PR for now and we can re-open and update it when we're ready to merge it in. Thanks!
*Fixed some typo errors from the previous PR, and reopened it
I added 16 different diagnosis prediction tasks for mimic-iv where each high-level diagnosis label is defined by a set of ICD codes using multi-level CCS tools.
Each of these tasks predicts whether a patient will be assigned corresponding ICD codes at the time of hospital discharge, given the data from the first 24 hours of hospital admission. I included only the patients whose hospital stay is at least 24 hours for these tasks.
There are so many predicates defined in each config file, which may need to discuss further regarding it.
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Chores