The controversial GP contract which gave surgeries money for ticking off a list of things they had done for patients is being "dismantled" in Scotland.

Health Secretary Shona Robison announced the radical move at a major GP conference, attended by around 2000 UK doctors, in Glasgow.

Ms Robison said she had instructed her officials to work with the British Medical Association to dismantle the payment system (known as QOF) ready for a new funding deal in 2017.

"The QOF has delivered many innovations, but its time has passed," she said.

The move is expected to be welcomed by GPs. The Royal College of General Practitioners, who were holding the conference, have been calling for QOF to be abolished.

Introduced  in 2004 the points make prizes funding system paid doctors for doing different activities such as monitoring and reducing patients' blood pressure. It has been criticised for the amount of paperwork involved and doctors hope losing it will free them to concentrate more on patient care.

Ms Robson spoke of moving to a regime where surgeries worked in clusters to meet the needs of their communities.

In her speech, which was well received despite anger earlier this week about the lack of progress addressing serious concerns about the shortage of family doctors and snowballing workload pressures in Scotland, Ms Robson also promised that increasing investment in community healthcare was one of her key priorities.

Westminster's stance on junior doctor hours and pay was also attacked by the minister who vowed not to follow the same path.