It is an infringement to disclose other people's health codes. Because the health code belongs to other people's personal information, citizens' personal information is protected by law. If the personal information of others is disclosed without the consent of others, the infringer shall bear civil liability.
Legal objectivity:
Article 1032 of the Civil Code of People's Republic of China (PRC) stipulates that natural persons have the right to privacy. No organization or individual may infringe upon the privacy rights of others by spying, harassing, exposing or making public. Privacy is the private space, private activities and private information that natural people live in peace and don't want to be known by others. Article 110 of the Civil Law of People's Republic of China (PRC) stipulates that natural persons have the right to life, body, health, name, portrait, reputation, honor, privacy and marital autonomy. Legal persons and unincorporated organizations enjoy the right of name, reputation and honor.