By law, there's really no restriction on how soon you can go out of Canada after your landing. But you should keep in mind that if you stay more than 6 months in a year outside Canada, you may fail to enter again.
btw, how long will you stay in China after your landing?
I am not Doctor, hehe.. just call me Sailor.