Analysis of trends in emergency and elective hospital admissions and hospital bed days 1997 to 2015