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.
Arguments
- icd_in
Data frame created by
icd_expand()
, containing codes to check- years
Years to check, corresponding to the variable
year_from
inicd_meta_transition
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)
#> year_from year_to icd_from icd_to automatic_forward automatic_backward
#> 1 2009 2010 K52.9 A09.9
#> change_5 change_4 change_3 change icd3 icd_kapitel
#> 1 FALSE FALSE TRUE TRUE A09 A
#> icd_from_label
#> 1 Nichtinfektiöse Gastroenteritis und Kolitis, nicht näher bezeichnet
#> icd_to_label
#> 1 Sonstige und nicht näher bezeichnete Gastroenteritis und Kolitis nicht näher bezeichneten Ursprungs