Skip to content

baxtree/icd_code_converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ICD Code Converter

Build Status

Command line interface for converting between ICD-9 codes and ICD-10 codes. It functions as a thin wrapper of touch.

Prerequisites

The R language and environment has been downloaded and installed. Your logged-in user needs to have the permission for installing R libraries.

Examples

# Resolve dependencies

$ ./icd_code_converter prepare
# Convert ICD codes

$ ./icd_code_converter --icd9 "401.9"                       # I10,I169
$ ./icd_code_converter --icd10 "I10;I169"                   # 4010,4011,4019;4019
$ ./icd_code_converter --icd9 "401.9=001.1" --delimiter "=" # I10,I169=A001

Usage

usage: icd_code_converter [--] [--help] [--icd9 ICD9] [--icd10 ICD10]
       [--delimiter DELIMITER]

Convert between ICD-9 codes and ICD-10 codes

flags:
  -h, --help       show this help message and exit

optional arguments:
  -n, --icd9       single ICD-9 code or semicolon-separated ICD-9 codes
  -t, --icd10      single ICD-10 code or semicolon-separated ICD-10
                   codes
  -d, --delimiter  symbol for separating ICD codes and cannot be ','
                   [default: ;]