Learn R Programming

icd9 (version 0.2.1)

icd9ExpandRangeDecimal: expand range of ICD-9 decimal codes to all possible intermediate and sub-codes

Description

As with link{icd9ExpandRangeShort} great care is taken not to include codes which have children not in the range. E.g. "100.9" to "101.1" would _not_ include code "101".

Usage

icd9ExpandRangeDecimal(start, end, invalidAction = c("stop", "ignore",
  "silent", "warn"))

start %i9d% end

Arguments

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 ranges: %i9mj%; %i9s%, icd9ExpandRangeShort; icd9ChildrenDecimal; icd9Children, icd9ChildrenShort; icd9CondenseShort; icd9CondenseToExplainShort; icd9ExpandMinor, icd9ExpandMinorE, icd9ExpandMinorNV; icd9PrecedingMinors, icd9SubsequentMinors