icd9Explain(icd9, isShort = icd9GuessIsShort(icd9), doCondense = TRUE, brief = FALSE, warn = TRUE)
icd9ExplainShort(icd9Short, doCondense = TRUE, brief = FALSE, warn = TRUE)
icd9ExplainDecimal(icd9Decimal, doCondense = TRUE, brief = FALSE, warn = TRUE)
"icd9Explain"(icd9, isShort = icd9GuessIsShort(icd9), doCondense = TRUE, brief = FALSE, warn = TRUE)
"icd9Explain"(icd9, isShort = icd9GuessIsShort(icd9), doCondense = TRUE, brief = FALSE, warn = TRUE)
"icd9Explain"(icd9, isShort = icd9GuessIsShort(icd9), doCondense = TRUE, brief = FALSE, warn = TRUE)
"icd9Explain"(icd9, isShort = icd9GuessIsShort(icd9), doCondense = TRUE, brief = FALSE, warn = FALSE)
FALSE
. If TRUE
,
the short description from the canonical CMS descriptions (included in
extdata
) will be used, otherwise the long description is used.TRUE
, meaning that codes
which do not correspond to diagnoses, or to three-digit codes, will trigger
a warning.list
: explain all ICD-9 codes in a list of vectors factor
: explain factor of ICD-9 codes character
: explain character vector of ICD-9 codes numeric
: explain numeric vector of ICD-9 codes, with warning.
In general, this is not allowed because of the possible ambiguity of
numeric decimal codes, but for convenience, this is allowed in this case to
avoid typing many quotes.
icd9ExplainShort(ahrqComorbid[[1]][1:3])
icd9Explain(ahrqComorbid[[1]][1:3], brief = TRUE)
Run the code above in your browser using DataLab