Hardly comparable, you can't catch HIV just by being in the same room, there is no social stigma attached to having Covid and having the vaccine is largely for the protection of others.
So maybe not mandatory vaccination (except for health workers) but restrictions on what you can do if not vaccinated.