The health code is bound to personal information and changes according to the time limit. If you have been to a high-risk area in recent 14 days, the health code will change color if you stay in your mobile phone for an hour.
There is a yellow code at home, which will not affect the family's travel, because the yellow code will not cause the family's health code to turn yellow, and the family's health code is still green, so the family can pass normally.