I'm with Tom. As long as you are OK take it as a lesson learned.
I know what you mean though.I almost got doored riding home on Tuesday and I should know better, but I got comfortable and didn't see this guy just sitting in his car suddenly start opening the door. Good thing I am loud and had a little room to dodge a painful incident.