Can medication for seizures cause a false negative result from a serum pregnancy test?

Can medication for seizures cause a false negative result from a serum pregnancy test?

I remember reading on the instructions that only meds containing hcg hormone will affect the test. To be on the safe side I would still check with the doctor