Get billable ICD codes, implicitly, this refers to an ICD implementation which is specialized for a country, typically for billing, e.g. ICD-9-CM in the USA.
get_billable(...)# S3 method for default
get_billable(x, short_code = guess_short(x), ...)
# S3 method for icd9cm
get_billable(x, short_code = guess_short(x),
invert = FALSE, icd9cm_edition = icd9cm_latest_edition(), ...)
# S3 method for icd9
get_billable(...)
# S3 method for icd10cm
get_billable(x, short_code = guess_short(x),
invert = FALSE, icd10cm_edition = "2016", ...)
# S3 method for icd10
get_billable(x, short_code = guess_short(x),
invert = FALSE, icd10cm_edition = "2016", ...)
icd_get_billable(...)
icd_get_billable.icd9(...)
icd_get_billable.icd9cm(...)
icd_get_billable.icd10(...)
icd_get_billable.icd10cm(...)
arguments passed on to other functions
input vector of ICD codes
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.
Single logical value. Returns the inverse of the result. E.g. if seeking valid ICD-9 codes, the invalid ones are returned.
e.g. "32", not ICD-9 vs ICD-10
arguments passed on to other functions
arguments passed on to other functions
arguments passed on to other functions
arguments passed on to other functions
default: Get billable ICD codes, guessing whether ICD-9
or ICD-10, and code short vs decimal type.
icd9cm: Get billable ICD-9-CM codes
icd9: Get billable ICD-9 codes, which is currently
implemented assuming ICD-9-CM
icd10cm: Get billable, i.e. leaf nodes from ICD-10-CM
icd10: Get billable, i.e. leaf nodes from ICD-10-CM
Future versions of icd will drop
the icd_ prefix. For example, charlson should be used in
favor of icd_charlson. To distinguish icd function calls,
consider using the prefix icd:: instead, e.g., icd::charlson.
Functions which specifically operate on either ICD-9 or ICD-10 codes or
their sub-types will retain the prefix. E.g.
icd9_comorbid_ahrq. icd specific classes also retain
the prefix, e.g., icd_wide_data.