The influence of calcium and/or phosphorus ion implantation on the structure and corrosion resistance of titanium