Abstract
Objectives
To define pregnancy episodes and estimate gestational age within electronic health record (EHR) data from the National COVID Cohort Collaborative (N3C).
Materials and Methods
We developed a comprehensive approach, named Hierarchy and rule-based pregnancy episode Inference integrated with Pregnancy Progression Signatures (HIPPS), and applied it to EHR data in the N3C (January 1, 2018–April 7, 2022). HIPPS combines: (1) an extension of a previously published pregnancy episode algorithm, (2) a novel algorithm to detect gestational age-specific signatures of a progressing pregnancy for further episode support, and (3) pregnancy start date inference. Clinicians performed validation of HIPPS on a subset of episodes. We then generated pregnancy cohorts based on gestational age precision and pregnancy outcomes for assessment of accuracy and comparison of COVID-19 and other characteristics.
Results
We identified 628 165 pregnant persons with 816 471 pregnancy episodes, of which 52.3% were live births, 24.4% were other outcomes (stillbirth, ectopic pregnancy, abortions), and 23.3% had unknown outcomes. Clinician validation agreed 98.8% with HIPPS-identified episodes. We were able to estimate start dates within 1 week of precision for 475 433 (58.2%) episodes. 62 540 (7.7%) episodes had incident COVID-19 during pregnancy.
Discussion
HIPPS provides measures of support for pregnancy-related variables such as gestational age and pregnancy outcomes based on N3C data. Gestational age precision allows researchers to find time to events with reasonable confidence.
Conclusion
We have developed a novel and robust approach for inferring pregnancy episodes and gestational age that addresses data inconsistency and missingness in EHR data.
Keywords: electronic health records, pregnancy, algorithms, COVID-19, gestational age
Objectives
Pregnancy episodes in electronic health record (EHR) data are often inconsistently coded across patients. Our objective was to leverage pregnancy concepts recorded in the nationally pooled EHR data of the National COVID Cohort Collaborative (N3C) to comprehensively infer pregnancy start and end dates using novel algorithms and to show the utility of these pregnancy episodes as a resource for COVID-19 research.
Background and significance
The COVID-19 pandemic has substantially impacted daily life and is especially concerning for vulnerable populations. Pregnant persons appear to be at higher risk for incident and severe COVID-19 infections than non-pregnant persons.1–4 Increased rates of cesarean section deliveries, lower gestational age at delivery, and preterm birth have been observed among pregnant persons with COVID-19.5 Pregnant persons with COVID-19 may also present more frequently with acute respiratory distress syndrome and hemolysis, elevated liver enzymes, and low platelets syndrome.6,7 Moreover, access to and utilization of healthcare services markedly changed during the pandemic,1,2,8,9 which may have impacted antenatal care. Numerous knowledge gaps related to pregnancy and COVID-19 persist, including the impact of vaccination and the mechanisms underlying elevated risk for various poor outcomes.
EHR data can inform these knowledge gaps. The N3C10 offers COVID-19 researchers access to harmonized EHR data from more than 12 million individuals from 72 data partner healthcare systems (hereafter, sites; as of data release on April 7, 2022). This is the first and largest publicly available EHR repository with national sampling in the United States. However, data fields for start and end of pregnancies and gestational age at birth do not currently exist in a consistent form within EHRs, making it challenging to ascertain pregnancy episodes and gestational age. Further, sites differ widely on how accurately and consistently this information is collected in their respective EHRs (Figure 1); moreover, the “gold-standard” of birth certificate-based data are usually unavailable in EHRs. Use of the N3C provides an opportunity to investigate and standardize pregnancy episodes and gestational age at a national scale.
To overcome these limitations, EHR-based investigations commonly utilize algorithms for determining gestational age and pregnancy (or delivery) episodes using diagnosis codes and delivery dates.11–22 In N3C, we started with an existing algorithm using Observational Medical Outcomes Partnership (OMOP) concepts defined in Matcho et al.12 However, this and similar algorithms rely heavily on anchoring the pregnancy with a specifically recorded pregnancy outcome (eg, live birth), and do not leverage available pregnancy data for which an outcome is missing or may not have occurred yet, with the exception of the algorithm by Bertoia et al.20 They also rely on approximations based on the pregnancy outcome or available pregnancy markers to infer pregnancy start, which may not always be recorded accurately in the data or may be absent from the EHR. Therefore, we adapted Matcho et al12 and layered on our own data-driven algorithms to robustly and precisely infer pregnancy start or last menstrual period (LMP) in a similar spirit to work done by others (eg, Bertoia et al who used ICD-10-CM Z3A codes in claims data20). This more comprehensive and inclusive approach provides a robust foundation for public health research using harmonized data on pregnant persons beyond COVID-19. New exposures, such as medications, vaccines, or emerging pathogens, among pregnant persons will always require real-world data, including from EHRs, to address timely questions as this group continues to be largely excluded from trials or efficacy studies.23,24
Materials and methods
N3C cohort preparation
Detailed information on overall N3C organization can be found in previously published reports (Text S1A).10 Briefly, the N3C, which is overseen by the National Center for Advancing Translational Science (NCATS) of the National Institutes of Health (NIH), collects and harmonizes information from single- and multi-hospital health systems across the United States and stores data in a central location, the N3C Data Enclave. For this study, we used a limited dataset, which contains deidentified data, 5-digit patient ZIP codes, and exact dates of COVID-19 diagnoses and service use. The N3C Data Enclave’s Palantir Foundry platform, a secure analytics platform, was used for data access and analysis. Each N3C data partner site provides demographic, visit, vital status, medication, laboratory, and diagnosis data; data are harmonized to the OMOP Common Data Model (CDM) version 5.3.1.25 The N3C cohort is composed of COVID-19-positive patients as well as COVID-19-negative controls matched on as many of the 4 sociodemographic variables (ie, age, sex, race, and ethnicity) as possible. Any COVID-19-positive patient from an N3C study site is included in the database if the following criteria are met: an encounter after January 1, 2020 that includes (1) one of a set of a priori-defined SARS-CoV-2 laboratory tests, (2) a “strong positive” diagnosis code, or (3) 2 “weak positive” diagnosis codes during one encounter or on the same date prior to May 1, 2020. The cohort definition and the diagnosis codes used are publicly available on GitHub.26 For patients included in N3C, encounters in the same data partner site on or after January 1, 2018 are also included (ie, “lookback data”). We utilized N3C dataset release version 73, April 7, 2022.
Overview of our HIPPS approach to inferring pregnancy episodes, gestational age, and pregnancy start dates
Our composite algorithm, named Hierarchy and rule-based pregnancy episode Inference integrated with Pregnancy Progression Signatures (HIPPS), uses existing and data-driven analytic methods to identify pregnancies (Figure 2); HIPPS classifies each as a “pregnancy episode” recording all pregnancies per person (ie, allowing an individual to be pregnant more than once during our observation period). Briefly, we first identified all females of reproductive age (15–55 years, inclusive) within N3C and applied pregnancy-specific concepts to identify potential pregnancies (Figure 2.1–4). Next, we applied 2 distinct algorithms to infer and validate unique pregnancy episodes (Figure 2.5–11). Then, we used gestational timing concepts to rigorously determine pregnancy episode start dates and their precision level (Figure 2.12). Finally, we merged the pregnancy episodes data with other pregnancy-related information as well as metrics important to COVID-19 research (Figure 2.J).
Selecting relevant concepts for computable pregnancy phenotype and gestational age
As an initial step to define a computable phenotype for pregnancy in N3C, we started from a previously published concept set12 and enriched it with additional concepts related to outcomes and gestational age using a combination of concept curation and concept frequency analysis. This resulted in an expanded list of OMOP concepts that were relevant to either known pregnancy outcomes or gestational age (Table S1, Text S1B). The following steps of the HIPPS approach describe the logic we implemented to complete the full computable phenotype definition of pregnancy.
Hierarchy-based inference of pregnancy (HIP) algorithm: rule-based algorithm
To capture pregnancies without an outcome recorded in N3C, we developed the HIP Algorithm (Figure 3A, Text S1C and D). Firstly, we used the “Outcome assessment and classification” step12 to define episodes with outcomes using concepts listed in Table S1. We applied the minimum required duration between consecutive outcomes to determine distinct pregnancy episodes per patient. If a patient has more than one outcome type, the outcomes were assessed in this order: live birth, stillbirth, ectopic pregnancy, abortion (separately for spontaneous and induced), and delivery record only. For example, if a patient has both live birth and stillbirth outcomes, we first checked that there was at least 182 days or 26 weeks between live birth outcomes and 168 days or 24 weeks between stillbirth outcomes. Of the outcomes that met these requirements, we then checked that any stillbirth outcome followed at least 24 weeks or preceded at least 26 weeks a live birth outcome. Secondly, we used gestational age concepts that were prevalent in N3C data and had week-level resolution (GW) for estimating gestational age such as “Gestation period, X weeks” to identify gestation-based episodes without outcomes. We marked any GW record as a potential start of a new episode if the number corresponding to the week is less than or the same as the previous GW record’s week. We performed additional checks to ensure that the projected start date of any starting GW record of a new episode does not overlap with a previous episode. Once the initial gestation-based episodes were delineated, we then calculated the start date of a gestation-based episode by tracking backwards the maximum gestational age in weeks from its corresponding record date. Lastly, gestation-based episodes were combined with outcome-based episodes if they overlapped. If the maximum gestational age of an overlapping gestation-based episode does not align with the expected term duration of the outcome, then the outcome is removed. This step eliminates misclassified outcomes. If an outcome-based episode does not overlap with a gestation-based episode, then the start date is calculated using the maximum possible outcome-specific estimate (ie, 301 days or 43 weeks for live birth).
Pregnancy progression signature (PPS) algorithm: novel temporal sequence analysis for detecting pregnancy episodes
We developed the PPS algorithm to validate plausible episodes identified by the HIP algorithm (Figure 3B, Figure S1, Text S1E). PPS searches for signatures of progressing pregnancy concepts across each patient record using an adaptation of longest increasing consecutive subsequence (LICS) analysis27 to find the longest subsequence of a given set of concepts in which all concepts of the subsequence appear in increasing order based on when they occur during pregnancy to define a pregnancy episode. To create a set of progressing pregnancy concepts, we assessed the frequently recorded pregnancy-related concepts from our concept frequency analysis and determined the mean and standard deviation of when these concepts occur relative to the start of each HIP episode with a pregnancy outcome. After filtering for concepts with a standard deviation <1.5 months, our clinicians reviewed these concepts and provided expected time ranges of occurrence during pregnancy for each concept. Any concepts where the gestational time range spanned >3 months were removed. This resulted in 74 progressing pregnancy concepts (eg, “Glucose; tolerance test (GTT), 3 specimens (includes glucose)”). Time intervals across these concepts in the pregnant person’s data were compared to their expected gestational time ranges. For each concept, (1) comparisons were made with all previous concepts and the current concept and (2) between each successive pair of concepts surrounding the current concept. If any comparison yielded discordance between the actual time elapsed between concepts and the expected gestational time ranges, this may indicate the start of a new episode. We then checked if the minimum permissible time between the end of a pregnancy episode and the start of a subsequent pregnancy episode of 2 months (retry period) was met. If there was at least a 2-month separation between the current and previous concept, a new pregnancy episode was assigned. These multiple comparisons and checks per concept address the influence of any historical records or recording of concepts outside the expected gestational time range (eg, gestational diabetes screening occurring before 6 months or 24 weeks) from intervening with finding the true progressing sequence of gestational timing concepts. Further cleanup removes any episodes with a length greater than 12 months or patients with more than 5 episodes occurring in a year. To assign a measure of support for outcomes identified in HIP episodes, we inferred pregnancy outcomes in the PPS by checking for any outcome within a window of 14 days before the episode end to up to the earliest date from either (1) the next episode start date, or (2) up to 10 months minus the last record’s expected minimum month after the start of the episode. We then selected the outcome based on Matcho et al’s outcome hierarchy assessment.12
Estimated start date (ESD) algorithm—estimating precise pregnancy start dates
To estimate the start date (LMP) for identified pregnancies (Figure 4, Text S1F and G) we leveraged the 74 clinician-validated concepts, which included concepts with week-level resolution (GW) and resolution between 1-week and 3 months (GR3m) (eg, “Trisomy 18 risk in Fetus,” which is generally assessed between 12 and 24 weeks). We first identified all GW and GR3m concepts within each pregnancy episode, kept only the max GW concept if there was more than one type of GW concept sharing the same date, and inferred the pregnancy start dates for each recorded concept. Next, we filtered out outlier GW concepts that did not fall within the intersection of the inferred pregnancy start dates of the GR3m concepts and did not meet the 1.5*interquartile range (IQR) threshold of the GW concept start dates. These steps help to remove any concept that may occur much earlier or later than the concept’s expected gestational time range. For example, concepts related to gestational diabetes screening (eg, “Glucose; tolerance test (GTT), 3 specimens (includes glucose)”) may take place earlier in some pregnancies than expected (even if the data are clinically accurate). Instead, we rely on the other concepts within the episode to estimate LMP. GW concepts that occurred latest in pregnancy were selected as the inferred pregnancy start date because the dates of these GW concepts appeared to be more precise based on empirical analysis (Figures S6 and S7).
Precision categories and outcome concordance scores
We developed 2 types of precision metrics: (1) the precision of the estimated LMP and (2) the agreement of the outcomes assigned by HIP and PPS algorithms. For (1), we assigned precision categories based on the difference in days of the first and last possible start dates: “week_poor-support”, precision ≤ 7 days but a single GW concept was used to extrapolate start date; “week”, precision ≤ 7 days; “two-week”, 7<precision ≤ 14 days; “three-week”, 14<precision ≤ 21 days; “month”, 21<precision ≤ 28 days; “two-months”, 28<precision ≤ 56 days; “three-months”, 56<precision ≤ 84 days; “non-specific”, no timing information. For comparison, we used a baseline method that obtains the start dates using only the GW concepts within an episode without removal of outliers and assigned precision based on the maximum start date difference between GW concepts. To assign outcome concordance scores (2), we merged episodes of the above algorithms, HIP and PPS, and added flags for whether the episode was detected by either algorithm. We then checked if PPS also detected the same outcome as HIP within ±14 days as a measure of support for the inferred pregnancy outcome from HIP. If the outcomes do not match, the outcome that occurs later is kept as the final outcome for that episode. If one of the episodes does not have an outcome in one of the algorithms, then the outcome from the other algorithm is designated as the final outcome. Using this information, we created an outcome concordance score from 0 to 2 where 2 indicates an episode with both of the following features: (1) outcome matched and outcome dates are within 14 days of each other, and (2) estimated gestational age at the outcome date is within the expected term duration of that outcome; 1 indicates an episode with an outcome within the expected term duration but no outcome match; 0 indicates an episode with an outcome not within the expected term duration even with an outcome match.
Addition of pregnancy-related information to each pregnancy episode
For each pregnant person and pregnancy episode, we ascertained sociodemographic information (eg, age, self-reported race/ethnicity) and other pregnancy-related information (eg, preterm status). “Unknown” is deterministically imputed and other privacy measures enforced for American Indian/Alaska Native participants in accordance with NIH/NCATS data governance agreements with American Indian/Alaska Native sovereign tribal nations. We created OMOP concept sets (Table S1) for pregnancy-related variables (Table S2) from all possible concepts available in various OMOP concept databases (eg, Athena28 and Atlas,29Figure 2.4); all concept sets were vetted by clinicians. For each pregnancy episode, we captured the recorded pregnancy lengths (time duration between start and end dates of records for pregnancy that occur within the EHR data) and inferred pregnancy lengths (time duration between LMP and pregnancy outcome dates estimated using HIPPS).
Clinician validation
Manual chart review is not possible in N3C due to regulations that minimize reidentification risk; thus, we utilized clinician annotation to validate key inferences using N3C data (see Text S1H for details). We conducted this work in 2 stages: (1) an internal pilot stage (n = 70 records across sampling categories, randomly sampling 2:1 ratio of live birth to non-live-birth categories) to elicit a realistic range of validation-metric values; and (2) full validation substudy size based on the pilot estimates (n = 280 records; Figure S2A), motivated by a set of feasible sizes that are multiples of the internal pilot (Figure S2B). We provided 3 obstetrician-gynecologists with an N3C dataset containing all records from OMOP clinical data tables for measurements, observations, conditions, drugs, and procedures for 240 randomly selected and stratified pregnancy episodes greater than one day from 166 pregnant persons, of whom 72 had more than one recorded pregnancy, and 40 non-pregnant persons for a total of N = 280 (Figure S2B). Each clinician assessed the presence, number, dates, and outcomes of each pregnancy episode as well as the gestational age in weeks at outcome and estimated LMP. Additionally, the clinicians rated their level of confidence in annotating the above information with categories of not confident (−1), neutral (0), or confident (1). This information was collected using Fusion, a Palantir spreadsheet application, within the N3C enclave to minimize reidentification risk. Lastly, we had an additional clinician “double-review” a random 10% subset of the records to estimate (and thus ensure satisfactory) interrater agreement. We computed the percent agreement for pregnancy outcome category, gestational age in weeks, date-related metrics, and the total number of episodes to quantify concordance of HIPPS with clinicians’ validations (Text S1H).
Assessment of pregnancy episode detection and gestational timing validation using alternative pregnancy-specific gestational timing concepts (external to HIPPS)
To provide further validation of HIPPS in detecting pregnancy episodes within N3C and inferring the start and end of pregnancy episodes, we specifically checked the overlap of 25 pregnancy-specific gestational timing concepts not used in HIPPS with the pregnancy episodes (Table S3). These concepts, which were identified as part of the PPS algorithm and had a standard deviation <1.5 months, were validated by clinicians to occur exclusively during pregnancy over a range wider than was suitable for episode definition (4–10 months). An example of a concept from this set is “Polyhydramnios”, a condition of excess amniotic fluid buildup during pregnancy, which occurs between 6 to 10 months (inclusive) during pregnancy and has a time range of 5 months (Table S3). For each concept, we calculated the percentage of occurrences by dividing the number of occurrences that overlap with a pregnancy episode within the expected gestational time range for that concept with the total number of occurrences.
COVID-19 analysis
We used descriptive statistics to compare demographic characteristics across 3 types of pregnancy cohorts: (1) all episodes regardless of outcome category (cohort 1: all episodes), (2) episodes with outcomes (excluding delivery record only) and start dates with up to 1 month resolution for estimated start date (includes week level poor support) (cohort 2: month-level), and (3) episodes with outcomes (excluding delivery record only) with high concordance (score of 2) between HIP and PPS with week-level resolution for estimated start date (cohort 3: week-level). For each cohort, we stratified episodes into: (1) all episodes, (2) episodes ending before March 1, 2020, (3) episodes with indication of COVID-19-positivity after March 1, 2020, and (4) episodes without indication of COVID-19-positivity after March 1, 2020. We took the first occurrence of either a positive COVID-19 PCR or antigen (Ag) lab result or COVID-19 diagnosis code (U07.1) to assess COVID-19 positivity during pregnancy. COVID-19 screening was indicated if a COVID-19 PCR or Ag lab test, regardless of the result, occurred during pregnancy. We defined a COVID-19 reinfection as any infection that occurred at least 60 days after the index infection date.
Results
To identify pregnancy episodes, we used 930 OMOP concepts including 74 concepts for inferring pregnancy start dates (Figure 2A). As of data extraction date (April 7, 2022), 72 unique data partner sites contributed data for >12 million total patients in N3C. Among these patients, HIPPS identified 4 million females of reproductive age (15–55 years), of whom a subset of 628K had at least one pregnancy episode recorded (Figure 2B). We identified 816 471 episodes of which 426 852 (52.3%) had live births, 3545 (0.4%) stillbirths, 97 506 (11.9%) abortions (both spontaneous and induced), 16 014 (2.0%) ectopic pregnancies, 82 201 (10.1%) with delivery record only, and 190 353 (23.3%) missing outcome (Figure 5A). Of patients with pregnancy episodes, 51.4% are White non-Hispanic, 17.7% are Hispanic or Latino any race, 19.1% Black/African American non-Hispanic, 4.3% Asian American non-Hispanic, 0.2% Native Hawaiian or Pacific Islander non-Hispanic, 6.2% unknown, and 1.1% other non-Hispanic (Figure 6).
In the sections below, we describe the main results of our analysis. For ease of presentation, we combined induced and spontaneous abortions under “Abortion.” In the Supplementary Materials, we provide additional details and data analysis that support each step of the HIPPS algorithm.
Characterization of full set of episodes from HIPPS approach
Pregnancy episodes identified by our HIPPS approach found a significant proportion of likely ongoing pregnancies, had appropriate pregnancy lengths for respective outcome categories where the vast majority of episodes identified by HIP algorithm were also supported by PPS, and common outcomes had a high concordance score. Of the 190 353 (23.3%) of the episodes missing an outcome, 41 629 (21.9%) of these likely represent an ongoing pregnancy as these episodes had not reached the time range of plausible delivery outcomes, for example, for live birth or stillbirth (Figure 5A). Of the episodes first inferred by HIP, 724 251 (88.7%) episodes were supported by PPS. Of those not supported by PPS (92 220 episodes, 11.3%), 74 493 (80.8%) HIP episodes did not have any gestational information, and 81 151 (88.0%) episodes only had a recorded length of 1 day. When looking at the outcome concordance score, a metric of support for the identified outcomes, both live birth and stillbirth tended to have a higher percentage of episodes with the highest score of 2 (Figure 5B). Abortions and ectopic pregnancies on the other hand tended to have a higher percentage of episodes with the lowest score of 0 (Figure 5B) and a recorded episode length of 1 day (Figure 5C). Our algorithmically inferred pregnancy length corresponded well with the expected time intervals by outcome category (Figure 5D). Over 40.0% of episodes across all outcomes that occur after 20 weeks of gestation (live birth, stillbirth, delivery record only) only have one outcome concept within 28 days after the pregnancy outcome date (Figure 5E). Conversely, less than 30% of episodes for abortion and ectopic pregnancy contained only one outcome concept (Figure 5E).
Pregnancy start date estimation and evaluation of precision
Using the GW and GR3m concepts for ESD, our algorithm yielded 475 433 (58.2%) episodes with week-level (>1 concept) resolution. Compared with a baseline method, our algorithm achieved a 55.5% increase in episodes with week-level precision and reduced the number of episodes for non-specific precision by 64.9% (Figure 5F, Table S4). Across all episodes with pregnancy outcomes, the proportion of episodes with week-level resolution increased (Figure 5F, Table S5).
Clinician validation
Clinician validation agreed 98.8% with HIPPS-identified episodes (Cohen’s kappa coefficient estimated as 0.872 with asymptotic 95% CI, 0.828 to 0.915, exact P-value of test for rejecting the null of chance agreement: 1.38 × 10−43) (Table 1, Text S1M). The clinicians identified 7 extra episodes (4 with no outcome and 3 with abortions). Conversely, there were 3 episodes that were not classified as episodes by the clinicians (1 with no outcome, 1 ectopic pregnancy, and 1 abortion) and one non-pregnant person marked as having a pregnancy episode (no outcome) by the clinicians. Thus, agreement was assessed between 245 episodes considered by clinicians (as “gold standard”) with the 240 episodes identified by HIPPS and between 42 non-episodes from the clinicians with the randomly sampled 40 persons without episodes by our algorithm (Table 1).
Table 1.
Number identified by algorithm | Number identified by clinician | Percent completeness of algorithm compared to clinician reviewa | Percent agreement between algorithm and clinicianb |
Clinicians’ average confidence score
(−1, 0, 1) |
Standard deviation of clinicians’ confidence scores | |
---|---|---|---|---|---|---|
|
40 | 42 | 92.9 | 97.5 | N/A | N/A |
|
240 | 245 | 88.6 | 90.4 | N/A | N/A |
Outcome | ||||||
Live birth | 80 | 89 | 89.9 | 100.0 | 0.96 | 0.19 |
Stillbirth | 40 | 38 | 100.0 | 95.0 | 0.97 | 0.16 |
Abortion | 40 | 47 | 78.7 | 92.5 | 1 | 0 |
Ectopic pregnancy | 40 | 33 | 100.0 | 82.5 | 0.85 | 0.44 |
No outcome | 40 | 38 | 76.3 | 72.5 | N/A | N/A |
Gestational age at outcome (±1 week) | ||||||
Live birth | N/A | N/A | 98.8 | 0.71 | 0.46 | |
Stillbirth | N/A | N/A | 89.5 | 0.57 | 0.55 | |
Abortion | N/A | N/A | 67.6 | −0.34 | 0.61 | |
Ectopic pregnancy | N/A | N/A | 63.6 | −0.58 | 0.50 |
As these cases were randomly selected for clinician validation, they do not reveal information about the subpopulation and are not subject to the same policy regarding masking small numbers of patients.
Percent completeness of algorithm compared to clinician review is the number of matching algorithmically defined episodes out of all possible clinician-defined episodes for these categories.
Percent agreement between algorithm and clinician is the number of matching clinician-defined episodes out of all possible algorithmically defined episodes for these categories.
The percent agreement by outcome category, including no outcome, was over 70.0%, and the average confidence score ranged from 0.85 to 1.00. Within 1 week, HIPPS had high agreement with clinicians’ validations: 85.2% to 96.4% for inferred start dates, 90.9% to 100.0% for inferred end dates, and 63.6% to 98.8% for gestational age (Tables 1 and 2). These average confidence scores tended to be higher for live birth versus other outcomes (Tables 1 and 2). Lastly, interrater agreement ranged from 88.2% to 100% per metric (see Text S1M for more details).
Table 2.
Algorithmic concordance (% episodes) with clinician-assigned date ± buffer |
Clinicians’ average confidence score (−1, 0, 1) | Standard deviation of clinicians’ confidence scores | ||||
---|---|---|---|---|---|---|
±7 days | ±14 days | ±21 days | ||||
Inferred start date of inferred pregnancy episodea | ||||||
Outcome | Live birth | 93.8 | 98.8 | 100.0 | 0.56 | 0.52 |
Stillbirth | 86.8 | 92.1 | 94.7 | 0.42 | 0.60 | |
Abortion | 85.2 | 92.6 | 96.3 | 0.04 | 0.84 | |
Ectopic pregnancy | 87.5 | 91.7 | 91.7 | −0.04 | 0.89 | |
No outcome | 96.4 | 96.4 | 96.4 | 0.61 | 0.57 | |
Inferred end date of inferred pregnancy episode (outcome only) | ||||||
Outcome | Live birth | 97.5 | 98.8 | 100.0 | 0.80 | 0.40 |
Stillbirth | 100.0 | 100.0 | 100.0 | 0.61 | 0.55 | |
Abortion | 91.9 | 94.6 | 94.6 | 0.42 | 0.50 | |
Ectopic pregnancy | 90.9 | 90.9 | 90.9 | 0.48 | 0.62 | |
Start date of recorded pregnancy episode | ||||||
Outcome | Live birth | 68.8 | 71.3 | 77.5 | 0.84 | 0.40 |
Stillbirth | 68.4 | 78.9 | 84.2 | 0.79 | 0.41 | |
Abortion | 73.0 | 78.4 | 81.1 | 0.78 | 0.48 | |
Ectopic pregnancy | 97.0 | 100.0 | 100.0 | 0.88 | 0.33 | |
No outcome | 65.5 | 69.0 | 72.4 | 0.83 | 0.385 | |
End date of recorded pregnancy episode | ||||||
Outcome | Live birth | 91.3 | 93.8 | 97.5 | 0.79 | 0.41 |
Stillbirth | 84.2 | 86.8 | 89.5 | 0.68 | 0.57 | |
Abortion | 94.6 | 97.3 | 97.3 | 0.54 | 0.56 | |
Ectopic pregnancy | 78.8 | 81.8 | 93.9 | 0.52 | 0.62 | |
No outcome | 75.9 | 82.8 | 82.8 | 0.72 | 0.45 |
As these cases were randomly selected for clinician validation, they do not reveal information about the subpopulation and are not subject to the same policy regarding masking small numbers of patients.
Not all episodes have ascertainable start dates.
Assessment of pregnancy episode detection and gestational timing validation using alternative pregnancy-specific gestational timing concepts (external to HIPPS)
Similarly, our additional validation analysis to check the robustness of HIPPS to detect pregnancy episodes using 25 clinician-curated concepts independent to our algorithm definition and known to occur specifically within pregnancy resulted in a mean of 90.2 (SD = 5.4)% overlap with HIPPS-identified episodes (Table S6).
Characterization of the various pregnancy cohorts stratified by COVID-19 status
Among the approximate 816 471 pregnancy episodes (cohort 1: all episodes), 492 291 (60.3%) had month-level granularity for gestational start date (cohort 2: month-level) and 309 332 (37.9%) had week-level granularity for gestational start date (cohort 3: week-level) (Figure 6, Table S7). Comparing across cohorts, patient characteristics were fairly similar with a few exceptions: patients in cohort 3 (week-level) were less likely to be 15–17 years old, were more likely to have a defined outcome of live birth, and more likely to have COVID-19 screening during pregnancy (Figure 6). There were minimal differences in patient characteristics before versus after March 2020 (Figure 6). Demographics of our cohort were similar to national pregnancy statistics (Tables S9 and S10).
For episodes post-March 2020, we further stratified by COVID-19 positivity during pregnancy; COVID-19-positive pregnant persons were more likely to be Hispanic (21.3% vs 18.2%), more likely to be 18–25 years old and less likely to be 35+ years old. Those with a positive test or diagnosis were more likely to be screened for COVID-19 than those without (81.3% vs 63.3%, Table S7). These trends were similar for cohorts 2 and 3, however, missing data were less frequent among these cohorts compared to cohort 1, possibly indicating a more complete EHR record.
Discussion
We have created the largest US cohort to date of COVID-19 positive pregnant persons. In this geographically diverse and historically unprecedented dataset, we identified 816 471 pregnancy episodes, with the majority of episodes having week-level resolution for pregnancy start. The completeness of race/ethnicity data in our cohort (6% missingness) is a strength of this data source. Our comprehensive, novel resource enables precise inference of pregnancy episodes in N3C and is a strong foundation for researchers looking to address knowledge gaps regarding pregnancy.
Our composite algorithm, HIPPS, combines 2 independent algorithms, each developed to address the disjointed or noncontinuous EHR records of a pregnant person: one algorithm, HIP, is an extension of a previously-developed rule-based algorithm,12 and the other is PPS, an entirely novel algorithm based on the longest increasing consecutive subsequence analysis. We used PPS to validate episodes from HIP. HIPPS offers unique elements not currently covered by existing, published algorithms. First, we followed a prior algorithm that only considered pregnancies with an outcome (eg, live birth), omitting pregnancies without outcomes.12 As such pregnancies still offer important data, including for COVID-19, our HIP and PPS algorithms were designed to capture pregnancies with and without outcomes, the former by employing “Gestation period, X weeks” concepts as attempted by Naleway et al15 and analogous to the ICD-10-CM Z3A codes used in Bertoia et al.20 Second, PPS checks if the gestational timing data is progressing, even without outcome anchoring, and finds 1.7-fold longer episodes compared to HIP, highlighting the value of adding this approach to existing episode length inferences. Third, our HIPPS approach is consistent with how clinicians would annotate EHR information, as demonstrated by our clinician validation. Fourth, high concordance between HIP and PPS provides high confidence in our pregnancy episode and outcome inference. Fifth, combining empirical analysis and clinician validation to derive gestational timing concepts for PPS and ESD allows episode inference to be optimized to the EHR dataset available. This is an advantage over using an inflexible set of concepts of previous algorithms12,15 for inferring pregnancy episode timing that may not be generalizable to other EHR datasets.
Our final novel sub-algorithm applied to the episodes, ESD, rigorously estimates pregnancy start date or LMP; this is ever more important in ascertaining risks related to exposures in pregnancy and outcomes. By including a validation metric, precision in days, for ESD, we provide a high level of confidence for the estimated LMP, with over 58.2% and 83.2% episodes with week- and month-level resolution, respectively. Such precision in gestational age allows researchers to determine associations with an unprecedented level of confidence.
Finally, as proof-of-concept of application of HIPPS to N3C data, we generated 3 types of cohorts of pregnant persons, ranging from all episodes regardless of precision in gestational age (cohort 1) to a cohort with week-level precision for gestational age and defined outcome (cohort 3), and compared sociodemographic, clinical, and COVID-19 variables across the cohorts. Our cohorts were similar (age, race/ethnicity) to national statistics on live births (2019–2021) and CDC surveillance data on COVID-19 infection during pregnancy,30,31 demonstrating our results are consistent with national demographics. Furthermore, the distribution of gestational ages for live birth are similarly asymmetrical to the national distribution with a mode of 39 weeks.32 While we generally did not observe many significant differences in the proportion of pregnant persons across the 3 cohorts, some interesting differences arose. For example, those in cohort 3 are less likely to be teenaged, more likely to have live birth outcomes, and more likely to have been screened for COVID-19 than those in our other 2 cohorts. That this cohort type is less likely to have abortion or ectopic pregnancy is only natural given these outcomes have less gestational info. Thus, for example, questions anchoring on vaccination timing during pregnancy on risk of breakthrough or incident COVID-19 infection may require week-level granularity for estimated start date. Evaluating abortions as the outcome would be a likely mismatch. On the other hand, certain research questions may not require exact gestational age, as is common with claims data when researchers assign 40 weeks gestation to classify exposure where gestational info is missing, in which case selecting cohort 1 may be most appropriate. Our presentation of 3 possible cohorts, to elucidate the possible sizes, demographics, precision, and tradeoffs for using exact definition types to define pregnancy cohorts in N3C, should aid future researchers for various research efforts both within and outside of N3C.
While our work has several unique strengths, limitations also exist. First, we are unable to conduct source validation. Due to the nature of N3C not allowing reidentification, we cannot conduct a “gold standard” validation of our findings against source data using birth certificates or medical charts; thus, our work, in principle, cannot ascertain accuracy. Though we attempted a clinician validation approach that mimicked a medical chart review, it is possible that both the clinician annotators and HIPPS misidentified a pregnancy episode or misclassified a pregnancy outcome. Regardless, previous literature supports our approach for defining pregnancy episodes even without source data validation,12 and our proportions of abortion, stillbirth, and ectopic pregnancy were roughly similar to the national proportions described in the literature.33–35 Second, as with any EHR dataset, the likelihood of missingness and misclassification is high. It is possible that we may have missed potential pregnancy episodes or outcomes with our current concept sets, although we found inferred episode overlap of 90.2% on average between the 25 gestational age-specific concepts independent of those used for algorithm definition. This suggests that concept bias, either in our overall algorithms or in the small numbers included in our clinician validation, is unlikely. Also, because we did not filter out any episodes with a single occurrence of an outcome concept, as Matcho et al12 had done, it is possible that our dataset overestimates the presence of some outcomes. Relatedly, misclassification may be high, especially for uncommon pregnancy outcomes, which could create sources of bias. Nonetheless, since we do provide the number of outcome concepts and confidence score for each pregnancy episode, users of the data and our approach can individualize criteria for excluding episodes depending on their research question. Third, while our approach has high certainty using the outcome concordance score as a metric of support for identifying common pregnancy outcomes, such as live birth, we observed less certainty in inferences related to less common outcomes (ie, ectopic pregnancies) or underreported outcomes (ie, spontaneous abortions), which are recurrent issues among all EHR-based phenotyping of such outcomes.
To make HIPPS generalizable to other datasets beyond N3C, we provide code (written in PySpark) and instructions in our GitHub repository, https://github.com/jonessarae/n3c_pregnancy_cohort, for interested users to adapt and apply our approach. Our algorithm can be applied to any observational data source which is either already in OMOP or has been converted to OMOP. Additionally, the N3C has scripts to convert other CDMs (ie, PCORnet) to OMOP,36 and the Simple Standard for Sharing Ontological Mappings (SSSOM) method37,38 can be applied to convert other CDMs not processed by N3C to OMOP.
Conclusion
Using HIPPS to identify pregnancy episodes and outcomes, we have not only developed the largest cohort to date of COVID-19 positive pregnant persons from the United States but have enabled gestational age with high precision—crucial to research attempting to ascertain associations between certain pregnancy-related exposures and outcomes, elements that are ever-more important in COVID-19-related research in pregnancy. Our novel approach to gestational age has enduring implications for others to precisely infer pregnancy episodes in EHR data.
Ethics statement
Data partner sites transfer their N3C-eligible data to NCATS/NIH under a Johns Hopkins University Reliance Protocol (IRB00249128) or via individual site agreements with NCATS (see below). Managed under the NIH authority, the N3C Data Enclave can be accessed as previously described10 and at ncats.nih.gov/n3c/resources, https://covid.cd2h.org/for-researchers.
Site | IRB name | Exempted vs approved | Protocol number |
---|---|---|---|
Medical University of South Carolina | Health Sciences South Carolina Institutional Review Board | Exempt | Pro00111335 |
National Institutes of Health | NIH Office of IRB Operations | Exempt | N/A |
University of Minnesota | University of Minnesota Institutional Review Board | Approved | STUDY00012706 |
University of Rochester | University of Rochester Research Subjects Review Board | Exempt | STUDY00005366 |
University of Washington | Human Subjects Division | Approved | STUDY00013147 |
Code availability
All analyses were conducted in the N3C Enclave using R (v.3.5.1), Python (v.3.6.10), and PySpark (v.3.0.2). To support reproducibility, the code for implementing HIPPS, and full package list with versions, is available at https://github.com/jonessarae/n3c_pregnancy_cohort; it is also available to users with valid login credentials in the N3C enclave.
Disclaimer
The content is solely the responsibility of the authors and does not necessarily represent the official views of the NIH.
Individual authors were supported by the following funding sources: NIMH R01131542 (RCP). The funding sources or study sponsors had no role in study design; in the collection, analysis, and interpretation of data; in the writing of the report; and in the decision to submit the paper for publication. S.E.J. was supported by an appointment to the National Institute of Allergy and Infectious Diseases (NIAID) Emerging Leaders in Data Science Research Participation Program. This program is administered by the Oak Ridge Institute for Science and Education through an interagency agreement between the US Department of Energy (DOE) and NIAID. ORISE is managed by ORAU under DOE contract number DE-SC0014664. All opinions expressed in this paper are the authors’ and do not necessarily reflect the policies and views of NIAID, DOE, or ORAU/ORISE.
Supplementary Material
Acknowledgments
We would like to thank Caroline Signore for providing clinical expertise, Davera Gabriel for assisting in initial concept set creation, Naleef Fareed, Tamar Lasky, and Emily Pfaff for reviewing our manuscript and figures, and the Logic Liaison Team for creating the logic and data for defining COVID positivity. This work was supported by the National Institutes of Health, National Center for Advancing Translational Sciences Institute grant number U24TR002306.
The analyses described in this publication were conducted with data or tools accessed through the NCATS N3C Data Enclave covid.cd2h.org/enclave and supported by NCATS U24 TR002306. This research was possible because of the patients whose information is included within the data from participating organizations (covid.cd2h.org/dtas) and the organizations and scientists (covid.cd2h.org/duas) who have contributed to the on-going development of this community resource (cite this https://doi.org/10.1093/jamia/ocaa196).
We gratefully acknowledge the following core contributors to N3C:
Adam B. Wilcox, Adam M. Lee, Alexis Graves, Alfred (Jerrod) Anzalone, Amin Manna, Amit Saha, Amy Olex, Andrea Zhou, Andrew E. Williams, Andrew Southerland, Andrew T. Girvin, Anita Walden, Anjali A. Sharathkumar, Benjamin Amor, Benjamin Bates, Brian Hendricks, Brijesh Patel, Caleb Alexander, Carolyn Bramante, Cavin Ward-Caviness, Charisse Madlock-Brown, Christine Suver, Christopher Chute, Christopher Dillon, Chunlei Wu, Clare Schmitt, Cliff Takemoto, Dan Housman, Davera Gabriel, David A. Eichmann, Diego Mazzotti, Don Brown, Eilis Boudreau, Elizabeth Zampino, Emily Carlson Marti, Emily R. Pfaff, Evan French, Farrukh M. Koraishy, Federico Mariona, Fred Prior, George Sokos, Greg Martin, Harold Lehmann, Heidi Spratt, Hemalkumar Mehta, Hongfang Liu, Hythem Sidky, J.W. Awori Hayanga, Jami Pincavitch, Jaylyn Clark, Jeremy Richard Harper, Jessica Islam, Jin Ge, Joel Gagnier, Joel H. Saltz, Johanna Loomba, John Buse, Jomol Mathew, Joni L. Rutter, Justin Starren, Karen Crowley, Katie Rebecca Bradwell, Kellie M. Walters, Ken Wilkins, Kenneth R. Gersing, Kenrick Dwain Cato, Kimberly Murray, Kristin Kostka, Lavance Northington, Lee Allan Pyles, Leonie Misquitta, Lesley Cottrell, Lili Portilla, Mariam Deacy, Mark M. Bissell, Marshall Clark, Mary Emmett, Mary Morrison Saltz, Matvey B. Palchuk, Meredith Adams, Meredith Temple-O'Connor, Michael G. Kurilla, Michele Morris, Nabeel Qureshi, Nasia Safdar, Nicole Garbarini, Noha Sharafeldin, Ofer Sadan, Patricia A. Francis, Penny Wung Burgoon, Peter Robinson, Philip R.O. Payne, Rafael Fuentes, Randeep Jawa, Rebecca Erwin-Cohen, Rena Patel, Richard A. Moffitt, Richard L. Zhu, Rishi Kamaleswaran, Robert Hurley, Robert T. Miller, Saiju Pyarajan, Sam G. Michael, Samuel Bozzette, Sandeep Mallipattu, Satyanarayana Vedula, Scott Chapman, Shawn T. O'Neil, Soko Setoguchi, Stephanie S. Hong, Steve Johnson, Tellen D. Bennett, Tiffany Callahan, Umit Topaloglu, Usman Sheikh, Valery Gordon, Vignesh Subbian, Warren A. Kibbe, Wenndy Hernandez, Will Beasley, Will Cooper, William Hillegass, Xiaohan Tanner Zhang. Details of contributions available at covid.cd2h.org/core-contributors.
The following institutions whose data are released or pending:
Available: Advocate Health Care Network—UL1TR002389: The Institute for Translational Medicine (ITM) • Boston University Medical Campus—UL1TR001430: Boston University Clinical and Translational Science Institute • Brown University—U54GM115677: Advance Clinical Translational Research (Advance-CTR) • Carilion Clinic—UL1TR003015: iTHRIV Integrated Translational health Research Institute of Virginia • Charleston Area Medical Center—U54GM104942: West Virginia Clinical and Translational Science Institute (WVCTSI) • Children’s Hospital Colorado—UL1TR002535: Colorado Clinical and Translational Sciences Institute • Columbia University Irving Medical Center—UL1TR001873: Irving Institute for Clinical and Translational Research • Duke University—UL1TR002553: Duke Clinical and Translational Science Institute • George Washington Children’s Research Institute—UL1TR001876: Clinical and Translational Science Institute at Children’s National (CTSA-CN) • George Washington University—UL1TR001876: Clinical and Translational Science Institute at Children’s National (CTSA-CN) • Indiana University School of Medicine—UL1TR002529: Indiana Clinical and Translational Science Institute • Johns Hopkins University—UL1TR003098: Johns Hopkins Institute for Clinical and Translational Research • Loyola Medicine—Loyola University Medical Center • Loyola University Medical Center—UL1TR002389: The Institute for Translational Medicine (ITM) • Maine Medical Center—U54GM115516: Northern New England Clinical & Translational Research (NNE-CTR) Network • Massachusetts General Brigham—UL1TR002541: Harvard Catalyst • Mayo Clinic Rochester—UL1TR002377: Mayo Clinic Center for Clinical and Translational Science (CCaTS) • Medical University of South Carolina—UL1TR001450: South Carolina Clinical & Translational Research Institute (SCTR) • Montefiore Medical Center—UL1TR002556: Institute for Clinical and Translational Research at Einstein and Montefiore • Nemours—U54GM104941: Delaware CTR ACCEL Program • NorthShore University HealthSystem—UL1TR002389: The Institute for Translational Medicine (ITM) • Northwestern University at Chicago—UL1TR001422: Northwestern University Clinical and Translational Science Institute (NUCATS) • OCHIN—INV-018455: Bill and Melinda Gates Foundation grant to Sage Bionetworks • Oregon Health & Science University—UL1TR002369: Oregon Clinical and Translational Research Institute • Penn State Health Milton S. Hershey Medical Center—UL1TR002014: Penn State Clinical and Translational Science Institute • Rush University Medical Center—UL1TR002389: The Institute for Translational Medicine (ITM) • Rutgers, The State University of New Jersey—UL1TR003017: New Jersey Alliance for Clinical and Translational Science • Stony Brook University—U24TR002306 • The Ohio State University—UL1TR002733: Center for Clinical and Translational Science • The State University of New York at Buffalo—UL1TR001412: Clinical and Translational Science Institute • The University of Chicago—UL1TR002389: The Institute for Translational Medicine (ITM) • The University of Iowa—UL1TR002537: Institute for Clinical and Translational Science • The University of Miami Leonard M. Miller School of Medicine—UL1TR002736: University of Miami Clinical and Translational Science Institute • The University of Michigan at Ann Arbor—UL1TR002240: Michigan Institute for Clinical and Health Research • The University of Texas Health Science Center at Houston—UL1TR003167: Center for Clinical and Translational Sciences (CCTS) • The University of Texas Medical Branch at Galveston—UL1TR001439: The Institute for Translational Sciences • The University of Utah—UL1TR002538: Uhealth Center for Clinical and Translational Science • Tufts Medical Center—UL1TR002544: Tufts Clinical and Translational Science Institute • Tulane University—UL1TR003096: Center for Clinical and Translational Science • University Medical Center New Orleans—U54GM104940: Louisiana Clinical and Translational Science (LA CaTS) Center • University of Alabama at Birmingham—UL1TR003096: Center for Clinical and Translational Science • University of Arkansas for Medical Sciences—UL1TR003107: UAMS Translational Research Institute • University of Cincinnati—UL1TR001425: Center for Clinical and Translational Science and Training • University of Colorado Denver, Anschutz Medical Campus—UL1TR002535: Colorado Clinical and Translational Sciences Institute • University of Illinois at Chicago—UL1TR002003: UIC Center for Clinical and Translational Science • University of Kansas Medical Center—UL1TR002366: Frontiers: University of Kansas Clinical and Translational Science Institute • University of Kentucky—UL1TR001998: UK Center for Clinical and Translational Science • University of Massachusetts Medical School Worcester—UL1TR001453: The UMass Center for Clinical and Translational Science (UMCCTS) • University of Minnesota—UL1TR002494: Clinical and Translational Science Institute • University of Mississippi Medical Center—U54GM115428: Mississippi Center for Clinical and Translational Research (CCTR) • University of Nebraska Medical Center—U54GM115458: Great Plains IDeA-Clinical & Translational Research • University of North Carolina at Chapel Hill—UL1TR002489: North Carolina Translational and Clinical Science Institute • University of Oklahoma Health Sciences Center—U54GM104938: Oklahoma Clinical and Translational Science Institute (OCTSI) • University of Rochester—UL1TR002001: UR Clinical & Translational Science Institute • University of Southern California—UL1TR001855: The Southern California Clinical and Translational Science Institute (SC CTSI) • University of Vermont—U54GM115516: Northern New England Clinical & Translational Research (NNE-CTR) Network • University of Virginia—UL1TR003015: iTHRIV Integrated Translational health Research Institute of Virginia • University of Washington—UL1TR002319: Institute of Translational Health Sciences • University of Wisconsin-Madison—UL1TR002373: UW Institute for Clinical and Translational Research • Vanderbilt University Medical Center—UL1TR002243: Vanderbilt Institute for Clinical and Translational Research • Virginia Commonwealth University—UL1TR002649: C. Kenneth and Dianne Wright Center for Clinical and Translational Research • Wake Forest University Health Sciences—UL1TR001420: Wake Forest Clinical and Translational Science Institute • Washington University in St. Louis—UL1TR002345: Institute of Clinical and Translational Sciences • Weill Medical College of Cornell University—UL1TR002384: Weill Cornell Medicine Clinical and Translational Science Center • West Virginia University—U54GM104942: West Virginia Clinical and Translational Science Institute (WVCTSI).
Submitted: Icahn School of Medicine at Mount Sinai—UL1TR001433: ConduITS Institute for Translational Sciences • The University of Texas Health Science Center at Tyler—UL1TR003167: Center for Clinical and Translational Sciences (CCTS) • University of California, Davis—UL1TR001860: UCDavis Health Clinical and Translational Science Center • University of California, Irvine—UL1TR001414: The UC Irvine Institute for Clinical and Translational Science (ICTS) • University of California, Los Angeles—UL1TR001881: UCLA Clinical Translational Science Institute • University of California, San Diego—UL1TR001442: Altman Clinical and Translational Research Institute • University of California, San Francisco—UL1TR001872: UCSF Clinical and Translational Science Institute.
Pending: Arkansas Children’s Hospital—UL1TR003107: UAMS Translational Research Institute • Baylor College of Medicine—None (Voluntary) • Children’s Hospital of Philadelphia—UL1TR001878: Institute for Translational Medicine and Therapeutics • Cincinnati Children’s Hospital Medical Center—UL1TR001425: Center for Clinical and Translational Science and Training • Emory University—UL1TR002378: Georgia Clinical and Translational Science Alliance • HonorHealth—None (Voluntary) • Loyola University Chicago—UL1TR002389: The Institute for Translational Medicine (ITM) • Medical College of Wisconsin—UL1TR001436: Clinical and Translational Science Institute of Southeast Wisconsin • MedStar Health Research Institute—UL1TR001409: The Georgetown-Howard Universities Center for Clinical and Translational Science (GHUCCTS) • MetroHealth—None (Voluntary) • Montana State University—U54GM115371: American Indian/Alaska Native CTR • NYU Langone Medical Center—UL1TR001445: Langone Health’s Clinical and Translational Science Institute • Ochsner Medical Center—U54GM104940: Louisiana Clinical and Translational Science (LA CaTS) Center • Regenstrief Institute—UL1TR002529: Indiana Clinical and Translational Science Institute • Sanford Research—None (Voluntary) • Stanford University—UL1TR003142: Spectrum: The Stanford Center for Clinical and Translational Research and Education • The Rockefeller University—UL1TR001866: Center for Clinical and Translational Science • The Scripps Research Institute—UL1TR002550: Scripps Research Translational Institute • University of Florida—UL1TR001427: UF Clinical and Translational Science Institute • University of New Mexico Health Sciences Center—UL1TR001449: University of New Mexico Clinical and Translational Science Center • University of Texas Health Science Center at San Antonio—UL1TR002645: Institute for Integration of Medicine and Science • Yale New Haven Hospital—UL1TR001863: Yale Center for Clinical Investigation.
Contributor Information
Sara E Jones, Office of Data Science and Emerging Technologies, National Institute of Allergy and Infectious Diseases, National Institutes of Health, Rockville, MD 20852, United States.
Katie R Bradwell, Palantir Technologies, Denver, CO 80202, United States.
Lauren E Chan, College of Public Health and Human Sciences, Oregon State University, Corvallis, OR 97331, United States.
Julie A McMurry, Department of Biomedical Informatics, University of Colorado, Anschutz Medical Campus, Aurora, CO 80045, United States.
Courtney Olson-Chen, Department of Obstetrics and Gynecology, University of Rochester Medical Center, Rochester, NY 14620, United States.
Jessica Tarleton, Department of Obstetrics and Gynecology, Medical University of South Carolina, Charleston, SC 29425, United States.
Kenneth J Wilkins, Biostatistics Program, Office of the Director, National Institute of Diabetes and Digestive and Kidney Diseases, National Institutes of Health, Bethesda, MD 20892, United States.
Victoria Ly, Department of Obstetrics and Gynecology, University of Rochester Medical Center, Rochester, NY 14620, United States.
Saad Ljazouli, Palantir Technologies, Denver, CO 80202, United States.
Qiuyuan Qin, Department of Public Health Sciences, University of Rochester Medical Center, Rochester, NY 14618, United States.
Emily Groene Faherty, School of Public Health, University of Minnesota, Minneapolis, MN 55455, United States.
Yan Kwan Lau, Sema4, Stamford, CT 06902, United States.
Catherine Xie, Department of Public Health Sciences, University of Rochester Medical Center, Rochester, NY 14618, United States.
Yu-Han Kao, Sema4, Stamford, CT 06902, United States.
Michael N Liebman, IPQ Analytics, LLC, Kennett Square, PA 19348, United States.
Federico Mariona, Beaumont Hospital, Dearborn, MI 48124, United States; Wayne State University, Detroit, MI 48202, United States.
Anup P Challa, Department of Chemical and Biomolecular Engineering, Vanderbilt University, Nashville, TN 37212, United States.
Li Li, Sema4, Stamford, CT 06902, United States.
Sarah J Ratcliffe, Department of Public Health Sciences, University of Virginia, Charlottesville, VA 22903, United States.
Melissa A Haendel, College of Public Health and Human Sciences, Oregon State University, Corvallis, OR 97331, United States.
Rena C Patel, Department of Medicine and Global Health, University of Washington, Seattle, WA 98105, United States.
Elaine L Hill, Department of Obstetrics and Gynecology, University of Rochester Medical Center, Rochester, NY 14620, United States; Department of Public Health Sciences, University of Rochester Medical Center, Rochester, NY 14618, United States.
N3C Consortium:
Adam B Wilcox, Adam M Lee, Alexis Graves, Alfred (Jerrod) Anzalone, Amin Manna, Amit Saha, Amy Olex, Andrea Zhou, Andrew E Williams, Andrew Southerland, Andrew T Girvin, Anita Walden, Anjali A Sharathkumar, Benjamin Amor, Benjamin Bates, Brian Hendricks, Brijesh Patel, Caleb Alexander, Carolyn Bramante, Cavin Ward-Caviness, Charisse Madlock-Brown, Christine Suver, Christopher Chute, Christopher Dillon, Chunlei Wu, Clare Schmitt, Cliff Takemoto, Dan Housman, Davera Gabriel, David A Eichmann, Diego Mazzotti, Don Brown, Eilis Boudreau, Elizabeth Zampino, Emily Carlson Marti, Emily R Pfaff, Evan French, Farrukh M Koraishy, Federico Mariona, Fred Prior, George Sokos, Greg Martin, Harold Lehmann, Heidi Spratt, Hemalkumar Mehta, Hongfang Liu, Hythem Sidky, J W Awori Hayanga, Jami Pincavitch, Jaylyn Clark, Jeremy Richard Harper, Jessica Islam, Jin Ge, Joel Gagnier, Joel H Saltz, Johanna Loomba, John Buse, Jomol Mathew, Joni L Rutter, Justin Starren, Karen Crowley, Katie Rebecca Bradwell, Kellie M Walters, Ken Wilkins, Kenneth R Gersing, Kenrick Dwain Cato, Kimberly Murray, Kristin Kostka, Lavance Northington, Lee Allan Pyles, Leonie Misquitta, Lesley Cottrell, Lili Portilla, Mariam Deacy, Mark M Bissell, Marshall Clark, Mary Emmett, Mary Morrison Saltz, Matvey B Palchuk, Meredith Adams, Meredith Temple-O'Connor, Michael G Kurilla, Michele Morris, Nabeel Qureshi, Nasia Safdar, Nicole Garbarini, Noha Sharafeldin, Ofer Sadan, Patricia A Francis, Penny Wung Burgoon, Peter Robinson, Philip R O Payne, Rafael Fuentes, Randeep Jawa, Rebecca Erwin-Cohen, Rena Patel, Richard A Moffitt, Richard L Zhu, Rishi Kamaleswaran, Robert Hurley, Robert T Miller, Saiju Pyarajan, Sam G Michael, Samuel Bozzette, Sandeep Mallipattu, Satyanarayana Vedula, Scott Chapman, Shawn T O'Neil, Soko Setoguchi, Stephanie S Hong, Steve Johnson, Tellen D Bennett, Tiffany Callahan, Umit Topaloglu, Usman Sheikh, Valery Gordon, Vignesh Subbian, Warren A Kibbe, Wenndy Hernandez, Will Beasley, Will Cooper, William Hillegass, and Xiaohan Tanner Zhang
Author contributions
S.E.J., K.R.B., R.C.P., and E.L.H. designed the study. S.E.J. and K.R.B. developed code for HIPPS. S.E.J. and S.L. prepared patient datasets for clinician validation. S.E.J., K.R.B., and Q.Q. analyzed the data. K.J.W. performed statistical analysis. S.E.J., K.R.B., J.A.M., E.G.F., L.E.C., S.L., and Y.K.L. prepared tables and figures. C.O.-C., F.M., and J.T. reviewed OMOP concepts. C.O.-C., J.T., and V.L. performed clinician validation of episodes. S.E.J., K.R.B., J.A.M., L.E.C., K.J.W., R.C.P., M.A.H., and E.L.H. prepared the manuscript. All authors reviewed the manuscript and provided feedback.
Supplementary material
Supplementary material is available at JAMIA Open online.
Funding
The analyses described in this publication were conducted with data or tools accessed through the NCATS N3C Data Enclave covid.cd2h.org/enclave and N3C Attribution & Publication Policy v1.2-2020-08-25b, and supported by NCATS U24 TR002306, and NIGMS National Institute of General Medical Sciences, 5U54GM104942-04. Individual authors were supported by the following funding sources: NIMH R01131542 (RCP), NICHD R21105304 (APC).
Conflicts of interest
K.R.B. and S.L. are employees of Palantir Technologies. Y.K. and L.L. are employees of Sema4. M.N.L. is Managing Director of IPQ Analytics, LLC.
Data availability
The N3C data transfer to NCATS is performed under a Johns Hopkins University Reliance Protocol # IRB00249128 or individual site agreements with NIH. The N3C Data Enclave is managed under the authority of the NIH; information can be found at ncats.nih.gov/n3c/resources. Enclave data are protected, and can be accessed for COVID-related research with an NIH-approved approved (1) IRB protocol and (2) institutional Data Use Request (DUR). A detailed accounting of data protections and access tiers is found at https://ncats.nih.gov/n3c/resources/data-access. Enclave and data access instructions can be found at https://covid.cd2h.org/for-researchers; all code used to produce the analyses in this manuscript is available within the N3C Enclave to users with valid login credentials to support reproducibility.
Author Contributions: Sara E. Jones and Dr Katie R. Bradwell contributed equally and are considered as first authors of this work. Drs Rena C. Patel and Elaine L. Hill contributed equally and are considered as senior authors of this work.
References
- 1. Kotlar B, Gerson E, Petrillo S, et al. The impact of the COVID-19 pandemic on maternal and perinatal health: a scoping review. Reprod Health. 2021;18(1):10. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2. Allotey J, Stallings E, Bonet M, et al. Clinical manifestations, risk factors, and maternal and perinatal outcomes of coronavirus disease 2019 in pregnancy: Living systematic review and meta-analysis. Obstetric Anesthesia Digest. 2021;41(2):81-82. 10.1097/01.aoa.0000744128.44930.48 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3. CDC. Pregnant and Recently Pregnant People. Centers for Disease Control and Prevention. 2022. Accessed June 21, 2022. https://www.cdc.gov/coronavirus/2019-ncov/need-extra-precautions/pregnant-people.html
- 4. Lv D, Peng J, Long R, et al. Exploring the immunopathogenesis of pregnancy with COVID-19 at the vaccination era. Front Immunol. 2021;12:683440. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5. Carrasco I, Muñoz-Chapuli M, Vigil-Vázquez S, et al. SARS-COV-2 infection in pregnant women and newborns in a spanish cohort (GESNEO-COVID) during the first wave. BMC Pregnancy Childbirth. 2021;21(1):326. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6. Futterman I, Toaff M, Navi L, et al. COVID-19 and HELLP: Overlapping clinical pictures in two gravid patients. AJP Rep. 2020;10(2):e179-e182. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7. Federici L, Picone O, Dreyfuss D, et al. Successful continuation of pregnancy in a patient with COVID-19-related ARDS. BMJ Case Rep. 2020;13(8):e237511. 10.1136/bcr-2020-237511 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8. Wastnedge EAN, Reynolds RM, van Boeckel SR, et al. Pregnancy and COVID-19. Physiol Rev. 2021;101(1):303-318. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9. Ojo A, Beckman AL, Weiseth A, et al. Ensuring racial equity in pregnancy care during the COVID-19 pandemic and Beyond. Matern Child Health J. 2022;26(4):747-750. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10. Haendel MA, Chute CG, Bennett TD, et al. ; N3C Consortium. The national COVID cohort collaborative (N3C): rationale, design, infrastructure, and deployment. J Am Med Inform Assoc. 2021;28(3):427-443. 10.1093/jamia/ocaa196 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11. Li Q, Andrade SE, Cooper WO, et al. Validation of an algorithm to estimate gestational age in electronic health plan databases. Pharmacoepidemiol Drug Saf. 2013;22(5):524-532. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12. Matcho A, Ryan P, Fife D, et al. Inferring pregnancy episodes and outcomes within a network of observational databases. PLoS One. 2018;13(2):e0192033. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13. Canelón SP, Burris HH, Levine LD, et al. Development and evaluation of MADDIE: method to acquire delivery date information from electronic health records. Int J Med Inform. 2021;145:104339. [DOI] [PubMed] [Google Scholar]
- 14. Moll K, Wong HL, Fingar K, et al. Validating claims-based algorithms determining pregnancy outcomes and gestational age using a linked claims-electronic medical record database. Drug Saf. 2021;44(11):1151-1164. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15. Naleway AL, Crane B, Irving SA, et al. Vaccine safety datalink infrastructure enhancements for evaluating the safety of maternal vaccination. Ther Adv Drug Saf. 2021;12:20420986211021233. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16. Gao C, Osmundson S, Yan X, et al. Learning to identify severe maternal morbidity from electronic health records. Stud Health Technol Inform. 2019;264:143-147. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17. Campbell J, Bhaskaran K, Thomas S, et al. Investigating the optimal handling of uncertain pregnancy episodes in the CPRD GOLD pregnancy register: a methodological study using UK primary care data. BMJ Open. 2022;12(2):e055773. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18. Margulis AV, Setoguchi S, Mittleman MA, et al. Algorithms to estimate the beginning of pregnancy in administrative databases. Pharmacoepidemiol Drug Saf. 2013;22(1):16-24. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19. Wentzell N, Schink T, Haug U, et al. Optimizing an algorithm for the identification and classification of pregnancy outcomes in German claims data. Pharmacoepidemiol Drug Saf. 2018;27(9):1005-1010. [DOI] [PubMed] [Google Scholar]
- 20. Bertoia ML, Phiri K, Clifford CR, et al. Identification of pregnancies and infants within a US commercial healthcare administrative claims database. Pharmacoepidemiol Drug Saf. 2022;31(8):863-874. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21. Taylor LG, Thelus Jean R, Gordon G, et al. Development of a mother-child database for drug exposure and adverse event detection in the military health system. Pharmacoepidemiol Drug Saf. 2015;24(5):510-517. [DOI] [PubMed] [Google Scholar]
- 22. Andrade SE, Reichman ME, Mott K, et al. Use of selective serotonin reuptake inhibitors (SSRIs) in women delivering liveborn infants and other women of child-bearing age within the U.S. Food and drug administration’s Mini-Sentinel program. Arch Womens Ment Health. 2016;19(6):969-977. [DOI] [PubMed] [Google Scholar]
- 23. Smith DD, Pippen JL, Adesomo AA, et al. Exclusion of pregnant women from clinical trials during the coronavirus disease 2019 pandemic: a review of international registries. Am J Perinatol. 2020;37(8):792-799. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24. Shields KE, Lyerly AD.. Exclusion of pregnant women from industry-sponsored clinical trials. Obstet Gynecol. 2013;122(5):1077-1081. [DOI] [PubMed] [Google Scholar]
- 25. Voss EA, Makadia R, Matcho A, et al. Feasibility and utility of applications of the common data model to multiple, disparate observational health databases. J Am Med Inform Assoc. 2015;22(3):553-564. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Phenotype_Data_Acquisition: The Repository for Code and Documentation Produced by the N3C Phenotype and Data Acquisition Workstream. Github. Accessed May 25, 2022. https://github.com/National-COVID-Cohort-Collaborative/Phenotype_Data_Acquisition
- 27. Schensted C. Longest increasing and decreasing subsequences. In: Classic Papers in Combinatorics. Modern Birkhäuser Classics. Boston: Birkhäuser; 2009;299-311. 10.1007/978-0-8176-4842-8_21 [DOI] [Google Scholar]
- 28.Odysseus Data Services, Inc. Athena 2015-2022 Version 1.12.2.8.210316.0857n OMOP Vocabulary version: v5.0 22-JUN-22. Athena. June 22, 2022. Accessed July 14, 2022. athena.ohdsi.org
- 29.Observational Health Data Sciences and Informatics (OHDSI) ATLAS. ATLAS. Accessed July 14, 2022. https://atlas.ohdsi.org/
- 30. Bailey MJ, Currie J, Schwandt H. The Covid-19 Baby Bump: The Unexpected Increase in U.S. Fertility Rates in Response to the Pandemic. National Bureau of Economic Research Working Paper Series. 2022;30569:1-36. 10.3386/w30569 [DOI] [Google Scholar]
- 31. Osterman MJK, Valenzuela CP, Martin JA. Maternal and infant characteristics among women with confirmed or presumed cases of coronavirus disease (COVID-19) during pregnancy. National Center for Health Statistics. 2022. Accessed November 14, 2022. https://www.cdc.gov/nchs/covid19/technical-linkage.htm
- 32.Birth Data. 2023. Accessed May 11, 2023. https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__www.cdc.gov_nchs_nvss_births.htm%26d%3DDwQFaQ%26c%3D4sF48jRmVAe_CH-k9mXYXEGfSnM3bY53YSKuLUQRxhCwrmQ9ZDKmVaAI6sBPw4Jo%26r%3DC-xuqb2gbox9R3pYTNiCRIbnBsSbX01aNPdR3w3Rx9g%26m%3DUs_AVC8bbgo7934iuc7Rg5YgkwAZIXb08WJO62n_ssSMdSui–IZ6Or7fqfPELSX%26s%3DcLG6FLIGmzLPmYR8zuraUbax_1ac1lyr0Ac7WV4HmiY%26e%3D&data=05%7C01%7Csara.jones2%40nih.gov%7Cfe1aa126ce9b4a482d0f08db3c20b907%7C14b77578977342d58507251ca2dc2b06%7C0%7C0%7C638169883473176161%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=6aJSSmXuNCyQ5yAOjo23TvD%2BhDdcugz162VlUUQ3iJM%3D&reserved=0
- 33. Cohain JS, Buxbaum RE, Mankuta D.. Spontaneous first trimester miscarriage rates per woman among parous women with 1 or more pregnancies of 24 weeks or more. BMC Pregnancy Childbirth. 2017;17(1):437. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34. Gregory EC, Valenzuela CP, Hoyert DL.. Fetal mortality: United States, 2020. Natl Vital Stat Rep. 2022;71:1-20. [PubMed] [Google Scholar]
- 35. Mann LM, Kreisel K, Llata E, et al. Trends in ectopic pregnancy diagnoses in United States emergency departments, 2006-2013. Matern Child Health J. 2020;24(2):213-221. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36. National-COVID-Cohort-Collaborative/Data-Ingestion-and-Harmonization/ETLProcess. Github. Accessed May 12, 2023. https://github.com/National-COVID-Cohort-Collaborative/Data-Ingestion-and-Harmonization/tree/master/ETLProcess
- 37. sssom: Simple Standard for Sharing Ontology Mappings. Github. Accessed May 11, 2023. https://github.com/mapping-commons/sssom
- 38. Matentzoglu N, Balhoff JP, Bello SM, et al. A simple standard for sharing ontological mappings (SSSOM). Database. 2022;2022. 10.1093/database/baac035 [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The N3C data transfer to NCATS is performed under a Johns Hopkins University Reliance Protocol # IRB00249128 or individual site agreements with NIH. The N3C Data Enclave is managed under the authority of the NIH; information can be found at ncats.nih.gov/n3c/resources. Enclave data are protected, and can be accessed for COVID-related research with an NIH-approved approved (1) IRB protocol and (2) institutional Data Use Request (DUR). A detailed accounting of data protections and access tiers is found at https://ncats.nih.gov/n3c/resources/data-access. Enclave and data access instructions can be found at https://covid.cd2h.org/for-researchers; all code used to produce the analyses in this manuscript is available within the N3C Enclave to users with valid login credentials to support reproducibility.