I think this is problematic. If we assert that a woman has a right to terminate a pregnancy on the basis that a fetus is part of her body over which she has nearly unrestricted autonomy, then wouldn't a statutory requirement to withhold information from a woman about her own body also infringe upon this right?
Not sure myself, just kinda thinking out loud here.
That's why I put 'perhaps' in there, because it's a grey area. Lots of places are trying to do exactly that, with varying levels of success, and with various kinds of debates going on around the matter.
I would fall on the side of more freedom for women to control their own bodies, rather than less.
However, there are already restrictions in place for late-term abortions (another debatable and hotly debated threshold) in most places where pro-choice laws exist. The advocates of restricting disclosing the sex of the fetus sometimes use that as an example of a supportive argument.
The issues that come up in places where legal restrictions have been placed on sex disclosure include people going to private doctors, unqualified people, or to neighboring regions to determine the sex.
These are all matters up for debate.
What is not up for debate, in most circles not consisting of fundies, is whether women have the right to bodily autonomy. How that plays out and all the grey areas associated with it can be and is being debated. Except for certain religious fundie groups, as Os acknowledged, most people would say that yeah women do count as humans, and thus women not having bodily autonomy over their own bodies counts as devaluation of human life.