icd_get_billable: Get billable ICD codes

Description Usage Arguments Methods (by class)

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
icd_get_billable(...)

## Default S3 method:
icd_get_billable(x, short_code = icd_guess_short(x), ...)

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

## S3 method for class 'icd9'
icd_get_billable(...)

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

## S3 method for class '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



Search within the icd package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.