Learn R Programming

icd9 (version 1.0)

icd9Is: are the given codes numeric, V or E type?

Description

Quickly find V or E codes, without any validation.

Usage

icd9IsV(icd9)

icd9IsE(icd9)

icd9IsVE(icd9)

icd9IsN(icd9)

Arguments

icd9

is a character vector of ICD-9 codes. If fewer than five characters is given in a code, then the digits are greedily assigned to hundreds, then tens, then units, before the decimal parts. E.g. "10" becomes "010", not "0010"