Learn R Programming

icd (version 2.2)

.attr_short_diag: Change whether ICD code has short or long attribute

Description

The attribute icd_short_code should be either TRUE or FALSE.

Usage

.attr_short_diag(x, value = TRUE)

as.icd_short_diag(x, value = TRUE)

as.icd_decimal_diag(x, value = TRUE)

Arguments

x

ICD data

value

True or false, default is TRUE

Examples

Run this code
# 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