Using the equivalent get_leaf() is preferred.

get_billable(...)

# S3 method for icd9
get_billable(...)

# S3 method for icd9cm
get_billable(x, short_code = guess_short(x), invert = FALSE, ...)

# S3 method for icd10
get_billable(x, short_code = guess_short(x), invert = FALSE, ...)

# S3 method for icd10cm
get_billable(x, short_code = guess_short(x), invert = FALSE, ...)

# S3 method for default
get_billable(x, short_code = guess_short(x), ...)

Arguments

...

arguments passed on to other functions

x

input vector of ICD codes

short_code

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.

invert

Single logical value. Returns the inverse of the result. E.g. if seeking valid ICD-9 codes, the invalid ones are returned.

Methods (by class)

  • icd9: Prefer 'leaf' to 'billable' for generality.

  • icd9cm: Prefer 'leaf' to 'billable' for generality.

  • icd10: Prefer 'leaf' to 'billable' for generality.

  • icd10cm: Prefer 'leaf' to 'billable' for generality.

  • default: Prefer 'leaf' to 'billable' for generality.

See also