get_leaf: Get billable ICD codes

Description Usage Arguments Methods (by class)

View source: R/real.R

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
get_leaf(...)

## Default S3 method:
get_leaf(x, short_code = guess_short(x), ...)

## S3 method for class 'icd9cm'
get_leaf(x, short_code = guess_short(x), invert = FALSE, ...)

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

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)


jackwasey/icd documentation built on Nov. 23, 2021, 9:56 a.m.