Community-based mental health care: to what extent are services costs associated with clinical, social and service history variables?