# get_billable: Get the subset of codes that are billable according to... In icd: Comorbidity Calculations and Tools for ICD-9 and ICD-10 Codes

## Description

Using the equivalent `get_leaf()` is preferred.

## Usage

 ``` 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16``` ```get_billable(...) ## S3 method for class 'icd9' get_billable(...) ## S3 method for class 'icd9cm' get_billable(x, short_code = guess_short(x), invert = FALSE, ...) ## S3 method for class 'icd10' get_billable(x, short_code = guess_short(x), invert = FALSE, ...) ## S3 method for class 'icd10cm' get_billable(x, short_code = guess_short(x), invert = FALSE, ...) ## Default S3 method: 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.

`is_leaf()`