The effect of quality assurance activities on the quality of mental health services.