The attribute icd_short_code
should be either TRUE
or
FALSE
. There is no attribute named icd_decimal_code
.
attr_short_diag(x, value = TRUE)as.icd_short_diag(x, value = TRUE)
as.icd_decimal_diag(x, value = TRUE)
ICD data
True or false, default is TRUE
# NOT RUN {
codes <- as.icd9(c("100.1", "441.3"))
codes <- as.icd_decimal_diag(codes)
codes
# }
Run the code above in your browser using DataLab