Giter VIP home page Giter VIP logo

mimic-iv-icd-data-processing's Introduction

Mimic-IV-ICD: A new benchmark for eXtreme MultiLabel Classification

Official source code repository for Mimic-IV-ICD: A new benchmark for eXtreme MultiLabel Classification

@misc{nguyen2023mimicivicd,
      title={Mimic-IV-ICD: A new benchmark for eXtreme MultiLabel Classification}, 
      author={Thanh-Tung Nguyen and Viktor Schlegel and Abhinav Kashyap and Stefan Winkler and Shao-Syuan Huang and Jie-Jyun Liu and Chih-Jen Lin},
      year={2023},
      eprint={2304.13998},
      archivePrefix={arXiv},
      primaryClass={cs.AI}
}

Introduction

Medical coding is an important operation within the healthcare industry’s revenue cycle management process, critical to the care of patients, efficiency of payments, and integrity of operations. This paper proposes a public benchmark suite for ICD-10 coding using a large EHR dataset derived from MIMIC-IV, the most recent public EHR dataset. Moreover, we also create a new ICD-9 benchmark using MIMIC-IV data, providing more data points and a higher number of ICD codes than MIMIC-III. Our open-source code offers easy access to data processing steps, benchmark creation, and experiment replication for those with MIMIC-IV access, providing insights, guidance, and protocols to efficiently develop ICD coding models.

The subsequent tables list the models currently included in our benchmark. As we continuously seek to enhance this benchmark, new models will be regularly integrated. We cordially invite individuals wishing to incorporate their model into our benchmark to get in touch with us.

Model Paper Original Code Our Adaptation
CAML Explainable Prediction of Medical Codes from Clinical Text link
LAAT A Label Attention Model for ICD Coding from Clinical Text link
MSMN Code Synonyms Do Matter: Multiple Synonyms Matching Network for Automatic ICD Coding link
PLM-ICD PLM-ICD: Automatic ICD Coding with Pretrained Language Models link

Data processing

Our directory has the following structure:

mimicdata
└───physionet.org/
|   |files/
└───mimic4_icd9/
|   |   ALL_CODES.csv
|   |   ALL_CODES_filtered.csv
|   |   disch_9_full.csv
|   |   disch_9_filtered.csv
|   |   notes_labeled.csv
|   |   *_hadm_ids.csv (already in repo)
└───mimic4_icd10/
|   |   ALL_CODES.csv
|   |   ALL_CODES_filtered.csv
|   |   disch_10_full.csv
|   |   disch_10_filtered.csv
|   |   notes_labeled.csv
|   |   *_hadm_ids.csv (already in repo)

The MIMIC-IV files can be obtained from this website. You can download it to the directory mimicdata/physionet.org

Now, make sure your python path includes the base directory of this repository. Then, in Jupyter Notebook, run all cells (in the menu, click Cell -> Run All) in notebooks/dataproc_mimic_IV_exploration_icd9.ipynb and notebooks/dataproc_mimic_IV_exploration_icd10.ipynb. These will take some time.

mimic-iv-icd-data-processing's People

Contributors

eleven1liu avatar thomasnguyen92 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.