Description Usage Arguments Value Functions
This is different from syntactic validity: it looks it up in the
canonical list of ICD-9 codes published by the CMS, and which are included
in this package under extdata
. Checking syntactic validity using
link{icd9IsValid}
etc. is still useful, with a changing list of
icd-9 codes over time, and possible imperfections in the master lists
derived from CMS.
1 2 3 4 5 6 7 8 9 10 11 | icd9IsReal(icd9, isShort = icd9GuessIsShort(icd9), onlyBillable = FALSE)
icd9IsRealShort(icd9Short, onlyBillable = FALSE)
icd9IsRealDecimal(icd9Decimal, onlyBillable = FALSE)
icd9GetReal(icd9, isShort = icd9GuessIsShort(icd9), onlyBillable = FALSE)
icd9GetRealShort(icd9Short, onlyBillable = FALSE)
icd9GetRealDecimal(icd9Decimal, onlyBillable = FALSE)
|
icd9 |
is a character vector or factor of ICD-9 codes. If fewer than five characters is given in a code, then the digits are greedily assigned to hundreds, then tens, then units, before the decimal parts. E.g. "10" becomes "010", not "0010". |
isShort |
single logical value which determines whether the ICD-9 code provided is in short (TRUE) or decimal (FALSE) form. Where reasonable, this is guessed from the input data. |
onlyBillable |
single logical value (default |
icd9Short |
is a character vector of ICD-9 codes. If fewer than five characters is given in a code, then the digits are greedily assigned to hundreds, then tens, then units, before the decimal parts. E.g. "10" becomes "010", not "0010" |
icd9Decimal |
character vector of ICD-9 codes. If fewer than five characters is given in a code, then the digits are greedily assigned to hundreds, then tens, then units, before the decimal parts. E.g. "10" becomes "010", not "0010" |
logical vector
icd9IsRealShort
: Are the given short-form codes defined at heading or
leaf (billable) level?
icd9IsRealDecimal
: Are the given decimal-form codes defined at heading or
leaf (billable) level?
icd9GetReal
: Return only those codes which are heading or leaf
(billable), specifying whether codes are all short-form or all decimal-form
icd9GetRealShort
: Return only those short-form codes which are heading
or leaf (billable)
icd9GetRealDecimal
: Return only those decimal-form codes which are heading
or leaf (billable)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.