With respect to
Roe v Wade, the expectation of privacy has already been established with your doctor. Since there are legitimate, non-trivial reasons for abortion, and that's a decision between a person and their doctor, the gov't can't ask why someone may need that abortion. Therefore, the gov't is unable to discern between reasons for an abortion, and therefore can't restrict them (up to a reasonable point, which was set non-arbitrarily around 24 weeks). You have a right to patient confidentiality. The gov't has no more of a say in whether you should have appendix surgery than whether you should have an abortion.
However, this doesn't establish a right to abortion. The justices clearly state that it is not a right by saying it's not covered under the 9th.