Skip to contents

Show all changes in ICD history relating to the 3-digit codes contained in a given vector icd

Usage

icd_showchanges_icd3(icd3)

Arguments

icd3

Vector of three-digit ICD codes

Value

data.frame with columns YEAR, ICD_CODE, ICD_LABEL and, if specified, DIAG_GROUP

See also

icd_showchanges() if the input has been generated by icd_expand()

Examples

icd_showchanges_icd3("A09")
#>       year_from year_to icd_from icd_to automatic_forward automatic_backward
#> 66424      2009    2010      A09  A09.0                                    A
#> 66425      2009    2010      A09  A09.9                                     
#> 70775      2009    2010    K52.9  A09.9                                     
#>       change_5 change_4 change_3 change icd3 icd_kapitel
#> 66424     TRUE    FALSE    FALSE   TRUE  A09           A
#> 66425     TRUE    FALSE    FALSE   TRUE  A09           A
#> 70775    FALSE    FALSE     TRUE   TRUE  A09           A