As final submissions are made to the Scottish Hospitals Inquiry, we now have a clearer picture of what went wrong.