Preheat oven to 350°F (175°C) and grease a 7x11-inch baking dish.
In a large bowl, combine oats, flour, brown sugar, baking powder, and salt.
Add beaten egg, melted butter, and vanilla extract, mixing well.
Press half of the oat mixture into the prepared baking dish.
Heat raspberry preserves slightly and spread them evenly over the base.
Crumble the remaining oat mixture on top of the preserves.
Bake for 25-30 minutes until the top is golden brown.
Let the bars cool completely before slicing into squares.