Breaking
The government health motion is agreed to meaning defeat for the government
The government motion as amended is agreed to, with 62 MSPs for and with 61 against.
So it is defeat for the government.
Scottish ParliamentCopyright: Scottish Parliament
Scottish ParliamentCopyright: Scottish Parliament
Scottish ParliamentCopyright: Scottish Parliament
Scottish ParliamentCopyright: Scottish Parliament
The Lib Dem amendment is also agreed to
The Lib Dem amendment is agreed to with 62 MSPs backing it and 61 against.
Looks like another defeat for the government.
Scottish ParliamentCopyright: Scottish Parliament
BBCCopyright: BBC
Lib Dem MSP Alex Cole-Hamilton's amendment is agreed to following a vote.
Image caption:
Lib Dem MSP Alex Cole-Hamilton's amendment is agreed to following a vote.
The Labour amendment is agreed to
The Labour amendment is not agreed to, with 62 MSPs agreeing to it and 61 against.
Scottish ParliamentCopyright: Scottish Parliament
BBCCopyright: BBC
Labour MSP Anas Sarwar's amendment is agreed to following a vote.
Image caption:
Labour MSP Anas Sarwar's amendment is agreed to following a vote.
The Tory amendment is agreed to unanimously
The Tory amendment is agreed to unanimously.
Scottish ParliamentCopyright: Scottish Parliament
Decision time
We now move to decision time.
The teams in the Scottish Patient Safety Programme are ambitious says minister
Labour MSP Elaine Smith asks if waiting up to 24 weeks for hip replacements is acceptable.
Public Health Minister Aileen Campbell says there is capacity in the Golden Jubilee and she says the government is making capacity to cope with demand.
The minister says the teams in the Scottish Patient Safety Programme are ambitious going forward.
She says the improvement approach is being spread beyond health and care.
ScieCopyright: Scie
Ms Campbell says we must be aware of consistent negativity on staff.
The Scottish Patient Safety Programme (SPSP) is a unique national programme that aims to improve the safety and reliability of healthcare and reduce harm, whenever care is delivered.
'We have a ticking time-bomb of GPs queueing up to retire.'
Labour MSP Colin Smyth says all member have acknowledged the successful impact of the Scottish Patient Safety Programme (SPSP).
He says: "It is important we build on the success of the programme."
Mr Smyth highlights the impact of deprivation and health inequalities.
bbcCopyright: bbc
Labour MSP Colin SmythImage caption: Labour MSP Colin Smyth
He says there is not enough staff in the NHS for them to keep up with growing demand.
"We have a ticking time-bomb of GPs queueing up to retire."
He says: "Yes, it is a crisis."
'Staffing crisis' can present problems for staff safety as well as patient safety
BBCCopyright: BBC
Lib Dem MSP Alex Cole-HamiltonImage caption: Lib Dem MSP Alex Cole-Hamilton
In closing for his party, Lib Dem MSP Alex Cole-Hamilton says there are huge advances in patient safety because of this plan.
Mr Cole-Hamilton says all the amendments are similar and that is completely uncoordinated.
The Lib Dem MSP say it is appropriate to bring up the "staffing crisis" in the NHS because this can present problems for staff safety as well as patient safety.
Mr Cole-Hamilton says he hopes the government will respond to his call for a national strategy for dementia patients and dementia wards.
He says "we are far from a step change in mental health."
Tory criticism about 'the government and its lack of action'
BBCCopyright: BBC
Tory MSP Jeremy BalfourImage caption: Tory MSP Jeremy Balfour
Tory MSP Jeremy Balfour says the care provided by NHS staff is "fantastic" and just because his party comments on some of the government's policies does not mean they should be accused of "attacking front line staff".
SNP MSP Clare Haughey intervenes to ask Mr Balfour to reflect on the language used by his colleagues and says words like "crisis" has an affect on NHS staff.
Mr Balfour says it has "nothing to do with the front line staff and all to do with the government and its lack of action".
This is making a real difference in people's lives - SNP MSP
BBCCopyright: BBC
SNP MSP Clare HaugheyImage caption: SNP MSP Clare Haughey
SNP MSP Clare Haughey says when violence drops to a quarter of previous levels and self harm drops to a third, this is making a real difference in peoples lives.
"This should be applauded," she says.
'We should be proud of the staff that led this challenging work'
Live Reporting
Craig Hutchison and Colin Bell
All times stated are UK

BBCCopyright: BBC View more on twitterView more on twitter View more on twitterView more on twitter View more on twitterView more on twitter View more on twitterView more on twitter 
Scottish ParliamentCopyright: Scottish Parliament 
Scottish ParliamentCopyright: Scottish Parliament 
Scottish ParliamentCopyright: Scottish Parliament 
Scottish ParliamentCopyright: Scottish Parliament 
Scottish ParliamentCopyright: Scottish Parliament 
BBCCopyright: BBC
Lib Dem MSP Alex Cole-Hamilton's amendment is agreed to following a vote.
Image caption:
Lib Dem MSP Alex Cole-Hamilton's amendment is agreed to following a vote.

Scottish ParliamentCopyright: Scottish Parliament 
BBCCopyright: BBC
Labour MSP Anas Sarwar's amendment is agreed to following a vote.
Image caption:
Labour MSP Anas Sarwar's amendment is agreed to following a vote.

Scottish ParliamentCopyright: Scottish Parliament 
ScieCopyright: Scie 
Science Photo LibraryCopyright: Science Photo Library More clashes in the chamber over NHS staffing levelsImage caption: More clashes in the chamber over NHS staffing levels 
BBCCopyright: BBC Public Health Minister Aileen CampbellImage caption: Public Health Minister Aileen Campbell 
What Matter To YouCopyright: What Matter To You What Matter To YouImage caption: What Matter To You 
BBCCopyright: BBC 
Scottish Patient Safety ProgrammeCopyright: Scottish Patient Safety Programme Scottish Patient Safety ProgrammeImage caption: Scottish Patient Safety Programme 
bbcCopyright: bbc Labour MSP Colin SmythImage caption: Labour MSP Colin Smyth 
BBCCopyright: BBC Lib Dem MSP Alex Cole-HamiltonImage caption: Lib Dem MSP Alex Cole-Hamilton 
BBCCopyright: BBC Tory MSP Jeremy BalfourImage caption: Tory MSP Jeremy Balfour 
BBCCopyright: BBC SNP MSP Clare HaugheyImage caption: SNP MSP Clare Haughey 
BBCCopyright: BBC Greens MSP Alison JohnstoneImage caption: Greens MSP Alison Johnstone
Latest PostGood night from Holyrood Live
That's all from Holyrood live for Thursday 2 March 2017.
We'll be back on Tuesday.
Have a good weekend.
Post update
Post update
Post update
Post update
Breaking The government health motion is agreed to meaning defeat for the government
The government motion as amended is agreed to, with 62 MSPs for and with 61 against.
So it is defeat for the government.
The Lib Dem amendment is also agreed to
The Lib Dem amendment is agreed to with 62 MSPs backing it and 61 against.
Looks like another defeat for the government.
The Labour amendment is agreed to
The Labour amendment is not agreed to, with 62 MSPs agreeing to it and 61 against.
The Tory amendment is agreed to unanimously
The Tory amendment is agreed to unanimously.
Decision time
We now move to decision time.
The teams in the Scottish Patient Safety Programme are ambitious says minister
Labour MSP Elaine Smith asks if waiting up to 24 weeks for hip replacements is acceptable.
Public Health Minister Aileen Campbell says there is capacity in the Golden Jubilee and she says the government is making capacity to cope with demand.
The minister says the teams in the Scottish Patient Safety Programme are ambitious going forward.
She says the improvement approach is being spread beyond health and care.
Ms Campbell says we must be aware of consistent negativity on staff.
She says staffing has increased in the NHS.
Mr Sarwar asks if BMA chair Peter Bennie was right and the NHS staffing crisis will lead to a system breakdown.
Ms Campbell hits back saying the government is developing a workforce plan and it is aware there are challenges.
She says it was the SNP that pledged the most funding for the NHS in the last election.
It is important to get the older community more active - minister
Public Health Minister Aileen Campbell says "while we are not blind to the challenges" it is right to recognise the successes of this programme.
Ms Cambell says there has been a lot of consensus in the chamber.
The public health minister says there has been a reduction in falls right across the country.
She says it is important to get the older community more active.
What matters to you?
Mr Briggs says it is important for all parts of the health service to share the aims of the safety programme and to share best practice.
The Tory MSP says many patients can find hospitals a disorienting environment in the acute wards.
He points to the What Matters To You Boards at a patients bedside has helped to personalise care and relieve despair.
Mr Briggs says when the Royal College of GPs and the RCN say there is a crisis in staffing MSPs have a duty to raise the issue.
Key issues around midwife recruitment says Tory MSP
Tory MSP Miles Briggs says all of the members can support the aims of the Patient Safety Programme.
Mr Briggs says there are key issues around midwife recruitment.
The Tory MSP says technology will play a "huge role".
He says there is some very positive data in the report and parliament should pay tribute to all those who work in the NHS.
Background: What is the Scottish Patient Safety Programme?
The Scottish Patient Safety Programme (SPSP) is a unique national programme that aims to improve the safety and reliability of healthcare and reduce harm, whenever care is delivered.
Click here to find out more.
'We have a ticking time-bomb of GPs queueing up to retire.'
Labour MSP Colin Smyth says all member have acknowledged the successful impact of the Scottish Patient Safety Programme (SPSP).
He says: "It is important we build on the success of the programme."
Mr Smyth highlights the impact of deprivation and health inequalities.
He says there is not enough staff in the NHS for them to keep up with growing demand.
"We have a ticking time-bomb of GPs queueing up to retire."
He says: "Yes, it is a crisis."
'Staffing crisis' can present problems for staff safety as well as patient safety
In closing for his party, Lib Dem MSP Alex Cole-Hamilton says there are huge advances in patient safety because of this plan.
Mr Cole-Hamilton says all the amendments are similar and that is completely uncoordinated.
The Lib Dem MSP say it is appropriate to bring up the "staffing crisis" in the NHS because this can present problems for staff safety as well as patient safety.
Mr Cole-Hamilton says he hopes the government will respond to his call for a national strategy for dementia patients and dementia wards.
He says "we are far from a step change in mental health."
Tory criticism about 'the government and its lack of action'
Tory MSP Jeremy Balfour says the care provided by NHS staff is "fantastic" and just because his party comments on some of the government's policies does not mean they should be accused of "attacking front line staff".
SNP MSP Clare Haughey intervenes to ask Mr Balfour to reflect on the language used by his colleagues and says words like "crisis" has an affect on NHS staff.
Mr Balfour says it has "nothing to do with the front line staff and all to do with the government and its lack of action".
This is making a real difference in people's lives - SNP MSP
SNP MSP Clare Haughey says when violence drops to a quarter of previous levels and self harm drops to a third, this is making a real difference in peoples lives.
"This should be applauded," she says.
'We should be proud of the staff that led this challenging work'
Greens MSP Alison Johnstone says workforce shortages undermines NHS staff.
Ms Johnstone says many of scotland's neonatal units do not have enough nurses in post.
The Greens MSP says the Patient Safety Programme set ambitious goals and has surpassed most of them.
She says she is glad the Patient Safety Programme is moving into care homes and that we need to promote high standard of safety.
"We should be proud of the staff that led this challenging work," she says.