Preheat oven to 350° F.
Place the oats in the bowl of a food processor and pulse until it resembles coarse flour. Add the flour, baking soda, cinnamon and salt and process until combined. Transfer to a large bowl.
Put the beans into the food processor and pulse along with the butter, brown sugar, egg and vanilla until smooth, scraping down the sides of the bowl.
Pour the bean mixture into the oat mixture and stir by hand until almost combined; add the chocolate chips, raisins, nuts, seeds and flaxseed and stir just until blended.
Drop large spoonfuls of dough onto a cookie sheet that has been sprayed with non-stick spray, and flatten each one a little with your hand. (I find this works best if I dampen my hands first.) Bake for 14-16 minutes, until pale golden around the edges but still soft in the middle. Transfer to a wire rack to cool.
Makes 2 dozen cookies.