codes_between: List all codes between two sets of codes

Description Usage Arguments Value Examples

View source: R/codes_between.R

Description

codes_between returns a tibble of all ICD-10-CM codes occuring between two codes. The function uses the order number included in the source data from the CDC.

Usage

1
codes_between(start_code, end_code, expand_end_code = TRUE)

Arguments

start_code

A string with the starting ICD-10-CM code

end_code

A string with the ending ICD-10-CM code

expand_end_code

Boolean indicating whether to include all children of the end code

Value

Tibble of all matching ICD-10-CM rows from icd10cm

Examples

1
codes_between("F32", "F33")

vcastro/icd10us documentation built on Dec. 23, 2021, 3:02 p.m.