Scotland's Health Secretary Neil Gray has said the NHS is not in crisis.