When I spoke with someone at Vanderbilt, he only said that the pre-reqs had to be from an accredited institution. If the online course is offered at such an institution, you should be fine. Send me a PM, if you like. I'm curious who you talked to ...