gen_codes: Generate icd code space

Description Usage Arguments Value See Also

View source: R/example_analysis__hes_ip.R

Description

Generate all possible (valid and invalid) icd10 codes of the form [A-Z][0-9]nn where nn is either two or three digits in length (or both).

Usage

1
gen_codes(len = c("len3", "len4", "len34"))

Arguments

len

Overall length of code. 3 corresponds to Xnn, 4 to Xnnn, 34 to both.

Value

(character vector) All possible codes

See Also

Other examples_of_analysis: ab_labels_from_breaks, create__dummy_hesip, create_lu_ageband, create_lu_gender, examples_of_analysis, main__example_analysis__aa_morbidity, main__example_analysis__ac_morbidity, main__example_analysis__sa_morbidity, main__example_analysis__uc_morbidity, main__examples_analysis, ricd10


ianbatesncc/aafractions.ncc documentation built on May 3, 2019, 3:34 p.m.