Can you sue your Dr for performing knee surgery while you were pregnant during your first trimester and no test was ever offered?

No. Doctors don't test women for every surgical procedure they need. They assume the woman herself check if she is pregnant and let him know.