“Confinement” as it relates to pregnancy refers to the date of delivery, not the state of being pregnant. It’s still patriarchal as shit, which is why people now mostly say EDD (estimated date of delivery), not EDC. Google “married introitus” for an even more dated and regressive medical term in a similar vein.