icd_children_defined: defined children of ICD codes

Description Usage Arguments Methods (by class) Examples

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)

  • icd10cm: Internal function to get the children of ICD-10 code(s)

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)


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.