icd_make_regex1: transform the ICD-10-CM codes into an operational regular...

Description Usage Arguments Value Examples

Description

transform the ICD-10-CM codes into an operational regular expression.

Usage

1

Arguments

x

input variable

Value

return the icd10cm as regular expressions with all the "x" not at the beginning of the icd10cm code replaced by '.' to match any character.

Examples

1
2
library(dplyr)
icd_make_regex1(c("X45x2", "Y65xx"))

epinotes/useicd10cm documentation built on Oct. 18, 2021, 2:33 a.m.