icd_showchanges {ICD10gm}R 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)


[Package ICD10gm version 1.2.5 Index]