As you start your rotation on the labor and delivery floor, one of your responsibilities is to identify patients who need intrapartum group B streptococcus (GBS) prophylaxis. Which of the following is an indication for intrapartum GBS prophylaxis?