Formalize the sentence: Unless a doctor specifically tells her not to have sex, it is quite safe to do so, from now until delivery.
Unless the doctor specifically tells her not to have sex...it is totally safe all the way up to delivery.