Learn R Programming

icd (version 3.3)

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 expand_range will follow. This was never supposed to be a user facing function.

Usage

expand_range_major(start, end)

# S3 method for default expand_range_major(start, end)

# S3 method for icd10cm expand_range_major(start, end)

# S3 method for icd9 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