icd9Short
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"
leadingZeroes
logical whether to fill out major part with zeroes, or
just truncate to the left. If E code, there is no valid code since
E800-E999 is defined. V codes could be V0x or Vxx, and so could be zero
padded.
keepLoneDecimal
logical. Since the presence or absence of a trailing
zero in an ICD-9 code can make a difference, when converting to decimal, we
have a situation where we do not want to add trailing zeroes, but may wish
to preserve the decimal point. If this is desired,