Relationship between provider type and the attainment of treatment goals in primary care.