When are health codes assigned?

72 hours.

It is updated every three days, that is, 72 hours.

The health code is valid for three days, that is, it needs to be updated every three days. Before the extension, health registration must be completed at least once within the validity period, otherwise it will become a yellow code, and the yellow code and the red code cannot pass the bayonet inspection.