├── LICENSE ├── README.md ├── code ├── .ipynb_checkpoints │ └── student_project-checkpoint.ipynb ├── __init__.py ├── __pycache__ │ ├── student_utils.cpython-37.pyc │ └── utils.cpython-37.pyc ├── data │ └── final_project_dataset.csv ├── diabetes_vocab │ ├── A1Cresult_vocab.txt │ ├── Acarbose_vocab.txt │ ├── Afrezza_vocab.txt │ ├── Amaryl_vocab.txt │ ├── Avandia_2MG_vocab.txt │ ├── Avandia_4MG_vocab.txt │ ├── Glimepiride_vocab.txt │ ├── Glipizide_And_Metformin_Hcl_vocab.txt │ ├── Glipizide_And_Metformin_Hydrochloride_vocab.txt │ ├── Glipizide_vocab.txt │ ├── Glucophage_XR_vocab.txt │ ├── Glucophage_vocab.txt │ ├── Glucotrol_XL_vocab.txt │ ├── Glucotrol_vocab.txt │ ├── Glyburide-metformin_Hydrochloride_vocab.txt │ ├── Glyburide_And_Metformin_Hydrochloride_vocab.txt │ ├── Glyburide_vocab.txt │ ├── Glynase_vocab.txt │ ├── Glyset_vocab.txt │ ├── Human_Insulin_vocab.txt │ ├── Humulin_R_vocab.txt │ ├── Insulin_Human_vocab.txt │ ├── Metformin_Hcl_vocab.txt │ ├── Metformin_Hydrochloride_Extended_Release_vocab.txt │ ├── Metformin_Hydrochloride_vocab.txt │ ├── Miglitol_vocab.txt │ ├── Nateglinide_vocab.txt │ ├── Novolin_R_vocab.txt │ ├── Pioglitazole_And_Metformin_Hydrochloride_vocab.txt │ ├── Pioglitazone_Hydrochloride_And_Glimepiride_vocab.txt │ ├── Pioglitazone_vocab.txt │ ├── Prandin_vocab.txt │ ├── Repaglinide_vocab.txt │ ├── Riomet_Er_vocab.txt │ ├── Riomet_vocab.txt │ ├── Rosiglitazone_Maleate_vocab.txt │ ├── Starlix_vocab.txt │ ├── Tolazamide_vocab.txt │ ├── Tolbutamide_vocab.txt │ ├── admission_source_id_vocab.txt │ ├── admission_type_id_vocab.txt │ ├── age_vocab.txt │ ├── change_vocab.txt │ ├── discharge_disposition_id_vocab.txt │ ├── gender_vocab.txt │ ├── max_glu_serum_vocab.txt │ ├── medical_specialty_vocab.txt │ ├── primary_diagnosis_code_vocab.txt │ ├── race_vocab.txt │ ├── readmitted_vocab.txt │ └── weight_vocab.txt ├── medication_lookup_tables │ └── final_ndc_lookup_table ├── student_project.html ├── student_project.ipynb ├── student_utils.py └── utils.py └── data_schema_references ├── IDs_mapping.csv ├── ndc_lookup_table.csv └── project_data_schema.csv /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/README.md -------------------------------------------------------------------------------- /code/.ipynb_checkpoints/student_project-checkpoint.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/code/.ipynb_checkpoints/student_project-checkpoint.ipynb -------------------------------------------------------------------------------- /code/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /code/__pycache__/student_utils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/code/__pycache__/student_utils.cpython-37.pyc -------------------------------------------------------------------------------- /code/__pycache__/utils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/code/__pycache__/utils.cpython-37.pyc -------------------------------------------------------------------------------- /code/data/final_project_dataset.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/code/data/final_project_dataset.csv -------------------------------------------------------------------------------- /code/diabetes_vocab/A1Cresult_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | None 3 | >8 4 | >7 5 | Norm 6 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Acarbose_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Afrezza_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | 1.0 4 | nan 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Amaryl_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Avandia_2MG_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Avandia_4MG_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Glimepiride_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Glipizide_And_Metformin_Hcl_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Glipizide_And_Metformin_Hydrochloride_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Glipizide_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | 1.0 4 | nan 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Glucophage_XR_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Glucophage_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Glucotrol_XL_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Glucotrol_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Glyburide-metformin_Hydrochloride_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Glyburide_And_Metformin_Hydrochloride_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Glyburide_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Glynase_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Glyset_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Human_Insulin_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Humulin_R_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Insulin_Human_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | 1.0 4 | nan 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Metformin_Hcl_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Metformin_Hydrochloride_Extended_Release_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Metformin_Hydrochloride_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 1.0 3 | 0.0 4 | nan 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Miglitol_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Nateglinide_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Novolin_R_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Pioglitazole_And_Metformin_Hydrochloride_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Pioglitazone_Hydrochloride_And_Glimepiride_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Pioglitazone_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Prandin_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Repaglinide_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | 1.0 4 | nan 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Riomet_Er_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Riomet_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Rosiglitazone_Maleate_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Starlix_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Tolazamide_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/Tolbutamide_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 0.0 3 | nan 4 | 1.0 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/admission_source_id_vocab.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/code/diabetes_vocab/admission_source_id_vocab.txt -------------------------------------------------------------------------------- /code/diabetes_vocab/admission_type_id_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 2 3 | 1 4 | 6 5 | 3 6 | 5 7 | 8 8 | 4 9 | 7 10 | -------------------------------------------------------------------------------- /code/diabetes_vocab/age_vocab.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/code/diabetes_vocab/age_vocab.txt -------------------------------------------------------------------------------- /code/diabetes_vocab/change_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | No 3 | Ch 4 | -------------------------------------------------------------------------------- /code/diabetes_vocab/discharge_disposition_id_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | 1 3 | 6 4 | 3 5 | 13 6 | 4 7 | 5 8 | 7 9 | 11 10 | 18 11 | -------------------------------------------------------------------------------- /code/diabetes_vocab/gender_vocab.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/code/diabetes_vocab/gender_vocab.txt -------------------------------------------------------------------------------- /code/diabetes_vocab/max_glu_serum_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | None 3 | -------------------------------------------------------------------------------- /code/diabetes_vocab/medical_specialty_vocab.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/code/diabetes_vocab/medical_specialty_vocab.txt -------------------------------------------------------------------------------- /code/diabetes_vocab/primary_diagnosis_code_vocab.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/code/diabetes_vocab/primary_diagnosis_code_vocab.txt -------------------------------------------------------------------------------- /code/diabetes_vocab/race_vocab.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/code/diabetes_vocab/race_vocab.txt -------------------------------------------------------------------------------- /code/diabetes_vocab/readmitted_vocab.txt: -------------------------------------------------------------------------------- 1 | 00 2 | >30 3 | NO 4 | <30 5 | -------------------------------------------------------------------------------- /code/diabetes_vocab/weight_vocab.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/code/diabetes_vocab/weight_vocab.txt -------------------------------------------------------------------------------- /code/medication_lookup_tables/final_ndc_lookup_table: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/code/medication_lookup_tables/final_ndc_lookup_table -------------------------------------------------------------------------------- /code/student_project.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/code/student_project.html -------------------------------------------------------------------------------- /code/student_project.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/code/student_project.ipynb -------------------------------------------------------------------------------- /code/student_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/code/student_utils.py -------------------------------------------------------------------------------- /code/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/code/utils.py -------------------------------------------------------------------------------- /data_schema_references/IDs_mapping.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/data_schema_references/IDs_mapping.csv -------------------------------------------------------------------------------- /data_schema_references/ndc_lookup_table.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/data_schema_references/ndc_lookup_table.csv -------------------------------------------------------------------------------- /data_schema_references/project_data_schema.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aaryapatel007/Patient-Selection-for-Diabetes-Drug-Testing/HEAD/data_schema_references/project_data_schema.csv --------------------------------------------------------------------------------