Returns subset of codes which are not in valid short_code or decimal format.
get_invalid(...)# S3 method for default
get_invalid(x, short_code = guess_short(x), ...)
# S3 method for icd9
get_invalid(x, short_code = guess_short(x), ...)
# S3 method for icd10
get_invalid(x, short_code = guess_short(x), ...)
# S3 method for comorbidity_map
get_invalid(x, short_code = guess_short(x),
...)
vector of ICD codes, or list of vectors of ICD codes forming a comorbidity map
default
: Default method when ICD version or short versus
decimal not known.
icd9
: Get invalid ICD-9 codes from vector of codes
icd10
: Get invalid ICD-10 codes from vector of codes
comorbidity_map
: Get invalid elements of a comorbidity map