Learn R Programming

icd (version 2.2)

icd_expand_range_major: Expand major codes to range

Description

Expand a pair of major codes into a range of major codes. This was previously exported, but is now going to be available only with :::, and icd_expand_range will follow. This was never supposed to be a user facing function.

Usage

icd_expand_range_major(start, end)

# S3 method for default icd_expand_range_major(start, end)

# S3 method for icd10cm icd_expand_range_major(start, end)

# S3 method for icd9 icd_expand_range_major(start, end, defined = TRUE)

Arguments

Methods (by class)

  • default: Expand range of top-level, 'major' codes of unknown type

  • icd10cm: Expand range of top-level ICD-10 codes

  • icd9: Expand a range of ICD-9 major codes into major codes