Glad you're OK Steven. Similar happened to me couple of years ago. Realised there's not a lot you can do to prevent rear end accidents apart from leaving bike in gear/ checking rear view at junctions if you're last in cue. That wouldn't have helped in your situation though!
As has been said tho, I would get a thorough checkout - especially if you're hurting. Hopefully everything's fine and just a bit of bruising but should be checked. Anyway medical opinions as far as insurance claims go should work in your favour, which might lead to more payout to help repair/ custom your ride...?
