Description Usage Arguments Methods (by class)
Given vector of short_code or decimal ICD-9 codes, return (in the same format) those codes which are valid or invalid. Useful for generating error messages with the faulty codes if validation fails.
1 2 3 4 5 6 7 8 9 10 11 12 13 | get_valid(x, short_code = guess_short(x))
## S3 method for class 'character'
get_valid(x, short_code = guess_short(x))
## S3 method for class 'icd9'
get_valid(x, short_code = guess_short(x))
## S3 method for class 'icd10'
get_valid(x, short_code = guess_short(x))
## S3 method for class 'icd10cm'
get_valid(x, short_code = guess_short(x))
|
x |
input vector of ICD codes |
short_code |
single logical value which determines whether the ICD-9
code provided is in short ( |
character
: get valid ICD codes from character vector, guessing ICD
version
icd9
: Get valid ICD-9 codes
icd10
: Get valid ICD-10 codes, currently based on ICD-10-CM
structure, which is a super-set of WHO ICD-10
icd10cm
: Get valid ICD-10-CM codes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.