Topic listResearch writingMedicine & healthcare

NLP for automated ICD-10 coding: long notes, rare codes, context, explainability and coder-in-the-loop evaluation

Seven doctoral topic ideas on natural language processing of clinical notes for ICD-10 coding, linked to verified studies and narrowed to questions one PhD can answer.

What you will learn

  • Identify the main technical problems in automated ICD-10 coding from clinical text
  • Match each problem to a design: model development, annotation study, user study or external validation
  • Explain why rare codes, negation and code hierarchy make the task hard
  • Plan data access and ethics approval for research on clinical notes
  • Apply a feasibility check to a clinical NLP topic

What you will unlearn

  • A higher micro-averaged score means the system is ready for use.Micro averages are dominated by common codes; rare-code and external-validation results matter for real use.
  • Automated coding will replace clinical coders.Current evidence supports assistance to coders, with the largest gains on complex notes.
  • A model trained on one hospital's notes will work elsewhere.Performance often falls on data from other hospitals or countries, so external validation is essential.

Skills you will practise

  • Clinical text processing
  • Multi-label classification
  • Annotation design
  • External validation
  • User studies with professionals
  • Topic scoping

Who this list is for

This list is for doctoral researchers in health informatics, clinical NLP and computer science who want to work on automated clinical coding. Coding turns diagnoses and procedures recorded in free-text notes into ICD codes used for reimbursement, statistics and research. Venkatesh et al. (2023) describe why automation is hard: clinical documents are long and redundant, code sets change, and training data are incomplete. They also argue for involving coders in development, transparent models and systems tailored to a specific use.

Automated medical coding
Figure 1. Automated medical coding.

How to use this list

Treat each row as a starting point. Decide first which data you can use: a public de-identified database, or notes from a partner hospital under an approved protocol. Then check what has been published since the sources below. If you are still choosing a broad area, start with how to choose a PhD topic and how to select a PhD topic.

Theme 1: Long notes, rare codes and scarce labels

A systematic review of automated ICD coding from discharge summaries identified data scarcity, label imbalance and poor performance on rare codes as persistent problems (Kaur et al., 2021). Transformer models (Vaswani et al., 2017) handle language well but have limits on input length, which matters because discharge summaries are long.

Theme 1 topics: data-related problems
TopicPossible research questionLikely design and dataWhy it matters now
Transformer models for long and complex clinical notesWhich strategies for long inputs (chunking, hierarchical encoders, long-context models) give the best coding accuracy on discharge summaries, at what computational cost?Benchmark comparison on a de-identified discharge-summary data set; micro and macro metrics; runtimeClinical documents are long and redundant (Venkatesh et al., 2023)
Learning rare ICD-10 codes from few examplesDo code-description embeddings or few-shot methods improve recall for rare codes without reducing performance on common codes?Stratified evaluation by code frequency; macro-averaged and per-band metrics; error analysisRare-code performance is a known weakness (Kaur et al., 2021)
Active learning to reduce expert annotationCan active learning reach a target accuracy with substantially fewer coder-labelled notes, especially for infrequent codes?Simulation on a labelled data set (labels revealed on request), then a small study with real codersExpert labels are expensive and scarce (Kaur et al., 2021)

Theme 2: Context and code hierarchy

Clinical notes mention conditions that are negated ("no evidence of pneumonia"), historical, suspected or in family members. A coding system that ignores this context assigns wrong codes. ICD-10 is also hierarchical, from chapter to block to category to subcategory, and closely related codes are easily confused. Both are well recognised but remain open in practice.

Theme 2 topics: context and hierarchy
TopicPossible research questionLikely design and dataWhy it matters now
Context-aware coding: negation, temporality and uncertaintyDoes explicitly modelling negation, history and uncertainty reduce false-positive codes compared with a baseline that ignores context?Annotation of context on a sample of notes; models with and without context features; error analysis of false positivesWrong codes from negated or historical mentions affect billing and statistics
Hierarchy-aware ICD-10 classificationDoes using the ICD-10 hierarchy during training reduce errors between sibling codes, particularly when training data are limited or noisy?Comparison of flat and hierarchical models; errors measured by distance in the code treeErrors between related codes are common, and national transitions to ICD-11 raise mapping questions

Theme 3: Explainability, coders and generalisation

Coders and auditors need to see why a code was suggested. Surveys of explainable AI in healthcare describe many techniques but limited evaluation with users (Chaddad et al., 2023). Evidence on assistance is emerging: in a crossover randomised trial with professional coders in Norway and Sweden, an AI-assisted tool reduced median coding time for complex notes, with no significant change in accuracy (Chomutare et al., 2024). Generalisation is a further concern: models developed on Thai discharge summaries performed differently when validated on United States intensive care data (Ponthongmak et al., 2023).

Theme 3 topics: explainability and coder-in-the-loop
TopicPossible research questionLikely design and dataWhy it matters now
Evidence extraction for explainable codingDo highlighted text spans supporting each suggested code help coders verify suggestions more accurately than suggestions without evidence?Model with evidence extraction; within-subject user study with coders; accuracy, time and trust measuresExplanation methods are seldom tested with the professionals who use them (Chaddad et al., 2023)
Coder-in-the-loop coding and external validationHow do accuracy and coding time change when coders work with an assistant across two hospitals, and how much does the model degrade on the second site?Two-site study: development at one site, external validation and coder study at the otherAssistance helps on complex notes (Chomutare et al., 2024); transfer between settings is uncertain (Ponthongmak et al., 2023)

How to test a topic before you commit

Run each candidate through the FINER criteria: feasible, interesting, novel, ethical and relevant (Hulley et al., 2013). For clinical NLP, four checks matter most.

  • Data access: public de-identified data sets need credentialed access; hospital notes need ethics and data governance approval.
  • Label quality: routine codes contain errors; plan how you will judge the reference standard (Weiskopf & Weng, 2013).
  • Users: topics with a user study need access to professional coders.
  • Novelty: search recent clinical NLP venues; the field moves quickly.

Illustrative example (hypothetical). A candidate starts with "deep learning for ICD-10 coding". Her partner hospital can share de-identified discharge summaries but has few coders available for a user study. She narrows the topic to: "Does modelling negation and history reduce false-positive respiratory codes in discharge summaries from one hospital, and does the gain hold on a public data set from another country?" The question names one code group, one error type, a baseline and an external test, and it does not depend on recruiting coders.

See PhD topic selection and gap identification. Related lists: edge computing in healthcare and AI in brain disorder diagnosis.

Common mistakes

  • Reporting only micro-averaged scores, which hide poor rare-code performance.
  • Treating routine codes as perfect ground truth.
  • Testing on the same hospital's data used for training and claiming generalisation.
  • Building an "explainable" system without testing explanations with coders.
  • Underestimating the time needed for data access and ethics approval.

Key takeaways

Your next step

Want to apply this to your own study?

  1. 1Tell us your topic, data and deadline
  2. 2A subject mentor reviews your work with you
  3. 3You get a plan and a quote
PhD topic selection

References

  1. Chaddad, A., Peng, J., Xu, J., & Bouridane, A. (2023). Survey of explainable AI techniques in healthcare. Sensors, 23(2), 634. https://doi.org/10.3390/s23020634
  2. Chomutare, T., Svenning, T. O., Tejedor Hernández, M. Á., Ngo, P. D., Budrionis, A., Markljung, K., Hind, L. I., Torsvik, T., Mikalsen, K. Ø., Babic, A., & Dalianis, H. (2024). Artificial intelligence to improve clinical coding practice in Scandinavia: A crossover randomized controlled trial (arXiv:2410.23725) [Preprint]. arXiv. https://arxiv.org/abs/2410.23725
  3. Hulley, S. B., Cummings, S. R., Browner, W. S., Grady, D. G., & Newman, T. B. (2013). Designing clinical research (4th ed.). Wolters Kluwer Health/Lippincott Williams & Wilkins. https://search.worldcat.org/title/830019201
  4. Kaur, R., Ginige, J. A., & Obst, O. (2021). A systematic literature review of automated ICD coding and classification systems using discharge summaries (arXiv:2107.10652) [Preprint]. arXiv. https://arxiv.org/abs/2107.10652
  5. Ponthongmak, W., Thammasudjarit, R., McKay, G. J., Attia, J., Theera-Ampornpunt, N., & Thakkinstian, A. (2023). Development and external validation of automated ICD-10 coding from discharge summaries using deep learning approaches. Informatics in Medicine Unlocked, 38, 101227. https://doi.org/10.1016/j.imu.2023.101227
  6. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., & Polosukhin, I. (2017). Attention is all you need. In Advances in Neural Information Processing Systems 30 (pp. 5998–6008). Curran Associates. https://proceedings.neurips.cc/paper_files/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf
  7. Venkatesh, K. P., Raza, M. M., & Kvedar, J. C. (2023). Automating the overburdened clinical coding system: Challenges and next steps. npj Digital Medicine, 6, 16. https://doi.org/10.1038/s41746-023-00768-0
  8. Weiskopf, N. G., & Weng, C. (2013). Methods and dimensions of electronic health record data quality assessment: Enabling reuse for clinical research. Journal of the American Medical Informatics Association, 20(1), 144–151. https://doi.org/10.1136/amiajnl-2011-000681

How to cite this article

Choose your referencing style, then copy. Check your university's or journal's guide for local variations.

PhD Research Lab Academy. (2026, August 17). NLP for automated ICD-10 coding: long notes, rare codes, context, explainability and coder-in-the-loop evaluation. PhD Research Lab. https://www.phdassistance.com/topic/nlp-for-automated-icd-10-coding/

PhD Research Lab Academy. “NLP for Automated ICD-10 Coding: Long Notes, Rare Codes, Context, Explainability and Coder-in-the-loop Evaluation.” PhD Research Lab, 17 Aug. 2026, www.phdassistance.com/topic/nlp-for-automated-icd-10-coding. Accessed [access date].

PhD Research Lab Academy (2026) NLP for automated ICD-10 coding: long notes, rare codes, context, explainability and coder-in-the-loop evaluation. PhD Research Lab. Available at: https://www.phdassistance.com/topic/nlp-for-automated-icd-10-coding/ (Accessed: [access date]).

PhD Research Lab Academy. “NLP for Automated ICD-10 Coding: Long Notes, Rare Codes, Context, Explainability and Coder-in-the-loop Evaluation.” PhD Research Lab. August 17, 2026. https://www.phdassistance.com/topic/nlp-for-automated-icd-10-coding.

PhD Research Lab Academy, ‘NLP for Automated ICD-10 Coding: Long Notes, Rare Codes, Context, Explainability and Coder-in-the-loop Evaluation’ (PhD Research Lab, 17 August 2026) <https://www.phdassistance.com/topic/nlp-for-automated-icd-10-coding> accessed [access date].

PhD Research Lab Academy. NLP for automated ICD-10 coding: long notes, rare codes, context, explainability and coder-in-the-loop evaluation [Internet]. PhD Research Lab; 2026 Aug 17 [cited [access date]]. Available from: https://www.phdassistance.com/topic/nlp-for-automated-icd-10-coding/

PhD Research Lab Academy, “NLP for automated ICD-10 coding: long notes, rare codes, context, explainability and coder-in-the-loop evaluation,” PhD Research Lab, Aug. 17, 2026. [Online]. Available: https://www.phdassistance.com/topic/nlp-for-automated-icd-10-coding. [Accessed: [access date]].

@online{nlp_for_automated_icd_10_coding_2026,
  author = {{PhD Research Lab Academy}},
  title = {{NLP for automated ICD-10 coding: long notes, rare codes, context, explainability and coder-in-the-loop evaluation}},
  organization = {PhD Research Lab},
  date = {2026-08-17},
  url = {https://www.phdassistance.com/topic/nlp-for-automated-icd-10-coding},
  urldate = {[access date]}
}

This article is for learning. Use it to understand the method and cite the original sources above in your own work; do not copy or submit it as your own.

NLP for automated ICD-10 codingNeed help applying it to your study?
PhD topic selection