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