mjr and mnr vectors to single codeIn debug mode, will check that mjr and mnr are same length.
icd9MajMinToCode_alt_PrePadded(mjr, mnr, isShort)icd9MajMinToCode(mjr, mnr, isShort)
Deprecated. Single logical value which determines whether the
ICD-9 code provided is in short (TRUE) or decimal (FALSE)
form. Where reasonable, this is guessed from the input data.
character vector of 'major' part of ICD-9 codes, i.e. that part which falls before the decimal point, in decimal notation. (In five digit notation, the 'major' part is be the first three characters (with leading zeroes), and includes V or E prefix.
character vector of 'minor' part of ICD-9 codes, i.e. that part which falls after the decimal point, in decimal notation. (In 'short' five digit notation, the 'major' part is the first three characters including leading zeroes which may be inferred; the last two characters represent the 'minor' part.)
icd9MajMinToCode_alt_PrePadded: Same as icd9MajMinToCode but assume
codes are already trimmed and correctly padded with zeros, e.g. E001, V09,
001. This version does handle NA values correctly. ' @keywords internal