All the prices are fake in the US medical system, but you do have to factor in how much people pay for insurance that covers child birth in addition to the out of pocket.
You're right, though, that this is probably some "cost to the system". Again, though, those prices are fake and circular and are basically a big grift, so the resulting figure isn't very helpful.