# NOT RUN {
library(magrittr, warn.conflicts = FALSE, quietly = TRUE) # optional
# no children other than self
icd_children("10201", short_code = TRUE, defined =FALSE)
# guess it was ICD-9 and a short, not decimal code
icd_children("0032")
# empty because 102.01 is not meaningful
icd_children("10201", short_code = TRUE, defined =TRUE)
icd_children("003", short_code = TRUE, defined =TRUE) %>%
icd_explain(condense = FALSE, short_code = TRUE)
icd_children(short_code = FALSE, "100.0")
icd_children(short_code = FALSE, "100.00")
icd_children(short_code = FALSE, "2.34")
# }
Run the code above in your browser using DataLab