infection trend summarizer refactor