Green, mucous poop with tiny blood specs

So, my 9-week-old is a super happy baby, but her poops have started looking like this.. she goes a while (few hours) without pooping and then it explodes out of her. This poop was the worst one yet and it has tiny flecks of blood in it. Should I start cutting things out now while I wait for a doctors appointment?