implement Doctor.all class method