Added function summarize_diag_codes