Learn R Programming

icd (version 3.3)

icd9cm_get_billable: Get billable ICD-9-CM codes

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

icd9cm_get_billable(x, short_code = 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.