It contains chlorine in its +7 oxidation state . It is present in chemical compounds like ammonium perchlorate . A perchlorate ( compound ) is a compound containing this group , with chlorine in oxidation state +7 .