A repository for automated extraction and classification of postoperative complications from medical EHR (Electronic Health Records) using Large Language Models (LLMs) according to the Clavien-Dindo classification system.
The Clavien-Dindo classification is a standardized system for grading postoperative complications based on the therapeutic consequences. This tool leverages Large Language Models to automatically extract and classify complications from medical documents (e.g., discharge letters, operative reports) into appropriate Clavien-Dindo grades.
- Fine-grained Classification: Direct classification into specific Clavien-Dindo grades (0, I, II, IIIa, IIIb, IV, V)
- Binary Classification: Categorizes complications into two groups:
- Category A: Minor to moderate complications (Grades 0-IIIa)
- Category B: Severe complications (Grades IIIb-V)
- π€ LLM-powered: Uses state-of-the-art language models for accurate classification
- π Asynchronous processing: Efficient batch processing of multiple documents
- π Multiple input formats: Supports single files or entire directories
- π CSV output: Results exported to structured CSV format
- π Flexible endpoints: Compatible with various LLM API endpoints
- π― Two classification modes: Binary and fine-grained classification options
The complete codebase including implementation details, configuration files, and usage examples will be published soon. Stay tuned for updates!
If you use this tool in your research, please cite our paper:
Paper: [Link to paper will be published, as soon as it was accepted]
