expand_range_major: Expand two major codes to a range

View source: R/ranges.R

expand_range_majorR Documentation

Expand two major codes to a range

Description

Expand a pair of major codes into a range of major codes.

Usage

expand_range_major(start, end, defined = TRUE)

## Default S3 method:
expand_range_major(start, end, defined = TRUE)

## S3 method for class 'icd10cm'
expand_range_major(start, end, defined = TRUE)

## S3 method for class 'icd9'
expand_range_major(start, end, defined = TRUE)

Arguments

...

arguments passed on to other functions

Details

Primarily for internal use

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

Examples

expand_range_major("100", "102")

jackwasey/icd documentation built on Dec. 22, 2024, 4:47 a.m.