pd basecode