Poor planning has clogged Australia's emergency departments with older, sicker people and the problem is worse in the regions.