key: cord-0799160-bxavc0gd authors: Piekos, Samantha N; Roper, Ryan T; Hwang, Yeon Mi; Sorensen, Tanya; Price, Nathan D; Hood, Leroy; Hadlock, Jennifer J title: The effect of maternal SARS-CoV-2 infection timing on birth outcomes: a retrospective multicentre cohort study date: 2022-01-13 journal: Lancet Digit Health DOI: 10.1016/s2589-7500(21)00250-8 sha: 46a913854be457a5c1942b2091a569ea010aeece doc_id: 799160 cord_uid: bxavc0gd BACKGROUND: The impact of maternal SARS-CoV-2 infection remains unclear. In this study, we evaluated the risk of maternal SARS-CoV-2 infection on birth outcomes and how this is modulated by the pregnancy trimester in which the infection occurs. We also developed models to predict gestational age at delivery for people following a SARS-CoV-2 infection during pregnancy. METHODS: We did a retrospective cohort study of the impact of maternal SARS-CoV-2 infection on birth outcomes. We used clinical data from Providence St Joseph Health electronic health records for pregnant people who delivered in the USA at the Providence, Swedish, or Kadlec sites in Alaska, California, Montana, Oregon, or Washington. The SARS-CoV-2 positive cohort included people who had a positive SARS-CoV-2 PCR-based test during pregnancy, subdivided by trimester of infection. No one in this cohort had been vaccinated for COVID-19 at time of infection. The SARS-CoV-2 negative cohort were people with at least one negative SARS-CoV-2 PCR-based test and no positive tests during pregnancy. Cohorts were matched on common covariates impacting birth outcomes, and univariate and multivariate analysis were done to investigate risk factors and predict outcomes. The primary outcome was gestational age at delivery with annotation of preterm birth classification. We trained multiple supervised learning models on 24 features of the SARS-CoV-2 positive cohort to evaluate performance and feature importance for each model and discuss the impact of SARS-CoV-2 infection on gestational age at delivery. FINDINGS: Between March 5, 2020, and July 4, 2021, 73 666 pregnant people delivered, 18 335 of whom had at least one SARS-CoV-2 test during pregnancy before Feb 14, 2021. We observed 882 people infected with SARS-CoV-2 during their pregnancy (first trimester n=85; second trimester n=226; and third trimester n=571) and 19 769 people who have never tested positive for SARS-CoV-2 and received at least one negative SARS-CoV-2 test during their pregnancy. SARS-CoV-2 infection indicated an increased risk of preterm delivery (p<0·05) and stillbirth (p<0·05), accounted for primarily by first and second trimester SARS-CoV-2 infections. Gestational age at SARS-CoV-2 infection was correlated with gestational age at delivery (p<0·01) and had the greatest impact on predicting gestational age at delivery. The people in this study had mild or moderate SARS-CoV-2 infections and acute COVID-19 severity was not correlated with gestational age at delivery (p=0·31). INTERPRETATION: These results suggest that pregnant people would benefit from increased monitoring and enhanced prenatal care after first or second trimester SARS-CoV-2 infection, regardless of acute COVID-19 severity. FUNDING: US National Institutes of Health. There is a great need to understand the effects of maternal SARS-CoV-2 infection on birth outcomes. Multiple studies have reported increased preterm birth, but not stillbirth, following SARS-CoV-2 infection, with higher rates among symptomatic versus asymptomatic people. [1] [2] [3] Additionally, SARS-CoV-2 infection has been associated with increased rates of pre-eclampsia. 2 Thus far, studies have been done either with small study populations and greater clinical detail, or with large populations but limited detail (insurance claims or aggregate reporting). It is also well known that minority and low-income communities are disproportionately impacted by COVID-19, 4,5 and many risk factors associated with poor birth outcomes are elevated in these populations, which could account for some of the disparity in birth outcomes for pregnant people infected with SARS-CoV-2. 6 To the best of our knowledge, as of November, 2021, no primary study has examined the impact of the timing of maternal SARS-CoV-2 infection on birth outcomes in a large, geographically distributed cohort, with analysis across a broad set of biomedical and contextual variables. Throughout pregnancy, there are crucial periods during which there is a greater impact of in utero shocks on fetal development. 7 Fetuses are most vulnerable to maternal stress during the fifth and sixth month of pregnancy, resulting in higher rates of preterm birth, low birthweight, and small for gestational age (SGA) than exposure during other periods of pregnancy. 7 Likewise, the effect of maternal influenza infection on birth outcomes depends on the timing of exposure. 8 Influenza exposure during pregnancy is associated with increased infant and neonatal mortality during the first trimester, decreased birthweight during the second trimester, and increased preterm birth and decreased birthweight during the third trimester. Thus, we expect a difference in birth outcomes based on the gestational age at time of maternal SARS-CoV-2 infection. In this study, we investigated the impact of maternal SARS-CoV-2 infection at each trimester of pregnancy on birth outcomes (preterm birth, stillbirth, birthweight, and SGA) in an unvaccinated population, adjusting for common confounding factors. We also developed models to predict gestational age at delivery for people following a SARS-CoV-2 infection during pregnancy. We evaluate performance and feature importance for each model and discuss the impact of SARS-CoV-2 infection on gestational age at delivery. This research investigates the risk of negative birth outcomes for people exposed to SARS-CoV-2 infection during pregnancy. In this retrospective cohort study, we used clinical data from Providence St Joseph Health (PSJH) electronic health records for pregnant people (aged 18 years and older and younger than 45 years) who delivered in the USA at the Providence, Swedish, or Kadlec sites in Alaska, California, Montana, Oregon, and Washington between March 5, 2020, and July 4, 2021 (appendix pp [1] [2] . PSJH is an integrated health-care system that has strong continuity of care across inpatient and outpatient settings; the US organisation's 51 hospitals, 1085 clinics, and 120 000 caregivers collaborate to provide health and social services across seven states. We provide the COVID-19 seroprevalence rates for each of the five states in the study and the USA at the national level during the Centre for Disease Control and Prevention's monitoring period containing the date Feb 14, 2021 (appendix p 12). 9 The SARS-CoV-2 positive cohort included people who had a positive SARS-CoV-2 PCR-based test during pregnancy, subdivided by trimester of infection (appendix pp [1] [2] . No patients in the SARS-CoV-2 positive cohort were vaccinated for COVID-19 at the time of SARS-CoV-2 infection. The SARS-CoV-2 negative cohort were people with at least one negative PCR-based SARS-CoV-2 test and no positive tests during pregnancy. The cohort was limited to women with singleton pregnancies who delivered after 140 days' gestational age (20 weeks), who had either commercial or state-provided Medicaid insurance. At the time of this study, PSJH did not routinely scan pregnant people for active SARS-CoV-2 infection or antibody presence during prenatal care or at Evidence before this study We searched PubMed for the keywords "SARS-CoV-2" or "COVID-19" combined with "preterm birth" or "trimester," including all articles published before March 21, 2021 . No language restrictions were applied. We found several studies that examined the impact of maternal SARS-CoV-2 infection on pregnancy outcomes using electronic health records (EHRs) or insurance claims. However, these studies were limited by small sample size or narrow scope of the data. Also, most studies did not differentiate between the timing of preterm birth, which has clinically significant implications in terms of neonatal survival, care, and potential lifelong health problems. To our knowledge, as of November, 2021, there has not yet been any primary study that accounts for the trimester of maternal SARS-CoV-2 infection, despite the awareness of the crucial periods during pregnancy when there exists a greater potential for in utero shocks on fetal development. We did a retrospective cohort study using EHRs from hospitals and clinics across five states in the USA. We compared pregnancy outcomes of unvaccinated people with a positive SARS-CoV-2 test during pregnancy to a matched control cohort with negative SARS-CoV-2 test results. The positive cohort was substratified by trimester of infection. To our knowledge, our study is the first to modulate birth outcomes by the trimester of maternal infection. Additionally, using propensity score matching, we controlled for several confounding variables known to be associated with negative pregnancy outcomes, which were enriched in the SARS-CoV-2 positive cohort. We evaluated outcomes using delivery events, including preterm birth classifications. There was an increase in preterm birth and stillbirth following SARS-CoV-2 infection, primarily driven by increases following first or second trimester maternal infection. We built supervised learning models that predict gestational age at delivery using demographics, maternal comorbidities, information related to SARS-CoV-2 infection, and fetal characteristics. The single greatest predictor of gestational age at delivery is gestational age at infection, with earlier age at infection associated with earlier age at delivery. There was no correlation between severity of COVID-19 and gestational age at delivery. These results suggest that pregnant people are at increased risk of preterm birth following SARS-CoV-2 infection regardless of COVID-19 severity. We recommend enhanced prenatal care and increased monitoring for pregnant people following a SARS-CoV-2 infection. Due to increased risk of maternal-fetal health of SARS-CoV-2 infection, we propose prioritisation of vaccination of pregnant people in areas where vaccine distribution is scarce. See Online for appendix delivery (appendix p 3). Due to scarce testing availability at the beginning of the pandemic, testing was restricted to the sickest patients. As testing became more accessible, PSJH began testing anyone with COVID-19 symptoms and screening patients 2 days before admission for a planned procedure, including scheduled caesarean delivery or labour induction. The date after which broader testing began was site specific. To account for covariates associated with preterm birth, propensity score matching was done to generate a SARS-CoV-2 negative matched control cohort. 6, 10 The unsupervised learning model nearest neighbours with replacement (k=1) was done to match across ten common covariates using the Python library sklearn (version 0.22.1; appendix pp [13] [14] . 11 For each SARS-CoV-2 positive pregnant patient, this identifies the single most similar SARS-CoV-2 negative pregnant person across these ten variables. For people who were missing information in the pregravid body-mass index (BMI) field, a value was imputed using the median of the pregravid BMI reported for other people in their cohort (either the cohort of 882 people who had positive SARS-CoV-2 test results or the cohort of 17 453 people in the SARS-CoV-2 negative cohort before matching). Absence of data for race, ethnicity, fetal sex, parity, and delivery method was encoded as -1. This resulted in a control cohort of 889 people that had improved representation of the matched covariates to the SARS-CoV-2 positive cohort. All procedures were reviewed and approved by the Institutional Review Board at the PSJH through expedited review (study number STUDY2020000196). Consent was waived because disclosure of protected health information for the study was determined to involve no more than a minimal risk to the privacy of individuals. The primary outcome evaluated in this study was gestational age at delivery with annotation of preterm birth classification. Secondary outcomes assessed included stillbirth, birthweight, fetal growth percentile, SGA, and rates of common pregnancy-related conditions. The composition of each cohort's demographics, comorbidities, and birth characteristics was represented as proportions or median along with the IQR (table 1) . A Fisher's exact test (for categorical data) or a Mann-Whitney U test (for continuous data) were used to evaluate differences between cohorts, using the R stats (version 3.6.3) and Python scipy (version 1.4.1) packages, respectively (appendix p 13). Comorbidities were identified by patient diagnosis codes, using SNOMED-CT (version 20200901; appendix p 15). Stillbirth is defined as pregnancy loss at 20 or more weeks of gestation. Term birth is defined as birth from 37 or more weeks of gestation; late preterm birth as less than 37 weeks and 34 or more weeks of gestation; moderate preterm birth as less than 34 weeks and 32 or more weeks of gestation; very preterm birth as less than 32 weeks and 28 or more weeks of gestation; and extremely preterm birth as less than 28 weeks of gestation. Fetal growth percentile was calculated using the WHO Fetal Growth Charts based on gestational age and weight. 12 A moving points average, which creates a series of averages across different subsets of the full dataset, was used to calculate weight by percentile at gestational age. The fetal growth percentile was then calculated by interpolation. SGA is defined as the babies in the bottom 10th percentile of fetal growth at birth. To evaluate which variables are most predictive of gestational age at delivery, we trained multiple supervised learning models on 24 features of the SARS-CoV-2 positive cohort (n=882; appendix p 16). SARS-CoV-2 encounters were only observed for people who engaged with the health-care system. These features included patient demographics, fetal characteristics, comorbidities, and treatment following SARS-CoV-2 infection before delivery (including encounters, diagnoses, medications, and COVID-19 severity score). COVID-19 severity was defined as the patient's maximum score on the WHO Ordinal Scale. 13 Models were generated using the Python package sklearn with default settings for linear regression, ridge regression, gradient boosting regression, and random forest. 11 The models were trained on 80% of the data, with 20% of the data held out for performance testing of the final model. Performance was evaluated on the test set for accuracy within 1 week of the actual gestational age at delivery, the coefficient of determinant (R² value), and root mean square deviation. Models were also evaluated by plotting the predicted versus the observed gestational age at delivery and calculating the trendline and R² value. Gini importance and Shapley additive explanations (SHAP) were applied to understand each feature's marginal contribution and influence on model prediction using the Python libraries sklearn and SHAP (version 0.37.0), respectively. 1, 14 Both these approaches evaluate the degree of influence of the feature on the sample's outcome, which provides interpretation of the machine learning models. Additionally, the variance captured by each non-binary feature was individually evaluated via R 2 value, and the correlation of each feature with gestational age at delivery was evaluated via Pearson's correlation using the Python scipy package. Predictive models were reported following the TRIPOD guidelines 15 (appendix pp [18] [19] . The funder of the study had no role in study design, data collection, data analysis, data interpretation, or writing of the report. Between March 5, 2020, and July 4, 2021, 73 666 people delivered, 18 335 (24·9%) of whom had at least one SARS-CoV-2 test during pregnancy (appendix pp 1-2). We observed 882 people infected with SARS-CoV-2 during their pregnancy (first trimester: n=85; second trimester: n=226; and third trimester: n=571) and 19 Median (IQR) of the maternal age at birth (years) and pregravid body-mass index for people with maternal SARS-CoV-2 infection during pregnancy (n=882), with no SARS-CoV-2 infection and at least one negative SARS-CoV-2 test during pregnancy (n=17 453), and propensity score matched negative control (n=889). Distribution of race, ethnicity, insurance type, parity, gravidity educational attainment, fetal sex, and mode of delivery. Number of people who smoke, use illicit drugs, have previously delivered prematurely, or have common pregnancy-related comorbidities. *Other is a category used in electronic health records that might be patient-reported or selected by health-care staff. 1) . Compared with the SARS-CoV-2 negative cohort, patients in the SARS-CoV-2 positive cohort were more likely to have the following characteristics: Hispanic ethnicity (p<0·0001), race other than Asian or White (p<0·001), lower age (p<0·0001), higher BMI (p<0·0001), higher parity (p<0·0001), higher gravidity (p<0·01), Medicaid insurance (p<0·001), and lower educational attainment (85% attained a high school degree or less, p<0·01; table 1; appendix p 13). To account for these covariates, which are known to be associated with negative birth outcomes, propensity score matching was used to create a control SARS-CoV-2 negative cohort of 889 people (table 1; appendix pp 13-14) . Patients with SARS-CoV-2 infection during the first and second trimester of pregnancy had decreased gestational age at delivery (first trimester p<0·05, second trimester p<0·05; table 2). There was an increase in preterm delivery across all trimesters of pregnancy infections (all pregnancies p<0·05) with the most pronounced increase occurring following first trimester infection (figure 1; first trimester p=0·22, second trimester, p=0·22, and third trimester p=0·06). Pregnant patients with SARS-CoV-2 infection gave birth to infants with lower birthweight (first trimester p<0·05, second trimester p=0·07, third trimester p<0·05, all pregnancies p<0·01); however, lower fetal growth percentile at delivery was observed only following third trimester exposure (first trimester p=0·29, second trimester p=0·25, third trimester p<0·05, all pregnancies p<0·05; table 2; appendix p 4). There were higher rates of SGA among infants born to mothers who had a SARS-CoV-2 positive test during pregnancy (p<0·05), with the most pronounced increase following third trimester infection (table 2; appendix p 4). Additionally, people with SARS-CoV-2 infection during pregnancy had no increased risk of common pregnancy disorders including gestational diabetes, gestational hypertension, and preeclampsia (table 2; appendix p 17). Multivariable predictive modeling was deployed to evaluate the ability of demographic data, comorbidities, health following SARS-CoV-2 infection, and fetal characteristics features to predict the outcome gestational age at delivery. Supervised machine learning models predicting gestational age at delivery were trained on 24 features with model performance evaluated on the held-out test dataset (appendix pp [16] [17] . The highest performing model was random forest, which accurately predicted gestational age at delivery within a week 58% of the time, and the model accounted for 28% of the data variance (appendix pp 5, 17). The most important feature of the random forest model was gestational age at infection (figure 2; appendix pp 6-7). Earlier gestational age at infection is associated with earlier gestational age at delivery (figure 3). The second most important feature in the model is the number of unique active ingredients in medications prescribed following SARS-CoV-2 infection. Earlier gestational age at delivery was The contribution of all the features in the random forest model towards the predicted gestational age at delivery as measured by the Shapley algorithm and reported as the SHAP value. This value is the average marginal contribution of a feature value across all permutations of features providing insight into the degree of influence of the feature on an individual's predicted gestational age at delivery. Each line represents a feature, and each dot represents a sample. The dot colour represents the value of the feature for the sample, with red being a high value and blue being a low value for that feature across all samples. SHAP=Shapley additive explanations. associated with higher numbers of unique active ingredients in medications prescribed (figure 3). The second highest performing model was the gradient boosting regression model, which accurately predicted gestational age at delivery within a week 56% of the time and accounted for 28% of the data variance (appendix pp 8, 17) . The most important feature in this model was also gestational age at infection (appendix pp 9-11). Gestational age at infection and the count of unique active ingredients in medications accounted for 1·2% and 5·6%, respectively, of the variance in gestational days at delivery alone (figure 3). People who delivered prematurely tended to be infected with SARS-CoV-2 earlier in pregnancy, but there are people who had early infections who went on to deliver at term. Similarly, patients with higher numbers of unique active ingredients in medications prescribed following SARS-CoV-2 infection tended to deliver prematurely. However, some people with no medications delivered prematurely and some with dozens of medications prescribed delivered at term. There was a slight uptick in the number of SARS-CoV-2 encounters among people who had extremely and very preterm birth, but the people with the highest numbers of SARS-CoV-2 encounters had late preterm or term deliveries. Gestational age at infection (r=0·11, p<0·01), preterm history (r=0·17, p<0·0001), commercial insurance (r=0·09, p<0·01), and number of cord vessels (r=0·15, p<0·0001) were associated with higher gestational age at delivery (table 3) . Count of unique medication active ingredients (r=-0·21, p<0·0001), maternal age (r=-0·10, p<0·01), gestational hypertension status (r=-0·24, p<0·0001), gestational diabetes status (r=-0·07, p<0·05), chronic hypertension status (r=-0·11, p<0·01), chronic diabetes status (r=-0·09, p<0·05), and unique diagnoses count (r=-0·08, p<0·05) were associated with lower gestational age at delivery (table 3) . Finally, the COVID-19 severity score was not correlated with gestational age at delivery (p=0·31; table 3; appendix p 12), although this cohort only had patients who had mild or moderate acute COVID-19, and no patients who required mechanical ventilation. There was no correlation between gestational age at delivery and the number of SARS-CoV-2 encounters (p=0·98), need for supplemental oxygen (p=0·18; WHO COVID-19 severity score 4-5), or maximum patient class (p=0·13; outpatient, emergency or urgent care, or inpatient; table 3; appendix p 12). Also, there was no correlation between COVID-19 severity and the number of days before delivery SARS-CoV-2 infection occurs (p=0·25; appendix p 3). Altogether, people who delivered the In this study, we examined the impact of maternal SARS-CoV-2 infection on birth outcomes modulated by gestational age, which resulted in the following key findings. First, more negative birth outcomes were observed when infections occurred earlier in gestation, including increased risk for preterm birth and stillbirth. Second, there were increased rates of SGA infants born to people who had a positive SARS-CoV-2 test result during pregnancy, suggesting that preterm delivery is induced via a mechanism that could impact fetal growth. Third, there appears to be two distinct populations of pregnant people: a subset with a negative correlation between the time of maternal SARS-CoV-2 infection and gestational age at delivery and a second population appearing to be unaffected. Fourth, the difference between mild and moderate severity of the SARS-CoV-2 infection does not appear to play a part in whether a pregnancy is likely to be negatively affected. Taken together, these findings suggest that SARS-CoV-2 infection early in pregnancy is an important risk factor that should be monitored in health systems. The biggest predictor of gestational age at delivery is gestational age at maternal SARS-CoV-2 infection followed by the number of unique medication active ingredients prescribed following a SARS-CoV-2 infection. Notably, there appeared to be two subpopulations when comparing the gestational age at delivery versus gestational age at SARS-CoV-2 infection. One sub popu lation shows a positive correlation, but for most individuals, the timing of infection did not show a direct association with gestational age at delivery ( figure 3 ). This finding suggests there could be some event, or class of events, that happen during some pregnancies and not others, triggering the chance of negative effects on outcomes. Surprisingly, there was no correlation between gestational age at delivery and COVID-19 severity or the number of SARS-CoV-2 encounters, suggesting that the mechanism behind the effect of SARS-CoV-2 on preterm birth might differ from those that drive severity. Pregnant people with preterm birth tended to have mild SARS-CoV-2 infections and limited numbers of encounters during an active SARS-CoV-2 infection. Further studies are needed to investigate the mechanisms of how SARS-CoV-2 infection affects preterm birth and stillbirth. Previous studies reported more severe birth outcomes among symptomatic than asymptomatic people. 1, 2 However, these studies did not account for trimester of infection. Cohorts might have been skewed towards people infected during their third trimester due to the state of testing early in the pandemic and studies' earlier reporting, which would mean a low number of observations of first or second trimester SARS-CoV-2 infection. We showed that gestational timing of infection is the most important factor of birth outcome. Further, COVID-19 dispropor tionately impacts lowincome and minority communities, resulting in many covariates known to increase the risk of preterm birth and other negative birth outcomes. 16 There were significant differences in the demographics, comorbidities, and birth characteristics of people in the SARS-CoV-2 positive and SARS-CoV-2 negative cohorts, including ethnicity, race, and Medicaid insurance status. Because these variables have previously been associated with differences in birth outcomes in the USA, we control for these cofactors using propensity score matching. A potential mechanism that could account for worse outcomes with SARS-CoV-2 infections earlier in gestation is increased levels of angiotensin converting enzyme 2 (ACE2) in the placenta earlier in gestation. 17 The SARS-CoV-2 spike protein interacts with ACE2 for entry into human cells, [18] [19] [20] and ACE2 placental levels are dependent on gestational age, with the highest levels observed early in gestation and near undetectable levels observed near term. 17, 20 This difference implicates an increased risk of SARS-CoV-2 infecting the placenta via ACE2 binding. Vertical SARS-CoV-2 transmission has been reported, but remains a rare mode of infection. 21, 22 However, an intrauterine infection can lead to ACE2-expressing neutrophils and monocytes (macrophage) to invade the placenta, which could result in increased risk for fetal distress. 17 This is a potential mechanism by which increased stress occurs on the placenta during SARS-CoV-2 infection in a gestational age dependent manner. The histological features of SARS-CoV-2 infected placenta remain ill-defined due to scarce placenta histopathological reports. However, given that patients with COVID-19 have an increased risk of thromboembolic events, additional investigations into placental thrombosis, thromboembolic events, and anticoagulation in pregnant patients following maternal SARS-CoV-2 infection are justified. 22 Only 35 people in the SARS-CoV-2 positive cohort received anticoagulants as a treatment for COVID-19 in this study. Because few people in this study received anticoagulation during acute COVID-19 infection, it is not possible to do a rigorous analysis on the association between this treatment and birth outcomes. This remains an important area for future investigation. Future studies examining the impact of SARS-CoV-2 infection on placenta health are needed to provide insight into the mechanism by which maternal SARS-CoV-2 infection might promote negative pregnancy outcomes. The trend of increased rates of preterm birth and stillbirth among women who had a first or second trimester SARS-CoV-2 infection is concerning. Extremely preterm birth is associated with lower fetal survival and lifelong health problems, including neuropsychiatric impairment and elevated levels of major comorbidities. 23-25 Furthermore, extremely preterm infants require substantial resources for care, with costs nearly 100 times that of care for full-term infant in the first 6 months of life. 26 In addition to increased risk of negative pregnancy outcomes following SARS-CoV-2 infection, pregnant people have higher infection rates and are more likely to develop severe COVID-19· 1,2,25,27 Taken together, both maternal and fetal health are at increased risk following maternal SARS-CoV-2 infection. It might, therefore, be prudent to consider pregnant people as a prioritised population for SARS-CoV-2 vaccination in areas where vaccine dissemination is scarce. There is also evidence that vaccine antibodies can pass through the umbilical cord to the fetus in utero, meaning that maternal vaccination can have the additional benefit of protecting the subsequent neonate. 28, 29 The results suggest that additional monitoring of birth outcomes following first or second trimester maternal SARS-CoV-2 infection is warranted. The pregnant people who tested positive for SARS-CoV-2 in this study were unvaccinated against COVID-19; therefore, it would be interesting to examine in future studies whether vaccination helps to prevent negative birth outcomes in breakthrough cases. Also, modifiable features that are predictive of premature delivery can suggest hypotheses for clinical interventions, and additional features can be added to improve model accuracy and explore additional potential risk factors. The impact of in utero SARS-CoV-2 exposure on neonatal outcomes, including meeting developmental milestones, also needs further investi gation. Finally, the impact of COVID-19 on subsequent pregnancy outcomes should be studied by examining the birth outcomes of non-pregnant women who had COVID-19 and later went on to become pregnant. Such studies are needed to assess the long-term impact of COVID-19 and the effect of post-acute sequelae of SARS-CoV-2 on pregnancy. Here we examine outcomes of pregnancies that reached at least 20 weeks of gestation. It is possible that first trimester SARS-CoV-2 infection increases the risk of miscarriage, an outcome that we do not evaluate in this study. People in our study cohort had mild or moderate SARS-CoV-2 infections, so our findings might not extrapolate to a pregnant person with severe COVID-19, which remains rare in pregnant people. We have identified features that are predictive of gestational age at delivery, but they are not necessarily risk factors for premature delivery. Furthermore, this study was done at PSJH without validation at an independent health-care system. However, concerns regarding generalisability of this study are mitigated by the size and diversity of PSJH, which serves patients at 51 hospitals and 1085 clinics across five western US states. Additionally, this study focused on birth outcomes and does not account for neonatal health. Thus far, there have been no serious outcomes observed among infants exposed to SARS-CoV-2 as neonates. 22 However, it is too early to observe the impact of in utero SARS-CoV-2 exposure on subsequent neonate and early development. Previously, in utero exposure to viruses have been shown to increase later risk of developing autism or other neuropsychiatric diseases. 30 Furthermore, in utero exposure to infection is associated with the development of subsequent autoimmune diseases, including asthma and type 1 diabetes. 31,32 Therefore, it is important to follow children exposed to SARS-CoV-2 in utero to determine if this leads to increase risk of the development of longterm outcomes, especially neuropsychiatric or autoimmune diseases. This cohort study found that first and second trimester maternal SARS-CoV-2 infection was a risk factor for preterm birth and stillbirth. The greatest predictor of gestational age at delivery following a maternal SARS-CoV-2 infection was the gestational age at infection. In this cohort of patients with mild or moderate COVID-19, there was no correlation between COVID-19 severity and gestational age at delivery. These findings suggest that increased monitoring and enhanced prenatal care could be appropriate for pregnant people who have had a SARS-CoV-2 infection during the first or second trimester of pregnancy, regardless of infection severity. SNP, NDP, LH, and JJH conceptualised the study. LH and JJH supervised the study implementation. Funding was provided by NDP and JJH. Administrative and material support was provided by LH. SNP and RTR did the data cleaning and transformation. SNP did the data analyses, including statistical analysis and machine learning. SNP, YMH, and TS were involved in data interpretation. SNP prepared the manuscript with critical revision of the manuscript for important intellectual content provided by NDP, LH, and JJH. All authors reviewed and approved the final version of the manuscript. SNP, RTR, YMH, TS, and JJH had full access to the data in the study. All authors had final responsibility for the decision to submit for publication. LH and NDP are scientific advisors for Sera Prognostics, a pregnancy diagnostics company, and hold stock options. The company is not associated with this study or any of the findings. All other authors declare no competing interests. All clinical logic has been shared. Results have been aggregated and reported within this paper to the extent possible while maintaining privacy from personal health information as required by law. All data are archived within Providence St Joseph Health systems in a HIPAA-secure audited compute environment to facilitate verification of study conclusions. Characteristics and maternal and birth outcomes of hospitalized pregnant women with laboratory-confirmed COVID-19-COVID-NET, 13 States Clinical characteristics and outcomes of hospitalized women giving birth with and without COVID-19 Disease severity, pregnancy outcomes and maternal deaths among pregnant patients with SARS-CoV-2 infection in Washington state The impact of socioeconomic status on the clinical outcomes of COVID-19; a retrospective cohort study The disproportionate impact of COVID-19 on racial and ethnic minorities in the United States Epidemiology and causes of preterm birth Timing of prenatal maternal exposure to severe life events and adverse pregnancy outcomes: a population study of 2.6 million pregnancies The effects of in utero exposure to influenza on birth and infant outcomes in the US Seroprevalence of antibodies to SARS-CoV-2 in 10 Sites in the United States Propensity-score matching with competing risks in survival analysis Scikit-learn: machine learning in Python The World Health Organization fetal growth charts: a multinational longitudinal study of ultrasound biometric measurements and estimated fetal weight COVID-19 therapeutic trial synopsis A unified approach to interpreting model predictions. 31st conference on Neural Information Processing Systems Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD): the TRIPOD Statement The global epidemiology of preterm birth ACE2 is expressed in immune cells that infiltrate the placenta in infection-associated preterm birth SARS-CoV-2 cell entry depends on ACE2 and TMPRSS2 and is blocked by a clinically proven protease inhibitor Structural and functional basis of SARS-CoV-2 entry by using human ACE2 A pneumonia outbreak associated with a new coronavirus of probable bat origin Expression of severe acute respiratory syndrome coronavirus 2 cell entry genes, angiotensinconverting enzyme 2 and transmembrane protease serine 2, in the placenta across gestation and at the maternal-fetal interface in pregnancies complicated by preterm birth or preeclampsia Pregnancy and COVID-19 Prevalence of survival without major comorbidities among adults born prematurely Early neurodevelopmental outcomes of extremely preterm infants Update: characteristics of symptomatic women of reproductive age with laboratory-confirmed SARS-CoV-2 infection by pregnancy status-United States Estimates of healthcare spending for preterm and low-birthweight infants in a commercially insured population Higher SARS-CoV-2 infection rate in pregnant patients Newborn antibodies to SARS-CoV-2 detected in cord blood after maternal vaccination-a case report Severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) antibodies in neonatal cord blood after vaccination in pregnancy Long-term risk of neuropsychiatric disease after exposure to infection in utero Pregnancy exposures and risk of childhood asthma admission in a population birth cohort Influence of infection during pregnancy on fetal development This work was funded by a grant from the National Institutes of Health (HD091527), supplied by NDP. JJH has been funded in part with federal funds from the Department of Health and Human Services, Office of the Assistant Secretary for Preparedness and Response, Biomedical Advanced Research and Development Authority (contract number HHSO100201600031C). We thank Chengzhen Dai for code extracting patients' insurance status and Stephen Lye for his insight into angiotensin converting enzyme 2 placental levels throughout pregnancy. We are grateful to Providence St Joseph Health for sharing their data engineering expertise and computational resources. We would also like to acknowledge SNOMED International for developing and maintaining SNOMED-CT.