Nonsmooth Bifurcations And The Role Of Density Dependence In A Chaotic Infectious Disease Model