Description Usage Arguments Value Functions
Codes provided are compared to the most recent version of the CMS list of billable codes, or another version if specified.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | icd9IsBillable(icd9, isShort = icd9GuessIsShort(icd9),
version = getLatestBillableVersion())
icd9IsBillableShort(icd9Short, version = getLatestBillableVersion())
icd9IsBillableDecimal(icd9Decimal, version = getLatestBillableVersion())
icd9GetBillable(icd9, isShort = icd9GuessIsShort(icd9), invert = FALSE,
version = getLatestBillableVersion())
icd9GetBillableShort(icd9Short, version = getLatestBillableVersion())
icd9GetBillableDecimal(icd9Decimal, version = getLatestBillableVersion())
icd9GetNonBillableShort(icd9Short, version = getLatestBillableVersion())
icd9GetNonBillableDecimal(icd9Decimal, version = getLatestBillableVersion())
icd9GetNonBillable(icd9, isShort = icd9GuessIsShort(icd9),
version = getLatestBillableVersion())
|
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. |
version |
single character string, default is "32" which is the latest release from CMS. Currently anything from "23" to "32" is accepted. Not numeric because there are possible cases with non-numeric names, e.g. revisions within one year, although none currently implemented. |
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" |
invert |
single logical value, if |
logical vector of same length as input
icd9IsBillableShort
: Are the given short-form codes leaf (billable)
codes in the hierarchy?
icd9IsBillableDecimal
: Are the given decimal-form codes leaf (billable)
codes in the hierarchy?
icd9GetBillable
: Return only those codes which are leaf (billable)
codes in the hierarchy.
icd9GetBillableShort
: Return only those short-form codes which are leaf
(billable) codes in the hierarchy.
icd9GetBillableDecimal
: Return only those decimal-form codes which are
leaf (billable) codes in the hierarchy.
icd9GetNonBillableShort
: Return only those short-form codes which are not
leaf (billable) codes in the hierarchy. This would include invalid and
heading codes.
icd9GetNonBillableDecimal
: Return only those decimal-form codes which are not
leaf (billable) codes in the hierarchy. This would include invalid and
heading codes.
icd9GetNonBillable
: Return only those codes which are not leaf
(billable) codes in the hierarchy. This would include invalid and heading
codes. Codes are specified (or guessed) to be all decimal- or short-form.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.