Skip to contents

Check if code is HCPCS Level 1 Category I (CPT)

Usage

is_category_I(x, arg = rlang::caller_arg(x), call = rlang::caller_env())

Arguments

x

<chr> string of length(1)

arg

<chr> function argument name in the current function

call

<environment> environment the function is called from

Value

<lgl>

TRUE if valid, FALSE otherwise

a tibble

Examples

is_category_I("11646")
#> [1] TRUE

is_category_I("1164F")
#> [1] FALSE