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.
Release files for icd10-c2cdc 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| icd10-c2cdc-0.0.2.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| icd10_c2cdc-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.1 kB
Release files / icd10-c2cdc-0.0.2.tar.gz
| Download URL | icd10-c2cdc-0.0.2.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0505f041d4fb66f18674219f2e1db729e190011286b445f4168a036923471ee
|
|
BLAKE2b-256 checksum How to use checksums |
8070bebc88296ae64cd09bcb2187f9d15725260a1ca539c6ea75275ef24313ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / icd10_c2cdc-0.0.2-py3-none-any.whl
| Download URL | icd10_c2cdc-0.0.2-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef501c57f965d0e381a9d1fcd88be62ae976ea9f3ce0c7678d7051ab7a884be3
|
|
BLAKE2b-256 checksum How to use checksums |
f418c7f03678100723a79f10cb6e1a1f6fbe7137ab0f913b999e9a00e3e6919a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|