├── .circleci └── config.yml ├── .gitignore ├── LICENSE ├── README.md ├── docs ├── Makefile ├── imgs │ ├── drug_classification_example.png │ └── medcodes_example.png └── source │ ├── background.rst │ ├── code.rst │ ├── conf.py │ ├── index.rst │ └── notebooks │ └── medcodes_walkthrough.ipynb ├── medcodes ├── __init__.py ├── diagnoses │ ├── __init__.py │ ├── _mappers │ │ ├── __init__.py │ │ ├── elixhauser_charlson.py │ │ ├── icd10_descriptions.py │ │ └── icd9_descriptions.py │ └── comorbidities.py └── drugs │ ├── __init__.py │ ├── _mappers │ ├── __init__.py │ ├── _lv1.py │ ├── _lv2.py │ ├── _lv3.py │ ├── _lv4.py │ └── _lv5.py │ ├── classification.py │ └── standardization.py ├── requirements.txt ├── setup.py └── tests ├── test_atc_classification.py ├── test_comorbidities.py └── test_drug.py /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/README.md -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/imgs/drug_classification_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/docs/imgs/drug_classification_example.png -------------------------------------------------------------------------------- /docs/imgs/medcodes_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/docs/imgs/medcodes_example.png -------------------------------------------------------------------------------- /docs/source/background.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/docs/source/background.rst -------------------------------------------------------------------------------- /docs/source/code.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/docs/source/code.rst -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /docs/source/notebooks/medcodes_walkthrough.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/docs/source/notebooks/medcodes_walkthrough.ipynb -------------------------------------------------------------------------------- /medcodes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/medcodes/__init__.py -------------------------------------------------------------------------------- /medcodes/diagnoses/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/medcodes/diagnoses/__init__.py -------------------------------------------------------------------------------- /medcodes/diagnoses/_mappers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/medcodes/diagnoses/_mappers/__init__.py -------------------------------------------------------------------------------- /medcodes/diagnoses/_mappers/elixhauser_charlson.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/medcodes/diagnoses/_mappers/elixhauser_charlson.py -------------------------------------------------------------------------------- /medcodes/diagnoses/_mappers/icd10_descriptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/medcodes/diagnoses/_mappers/icd10_descriptions.py -------------------------------------------------------------------------------- /medcodes/diagnoses/_mappers/icd9_descriptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/medcodes/diagnoses/_mappers/icd9_descriptions.py -------------------------------------------------------------------------------- /medcodes/diagnoses/comorbidities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/medcodes/diagnoses/comorbidities.py -------------------------------------------------------------------------------- /medcodes/drugs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/medcodes/drugs/__init__.py -------------------------------------------------------------------------------- /medcodes/drugs/_mappers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/medcodes/drugs/_mappers/__init__.py -------------------------------------------------------------------------------- /medcodes/drugs/_mappers/_lv1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/medcodes/drugs/_mappers/_lv1.py -------------------------------------------------------------------------------- /medcodes/drugs/_mappers/_lv2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/medcodes/drugs/_mappers/_lv2.py -------------------------------------------------------------------------------- /medcodes/drugs/_mappers/_lv3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/medcodes/drugs/_mappers/_lv3.py -------------------------------------------------------------------------------- /medcodes/drugs/_mappers/_lv4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/medcodes/drugs/_mappers/_lv4.py -------------------------------------------------------------------------------- /medcodes/drugs/_mappers/_lv5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/medcodes/drugs/_mappers/_lv5.py -------------------------------------------------------------------------------- /medcodes/drugs/classification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/medcodes/drugs/classification.py -------------------------------------------------------------------------------- /medcodes/drugs/standardization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/medcodes/drugs/standardization.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | pytest 2 | numpy 3 | pandas 4 | tqdm 5 | requests -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/setup.py -------------------------------------------------------------------------------- /tests/test_atc_classification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/tests/test_atc_classification.py -------------------------------------------------------------------------------- /tests/test_comorbidities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/tests/test_comorbidities.py -------------------------------------------------------------------------------- /tests/test_drug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topspinj/medcodes/HEAD/tests/test_drug.py --------------------------------------------------------------------------------