NHS trusts in Wales have succeeded in their unanimous push to bring about their own demise.

The Welsh Assembly government is to consult on creating seven new local organisations to replace the trusts and local health boards - effectively merging the provision of secondary care with primary and community care.

A new national board will be responsible for planning and possibly funding NHS services across the principality.

Health minister Edwina Hart said she would decide its structure and membership over the summer.

The announcement came after a 12-week consultation that originally proposed cutting local health boards from 22 to eight and moving some community services from trusts to local boards.

Ms Hart said: "A very strong consensus emerged during consultation that proposals in the consultation paper should go further, and that I should consider establishing seven health organisations in Wales to take on the functions currently carried out by both NHS trusts and local health boards."

Cardiff and Vale trust chief executive Hugh Ross said trusts had "recommended their own abolition". Chairs submitted a joint response to the consultation as well as their individual submissions calling for trusts and local health boards to be replaced.

Cardiff and Vale trust consulted its 1,400 staff. "The overwhelming response was that people felt we should clear away all existing bodies," Mr Ross said.

Marcus Longley, acting director of the Welsh Institute for Health and Social Care, said governance arrangements would be crucial to ensuring "this is not just a carte blanche for secondary care to take over".

He also questioned how closely the public could be involved with "fewer, larger, more remote health service bodies" and said the status of the national board would be crucial.

"Is the minister going to have a national board which essentially is her creature or is she going to set up a board with autonomy?" he asked.

Welsh NHS Confederation director Mike Ponton said the new structure "will depend on all NHS staff working together to create seamless services for patients and deliver more care out of hospital".

He said organisations must build on the good work done by local boards to maintain close links with communities and local authorities.