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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file icd10-c2cdc-0.0.2.tar.gz.
File metadata
- Download URL: icd10-c2cdc-0.0.2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0505f041d4fb66f18674219f2e1db729e190011286b445f4168a036923471ee
|
|
| MD5 |
80f5bfa40a6d107bd34ece2fc672b172
|
|
| BLAKE2b-256 |
8070bebc88296ae64cd09bcb2187f9d15725260a1ca539c6ea75275ef24313ba
|
File details
Details for the file icd10_c2cdc-0.0.2-py3-none-any.whl.
File metadata
- Download URL: icd10_c2cdc-0.0.2-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef501c57f965d0e381a9d1fcd88be62ae976ea9f3ce0c7678d7051ab7a884be3
|
|
| MD5 |
649923aa5eb3bd0ff4c35ebcb881c7c9
|
|
| BLAKE2b-256 |
f418c7f03678100723a79f10cb6e1a1f6fbe7137ab0f913b999e9a00e3e6919a
|