Generate random codes that fit the NHS number formatting specification. This is useful when generating synthetic patients or testing the varification functions.
generate_nhs(size = 1)
size | the number of codes you wish to generate |
---|
a character vector of length size
with NHS Numbers
#> [1] "2396756966"#> [1] "5214861621" "3192581336" "2736417666" "3928117696" "2676573152"