This python tool enables a variety of mappings between ICD diagnostic codes (International Classification of Diseases) with a single line of code.
Maintained. Last release 7 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install icd-mappingsICD-Mappings
This python tool enables a variety of mappings of ICD codes (International Classification of Diseases) to different medical concepts with a single line of code.
Latest data refresh: ICD-10 chapter and block mappings were fetched from the latest available code ranges on 2026-04-27.
Supported Mappings
From ICD-9 CM diagnostic codes to:
- ICD-10 CM: International Classification of Diseases version 10 Clinical Modification.
- ICD-9 Chapters: 19 Chapters of ICD-9-CM.
- CCS: Clinical Classification Software. All 14k ICD-9-CM diagnostic codes can be mapped into just 283 clinical categories.
- CCI: Chronic Condition Indicator. True or False whether the diagnostic is chronic; parent-code inference is enabled by default for
target='cci'and can be disabled withallow_parent_inference=False. - CCC Category: Pediatric Complex Chronic Conditions Classification System v3 - Category (15 categories).
- CCC Subcategory: Pediatric Complex Chronic Conditions Classification System v3 - Subcategory (64 subcategories).
From ICD-10 CM diagnostic codes to:
- ICD-9 CM: International Classification of Diseases version 9 Clinical Modification