Community to help shape major hospital emergency department overhaul