icd_children_defined: defined children of ICD codes

Description Usage Arguments Methods (by class) Examples

View source: R/children.R

Description

Find defined ICD-10 children based on 2016 ICD-10-CM list. "defined" may be a three digit code, or a leaf node. This is distinct from 'billable'.

Usage

1
2
3
4
5
icd_children_defined(x)

## S3 method for class 'icd10cm'
icd_children_defined(x, short_code = icd_guess_short(x),
  warn = FALSE)

Arguments

warn

single logical value, if TRUE will generate warnings when some input codes are not known ICD-10-CM codes

use_cpp

single logical flag, whether to use C++ version

Methods (by class)

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
library(microbenchmark)
microbenchmark::microbenchmark(
  icd:::icd_children_defined.icd10cm("A01"),
  icd:::icd_children_defined_r.icd10cm("A01")
stopifnot(identical(icd:::icd_children_defined.icd10cm("A00"),
  icd:::icd_children_defined_r.icd10cm("A00")))

## End(Not run)

icd documentation built on May 30, 2017, 1:48 a.m.