The invention relates to the field of synthesizing high molecular weight chemical compounds that exhibit biological activity for the production of highly effective pharmacological preparations and vaccines and more specifically to heterochain aliphatic poly N oxide copolymers of general formula (1) where R = N CH x = 2 or 4 y = 0 or 2 n = 10 1000 q = (0.1 0.9)n z = (0.1 0.9)n which exhibit pharmacological activity including an antioxidant effect and a therapeutic effect as a detoxicant and immunomodulating agent. Also claimed are: a vaccinating agent comprising an antigen and a formula (1) copolymer as an immunomodulating agent and a vaccine against hepatitis A and hepatitis B which contains a vaccine preparation comprising HVA Ag and HBsAg simultaneously or vaccine preparations against hepatitis A and against hepatitis B and a formula (1) heterochain aliphatic poly N oxide copolymer. A drug is described which comprises a medicinal substance and a formula (1) copolymer as a carrier. The invention represents a new class of compounds that exhibit a wide range of pharmacological activity and a vaccination effect as well as increased safety in use and is directed towards increasing manufacturability cost efficiency and environmental safety in the production of drugs.