Using linear regression , the difficulty scale ( score range 0-2 from least to most difficult ) was modeled as a function of : patient requests for diagnostics tests , pain medications , and specialist referrals ; PCP perception of likely depression or likely substance abuse ; patient sociodemographics , comorbidity , depression ; PCP characteristics and practice setting .