When I was a surgery resident we had a saying. If you cant treat the complications you shouldnt be doing the procedure. Nothing is more frustrating than having to spend a lot of time and effort fixing someone elses mistake that you know for a fact would not be the case had you done the procedure.
My point is that the Supreme Court will work backwards to its desired ruling by manipulating the standard it applies to the state's regulation.
It is quite normal for a state to regulate hospitals etc. and, normally with the close advice of the medical community, to set down regulations about qualifications etc. In this instance, a left-wing legislator attempted to shape the field and it appears that it might have backfired. Normally, this would not be a matter for the courts, certainly not for the Supreme Court of the United States-but abortion is involved.
So the whole case from this perspective is a bogus enterprise. It will be decided by manipulating legal standards to fit a preconceived outcome in a case that exists only as an unintended consequence.