icd_showchanges: Show historical changes to selected ICD-10-GM codes

View source: R/icd_showchanges.R

icd_showchangesR Documentation

Show historical changes to selected ICD-10-GM codes

Description

Show all changes in ICD history relating to the 3-digit codes contained in the data.frame icd_in. The output of icd_expand can be passed directly to this function to display relevant changes.

Usage

icd_showchanges(icd_in, years = NULL)

Arguments

icd_in

Data frame created by icd_expand(), containing codes to check

years

Years to check, corresponding to the variable year_from in icd_meta_transition

Value

data.frame, as icd_meta_transition, with labels icd_from_label and icd_to_label

See Also

icd_showchanges_icd3() to provide one or more three-digit codes as input

Examples

dat_icd <- icd_expand(
   data.frame(ICD_SPEC = c("K52.9")),
   col_icd = "ICD_SPEC",
   year = 2019)
icd_showchanges(dat_icd)


ICD10gm documentation built on March 7, 2023, 7:03 p.m.