Learn R Programming

icd (version 2.2)

icd_get_billable: Get billable ICD codes

Description

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.

Usage

icd_get_billable(...)

# S3 method for default icd_get_billable(x, short_code = icd_guess_short(x), ...)

# S3 method for icd9cm icd_get_billable(x, short_code = icd_guess_short(x), invert = FALSE, icd9cm_edition = icd9cm_latest_edition(), ...)

# S3 method for icd9 icd_get_billable(...)

# S3 method for icd10cm icd_get_billable(x, short_code = icd_guess_short(x), invert = FALSE, icd10cm_edition = "2016", ...)

# S3 method for icd10 icd_get_billable(x, short_code = icd_guess_short(x), invert = FALSE, icd10cm_edition = "2016", ...)

Arguments

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.

icd9cm_edition

e.g. "32", not ICD-9 vs ICD-10

Methods (by class)

  • 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