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.

icd_showchanges(icd_in, col_icd = "ICD")

Arguments

icd_in

Data frame defining ICD codes of interest

col_icd

Column of icd_in containing ICD codes (Default: ICD)

Value

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