It could be IBS, it could also be so many other things. Since it's been a few weeks, it's time to get it checked out.
It could be an ovarian cyst, diverticulitis, or a host of other things, but you'll need an exam and maybe some testing to determine that.
Let us know what happens and I hope you feel better soon.