To test the hypothesis that racial biases in opioid prescribing would be more likely under high levels of cognitive load , defined as the amount of mental activity imposed on working memory , which may come from environmental factors such as stressful conditions , chaotic workplace , staffing insufficiency , and competing demands , one 's own psychological or physiological state , as well as from demands inherent in the task at hand .