Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

icd9 (version 0.5)

icd9ShortToDecimal: convert short-form ICD-9 code to decimal form

Description

converts ICD-9 'short' form to decimal form

Usage

icd9ShortToDecimal(icd9Short, invalidAction = icd9InvalidActions)

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"
invalidAction
character string (unit length) containing one of: "ignore", "silent", "warn", "stop"

- ignore no check for validity of ICD-9 code is made implicitly. This is the fastest option. If the function call is explicitly to check validity, e

See Also

Other ICD-9 convert: icd9DecimalToShort; icd9DropLeadingZeroes, icd9DropLeadingZeroesDecimal, icd9DropLeadingZeroesMajor, icd9DropLeadingZeroesShort; icd9MajMinToDecimal, icd9MajMinToParts, icd9MajMinToShort, icd9PartsRecompose, icd9PartsToDecimal, icd9PartsToDecimal, icd9PartsToShort, icd9PartsToShort