Measuring appropriate use of acute beds