# return all possible decimal parts of ICD9 codes (111 in total)
length(icd9:::icd9ExpandMinor("", isE = FALSE))
icd9:::icd9ExpandMinor("1") # "1" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19"
Run the code above in your browser using DataLab