Is it standard for doctors to test a patient for HIV at the same time as performing surgery?
If they are high risk.
For most elective surgical procedures it is not standard to test a patient for HIV if otherwise healthy.
It is generally not a routine test that is ordered.