A Methodology to Optimise Patient Flows at Emergency Departments by Analysing Combined Effects of Different Admissions