Learn R Programming

icd9 (version 1.3.1)

icd9ShortToDecimal: Convert ICD-9 codes between short and decimal forms

Description

Convert ICD-9 codes between short and decimal forms

Usage

icd9ShortToDecimal(icd9Short)
icd9DecimalToShortOld(icd9Decimal)

Arguments

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"
icd9Decimal
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"