Get billable ICD-9-CM codes

Share:

Description

Return only those codes which are leaf codes in the hierarchy. In contrast to defined codes, these are considered billable and not super-sets of other codes. The majority have sub-decimal classifications, but some are simply three-digit codes. This particular function is currently restricted to ICD-9-CM codes.

Usage

1
2
icd9cm_get_billable(x, short_code = icd_guess_short(x), invert = FALSE,
  icd9cm_edition = icd9cm_latest_edition())

Arguments

x

data, e.g. character vector, icd9, icd9cm

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.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.