Overcrowded A&E departments mean patients are too often treated in inappropriate spaces.