Learn R Programming

ICD10gm (version 1.2.5)

icd_showchanges: 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)

Value

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

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

See Also

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

Examples

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

Run the code above in your browser using DataLab