even though you only really lived there for a few days, you may still claim it to be your primary residence in the states. Off course, you may only claim one primary residence.
Why don't you put your parents' name on your purchase in China? that would solve all the tax problems. An irrevocable will should take care of any possible inheritance problem.