Until last week, Massachusetts was one of the last holdouts in the country that did not formally consider a psychologist to be a "physician" under the civil procedural rule that allows judges to order parties to submit to physical or mental examinations.