Converts ICD-10 codes to CDC/NCHS Selected Causes of Death codes.
Project description
recode
Converts ICD-10 codes to CDC/NCHS Selected Causes of Death codes.
- ICD-10 stands for International Classification of Diseases v.10.
- CDC stands for Centers for Diseases Control and Prevention.
- NCHS stands for National Center for Health Statistics.
To install run:
pip install icd10_c2cdc
How this can be used:
from icd10_c2cdc import Recoder
recoder = Recoder('tables/358 ICD-10 Recodes.txt') # Read about tables below
print(recoder) # Prints a tree of the recodes' hierarchy
print(recoder.get_codes('G20')) # Prints related Causes of Death codes: ['18500', '18800']
Recoder is based on NCHS text files that were downloaded from ResDAC, each file is a table that specify the grouping classification for each ICD-10 code. These files had a few errors (for example, some "1" were mistakenly typed as the letter "l"), which we fixed. Download the fixed tables from tables.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
icd10-c2cdc-0.0.2.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for icd10_c2cdc-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef501c57f965d0e381a9d1fcd88be62ae976ea9f3ce0c7678d7051ab7a884be3 |
|
MD5 | 649923aa5eb3bd0ff4c35ebcb881c7c9 |
|
BLAKE2b-256 | f418c7f03678100723a79f10cb6e1a1f6fbe7137ab0f913b999e9a00e3e6919a |