Intraabdominal surgeries are frequently performed procedures that lead to a high volume of unplanned readmissions and postoperative complications. Patient sex may be a determinant of adverse outcomes in this population, possibly due to differences in biology or care delivery, but it is understudied. The authors hypothesized that there would be no association between patient sex and the risk of postoperative adverse outcomes in intraabdominal surgery.
This retrospective, population-based cohort study involved adult inpatients aged 18 yr or older who underwent intraabdominal surgeries in Ontario, Canada, between April 2009 and March 2016. The authors studied the association of patient sex on the primary composite outcome of all-cause death, hospital readmission, or major postoperative complications, all within 30 postoperative days. Inverse probability of exposure weighting based on propensity scores (computed using demographic characteristics such as rural residence status and median neighborhood income quintile, common comorbidities, and surgery- and hospital-specific characteristics) was used to estimate the adjusted association of sex on outcomes.
The cohort included 215,846 patients (52.3% female). The primary outcome was observed in 24,712 (21.9%) females and 25,486 (24.7%) males (unadjusted risk difference, 2.8% [95% CI, 2.5 to 3.2%]; P < 0.001). After adjustment, the association between the male sex and the primary outcome was not statistically significant (adjusted risk difference, −0.2% [95% CI, −0.5 to 0.2%]; P = 0.378).
In a large population of intraabdominal surgical patients, there was no differential risk between sexes in the composite outcome of all-cause death, hospital readmission, or major postoperative complications, all within 30 postoperative days.
Sex-based disparities exist for outcomes after cardiac surgery, trauma care, and postoperative sepsis
Previous analyses of general surgery patients using U.S. administrative data have demonstrated that female sex may be associated with lower rates of complications, but the reproducibility of this observation is unclear
Among 215,846 patients undergoing major inpatient abdominal surgery in Ontario, Canada, from 2009 to 2016, 24,712 females (21.9%) and 25,486 males (24.7%) experienced death, readmission, or major complications, all within 30 days
After adjusting for comorbidities, surgical details, and sociodemographic factors, patient sex was not associated with a statistically significant difference in the composite outcome of death, readmission, or major complications
Research has shown that sex-based differences in the incidence of diseases as well as the efficacy and safety of therapeutic interventions may be attributed to differential exposures, susceptibilities, metabolism, physiology, immune response, and behavioral attitudes of medical personnel toward male compared with female patients.1,2 Widely recognized sex-based differences now exist for outcomes in cardiac surgery,3 trauma,4 and sepsis.5,6 In spite of this evidence, significant sex bias, as a result of inadequate sex-based reporting or the unequal inclusion of males and females, persists in surgical clinical research published in the top surgical journals.7
Intraabdominal surgeries such as intestinal surgery, cholecystectomy, and appendectomy are among the most common surgical procedures performed in Ontario, Canada.8 Moreover, in the United States, cholecystectomy and gastrectomy are among the most frequently performed and fastest-growing procedures in females, respectively.9 Thus, any sex-based differences in outcomes in this population should be measured and understood in order to establish that there is equitable health care being delivered to males and females.
Previous studies that have assessed whether sex may differentially affect postoperative outcomes in intraabdominal surgery have excluded many relevant procedures10–13 (including elective procedures10,11,13 ) and have had methodologic limitations such as residual confounding and the use of stepwise regression.11–14 As such, the objectives of this population-based study were to ascertain the association of patient sex with postoperative adverse outcomes after inpatient intraabdominal surgeries using appropriate observational study methodology and to determine whether surgical subtype, surgical priority status (i.e., elective vs. urgent/emergency), and/or age acted as effect modifiers in this association. We hypothesized that the incidence of the composite primary outcome of all-cause death, hospital readmission, or major postoperative complications, all within 30 postoperative days, would not be different for males compared with females.
Materials and Methods
Study Design and Data Sources
This retrospective, population-based cohort study used administrative healthcare data from Ontario, Canada. All residents of Ontario (population, approximately 14 million) obtain healthcare services from a government-administered single-payer system. A unique, encoded identifier permitted linkage across several administrative databases, which were then analyzed at ICES (formerly known as the Institute for Clinical Evaluative Sciences, Canada). The analysis was conducted on an existing ICES dataset created for a previous project.15 Databases used to construct this dataset included the Canadian Institute for Health Information’s (Ottawa, Ontario, Canada) Discharge Abstract Database (in-hospital outcomes) and National Ambulatory Care Reporting System (emergency department visits), and the Ontario Ministry of Health and Long-term Care’s (Toronto, Ontario, Canada) Ontario Health Insurance Plan (physician billings), Corporate Provider Database (physician demographic data), and Registered Persons Database (patient demographics and vital status). A data analysis and statistical plan was written after the data were accessed. The study was reported in accordance with the Strengthening the Reporting of Observational Studies in Epidemiology16 and Reporting of Studies Conducted Using Observational Routinely-collected Data17 guidelines. Ethics approval for this secondary analysis was not required under Section 45 of Ontario’s Personal Health Information Protection Act. This act defines prescribed entities, including ICES, that do not need consent from patients for the collection or analysis of routinely collected data.
Patients
The study included adults (aged 18 yr or older) undergoing one of eight broad categories of intraabdominal surgery (esophageal, gastric, intestinal, appendiceal, rectal, biliary, pancreatic, hepatic), according to Canadian Classification of Health Intervention codes, from April 1, 2009, to March 31, 2016. A list of the surgical procedures included in this study and corresponding Canadian Classification of Health Intervention codes are provided in Supplemental Digital Content 1 (https://links.lww.com/ALN/C789). We included inpatients (i.e., patients admitted to hospital for at least 1 night after surgery), both laparoscopic and open surgeries, as well as elective and urgent/emergency surgeries. Elective surgeries comprised patients who were admitted for scheduled treatment. Urgent/emergency surgeries comprised patients who were admitted for a serious or life-threatening condition, patients who required immediate assessment and treatment, patients who had a scheduled admission but had to be admitted earlier than the scheduled admission because they required immediate assessment/treatment, and patients admitted from another facility who required an unscheduled immediate assessment/treatment. We excluded outpatients because, by definition, they did not have a measurable hospital length of stay, and they were unlikely to have major complications, intensive care unit (ICU) admission, or death.18 For patients who had multiple surgeries within the accrual period, only the first eligible surgery was included.
Exposure and Outcomes
Patient sex was recorded in the Registered Persons Database. This database contains a person’s sex as coded on their Ontario Health Insurance Plan card (biologic sex at birth determined by caregivers that can be changed to self-identified gender upon demand). The primary and all secondary outcomes were specified a priori. The primary outcome was a composite of all-cause death, hospital readmission, or major postoperative complications, all within 30 days of the index surgery. Secondary outcomes included the three separate components of the primary outcome, ICU admission during the hospitalization, hospital length of stay, number of emergency department visits in Ontario within 90 days and any emergency department visit within 90 days. Major postoperative complications such as respiratory and cardiac complications, bleeding and blood clots, severe life-threatening or major vital organ–threatening adverse outcome, hospital- and surgery-related complications, acute kidney injury, new-onset hemodialysis, and stroke were defined by Canadian Classification of Health Intervention codes, International Statistical Classification of Diseases, Tenth Revision (ICD-10) diagnostic codes, and/or Ontario Health Insurance Plan physician billings.19,20 See Supplemental Digital Content 2 (https://links.lww.com/ALN/C790) for a list of the major complications and corresponding Canadian Classification of Health Intervention codes, ICD-10 diagnostic codes, and/or Ontario Health Insurance Plan physician billing codes.
Statistical Analysis
Our study sample consisted of all cases in the existing fixed dataset that met our eligibility criteria, and thus, an a priori power analysis was not performed. Using the inverse probability of exposure weighting based on propensity scores, we controlled for measured confounding, accounting for systematic differences in baseline characteristics between male and female surgical patients.21
The propensity score was estimated using a multivariable logistic regression model,22 specified a priori, where the dependent variable was sex, and the covariates included age, comorbidities ascertained using a 5-yr look-back window (hypertension, coronary artery disease, heart failure, peripheral arterial disease, diabetes, previous stroke or transient ischemic attack, chronic liver disease, cancer, chronic kidney disease, and chronic obstructive pulmonary disease), duration of the surgery (categorized into deciles), fiscal year of hospital admission, region of the province, hospital teaching status (academic or not), institutional surgical case volume (in quintiles), patient’s rural residence status, patient’s median neighborhood income quintile, surgical priority status (elective or urgent/emergency), and surgical subtype. Absence or presence of individual comorbidities was determined using validated inpatient and outpatient records via ICES data holdings.23 Comparable to the use of hierarchical modeling to analyze the association of patient characteristics with adverse outcomes, covariate adjustment for hospital-specific characteristics was used to account for clustering within institutions.24 Observations were then weighted to give those who were likely to be in the particular exposure group to which they belonged a lower weight than those who were unlikely to be in the exposure group to which they belonged. This approach created a pseudosample in which the distribution of covariates would be, on average, the same between exposed (i.e., male) and unexposed (i.e., female) patients. A limitation of covariate balancing using inverse probability of exposure weighting based on propensity scores is that very large weights can arise if exposed subjects have low propensity scores or if unexposed subjects have propensity scores close to 1. These large weights may unduly influence results and increase the variance of estimates. To mitigate this problem, we used weight truncation, wherein a threshold is prespecified, and weights exceeding this threshold are set to the threshold.25,26 In our primary analysis, we truncated at the 98th percentile (i.e., weights greater than the weight value at the 98th percentile were set to that weight value). This threshold was found to improve CI coverage without increasing bias for linear and additive propensity score–estimating logistic regression models.25 Results were expressed as potential outcome means, adjusted risk differences, and adjusted relative risks. The balance of covariates pre- and postweighting were assessed using standardized differences.21
In sensitivity analyses that were specified a priori, the primary outcome was re-analyzed with (1) inverse probability of exposure weighting without truncation using the teffects ipw package in Stata (StataCorp LLC, USA), (2) 1:1 propensity score matching using a caliper width of 0.2 of the SD of the logit of the propensity score, (3) covariate adjustment using the propensity score as a continuous covariate in a logistic regression model, and (4) doubly robust regression adjustment with inverse probability of exposure weighting using the teffects ipwra package, in which the propensity score–weighted exposure as well as covariates used in propensity score estimation were included in the outcome regression model.
Homogeneity of subgroup effects were tested via a joint test of interaction between the exposure and the subgroup levels in a logistic regression model that was weighted by inverse probability of exposure weighting. For each of the three analyses, the subgroup variable of interest (surgical subtype, surgical priority status, or age group) was removed from the propensity score estimation model to ensure that this variable was not balanced between sexes before subgroup analysis.
In compliance with the regulatory requirements of ICES, cells with counts of five or fewer were reported as less than six. All continuous variables were expressed as the mean ± SD, and differences between groups were assessed using a Student’s t test. Categorical variables were reported as the total number of cases and prevalence, and differences between groups were compared by Pearson chi-square test. Absolute standardized differences were calculated and expressed as percentages, with a standardized difference of less than 10% typically denoting unimportant differences between groups.21
A P value less than 0.05 was considered statistically significant (two-sided). A complete case analysis was used to analyze data. No corrections were made for multiple comparisons, so comparisons of secondary outcomes (including all-cause death, hospital readmission, individual organ system complications within 30 days of the index surgery, ICU admission during the hospitalization, hospital length of stay, number of emergency department visits in Ontario within 90 days, and any emergency department visit within 90 days) and subgroups (including surgical subtype, surgical priority status, and age group) between males and females were deemed exploratory. Analyses were conducted with Stata version 15.1.
Results
Of the 215,846 patients included in this study, 112,802 (52.3%) were female (fig. 1). Missing data occurred in three variables: 2,705 (1.3%) patients were missing data on duration of surgery; 885 (0.4%) patients were missing data on neighborhood income quintile; and fewer than 6 patients were missing data on rural residence status. From April 2009 to March 2016, the total number of patients receiving the surgeries that met our study’s inclusion criteria declined slightly for both females and males. Important baseline differences between females and males were noted on several characteristics; notably, the prevalence of all individual comorbidities was higher in males (table 1).
Baseline Characteristics of the Patients: Before and After Inverse Probability of Exposure Weighting

The composite primary outcome of all-cause death, hospital readmission, or major complication within 30 days of the index surgery was observed in 24,712 (21.9%) females and 25,486 (24.7%) males (risk difference, 2.8% [95% CI, 2.5 to 3.2%]; P < 0.001). Before adjustment, males had a higher rate of the primary composite outcome and each component of the main outcome (table 2). The incidence of ICU admission was also higher and the hospital length of stay was longer for males. Male sex was associated with a statistically significant higher proportion of all postoperative complications, with the exception of stroke and venous thromboembolic events (table 3).
After adjustment, the absolute event rate was 23.0% in males and 23.2% in females‚ and males did not have a statistically significant increased risk of the primary composite outcome (adjusted risk difference, −0.2% [95% CI, −0.5 to 0.2%]; P = 0.378). Conversely, male sex was found to be associated with a statistically significant lower risk than female sex in exploratory secondary outcomes such as all-cause death within 30 days (adjusted risk difference, −0.2% [95% CI, −0.3 to −0.06%]; P = 0.004) and major complications within 30 days (adjusted risk difference, −0.4% [95% CI, −0.7 to −0.08%]; P = 0.012). Male sex was also associated with shorter hospital length of stay (adjusted risk difference, −0.3 days [95% CI, −0.4 to −0.1 days]; P < 0.001), a decreased number of emergency department visits within 90 days (adjusted risk difference, −0.03 visits [95% CI, −0.04 to −0.02 visits]; P < 0.001), and a lower proportion of any emergency department visits within 90 days (adjusted risk difference, −2.0% [95% CI, −2.4 to −1.6%]; P < 0.001). After adjustment in the analyses of the individual organ system complications, the risk of some complications was statistically significantly higher for males (table 3).
Across multiple sensitivity analyses, point estimates and 95% CIs were similar and consistent with the primary analysis. In Supplemental Digital Content 3 (https://links.lww.com/ALN/C791), the results of sensitivity analyses carried out for the primary outcome are displayed.
In our subgroup analyses, heterogeneity was observed among the two surgical subtype groups (i.e., esophageal, gastric, intestinal, appendiceal, rectal vs. biliary, pancreatic‚ hepatic) and among surgical priority groups (i.e., elective vs. urgent/emergency), but the differences were larger for the latter. No statistically significant heterogeneity was observed among age groups (fig. 2).
Risk of adverse outcomes in the prespecified subgroups. The specified number of patients (n) in each subgroup is based on observed data. The subgroup effect was tested for homogeneity via a joint test of interaction between the exposure and the subgroup in a logistic regression model, which was weighted by the inverse probability of exposure, as determined by the propensity score. Risk differences are for the male group relative to the female group. Effect sizes plotted to the right of zero (line of no effect) imply superior outcomes for females, and effect sizes plotted to the left of zero imply superior outcomes for males. For example, the adjusted risk difference for the esophageal, gastric, intestinal, appendiceal, and rectal surgical subtype group of 0.3% (95% CI, −0.09 to 0.7) means that the males within this surgical subtype group had a non–statistically significant absolute increase of 0.3% in this outcome compared with the females within this surgical subtype group.
Risk of adverse outcomes in the prespecified subgroups. The specified number of patients (n) in each subgroup is based on observed data. The subgroup effect was tested for homogeneity via a joint test of interaction between the exposure and the subgroup in a logistic regression model, which was weighted by the inverse probability of exposure, as determined by the propensity score. Risk differences are for the male group relative to the female group. Effect sizes plotted to the right of zero (line of no effect) imply superior outcomes for females, and effect sizes plotted to the left of zero imply superior outcomes for males. For example, the adjusted risk difference for the esophageal, gastric, intestinal, appendiceal, and rectal surgical subtype group of 0.3% (95% CI, −0.09 to 0.7) means that the males within this surgical subtype group had a non–statistically significant absolute increase of 0.3% in this outcome compared with the females within this surgical subtype group.
Discussion
This large, population-based retrospective study investigated the association between sex and postoperative outcomes in Ontario’s inpatient intraabdominal surgery population. Before adjustment, males fared worse than females in the primary outcome. After adjusting for prognostically important covariates, we did not find a statistically or clinically significant association of sex with the primary composite outcome.
Previous research has been discordant. In contrast to our findings, a large multicenter study12 concluded that males fared worse in postoperative mortality and hospital length of stay. Consistent with our results, a small study focused on gastrointestinal surgeries14 did not find a statistically significant association between sex and 30-day readmission. However, in both of these studies, the construction of the multivariable model was either unclear or had excluded prognostically important covariates such as socioeconomic status,27 comorbidities,28 and duration of surgery,29 which may have confounded the association between sex and the outcomes of interest.
Although a statistically significantly lower risk existed in males for five of seven exploratory secondary outcomes, the magnitude and clinical importance of these associations were small at the individual patient level. However, given the large number of patients in Ontario undergoing intraabdominal surgery, our findings may have importance at the level of the overall healthcare system. Our subgroup analyses demonstrated that for surgical subtype, there was a statistically significant, but clinically unimportant, difference between males and females. For surgical priority status, there was a statistically significant difference: males had an increased risk of adverse events after elective surgery as compared to females, whereas the opposite was true for urgent/emergency surgery. If this association of sex with the outcomes is real, it would be clinically important. However, we caution that since no corrections were applied to account for the multiple comparisons among secondary outcomes and subgroups, results from these analyses could have been associated with false positive discoveries. These results are also incongruent with previous studies in which male sex predicted postoperative death after emergency gastrointestinal surgery and not elective surgery,10,13 or where no association was observed between male sex and mortality after emergency gastrointestinal surgery.11 These contradictions may possibly be explained by the omission of prognostically important covariates, whether through the use of stepwise regression to select for variables to include in the final multivariable model10,11 or limitations in data collection.13
Several contextual aspects of our Canadian study may influence generalizability to the intraabdominal surgery population in the United States and should be considered. First, Canada’s universal healthcare system may confer better overall access to care and better management of chronic health conditions, particularly among those who are economically vulnerable.30 This is unlikely to affect our propensity score–adjusted results. However, race is another determinant of quality of care and satisfaction with care, the effect of which is more pronounced within the United States.31 If found to be a confounder in the relationship between sex and our primary outcome, the generalizability of our results may be limited as we did not account for race in our propensity score. Second, female patients in the United States may experience more sex-inequitable surgical care than female patients in Canada. A 2018 study32 found that female patients in the United States experienced the least positive quality of care compared with 10 other high-income countries, including Canada. If found to be true within intraabdominal surgical care, there may be implications for the generalizability of our outcome event rates and size of association of sex with outcomes to the United States. Last, there is a notable difference between the two countries regarding elective surgery wait times. In Canada, wait lists are common for surgical procedures; the procedures are scheduled according to relative need and availability of service. In the United States, wait times are shorter for most medical services and are determined by availability of service and ability to pay (insurance status).33,34 Since we were unable to account for surgical wait time, a possible confounding variable, our results may differ in the context of the United States.
This study represents a necessary step toward achieving sex-equitable surgical research and health care that has only recently drawn attention. Our findings serve as evidence for the relative equality of outcomes, which may suggest equitable care and proportionate distribution of resources within the intraabdominal surgery setting in Ontario. Further research could explore whether males and females have clinically meaningful differences in outcomes across specific surgeries, surgical priority groups, and surgical approach categories (i.e., laparoscopic vs. open) in the intraabdominal surgery population.
Our study has several important limitations that should be considered. First, ICD-10 diagnostic codes do not capture severity of outcomes and may not have captured all relevant adverse postoperative outcomes. Second, our study population was limited to adults aged 18 yr and older, and therefore our results may not necessarily apply to pediatric patients, wherein appendectomy and cholecystectomy represent two of the most common surgical procedures.35,36 Third, certain relevant data were unavailable, preventing us from including potential confounders such as depression and race in our model. Fourth, since this was a reanalysis of an existing dataset in which surgical categories were coalesced into broader surgical subtype groups, we were unable to conduct subgroup analyses among the distinct surgical subtypes. This is problematic as different surgeries may have different associated risks. Last, despite our efforts in reducing the effects of known and measured confounders, we could not capture and account for the level of detail one encounters in daily practice. Furthermore, all observational studies will have some degree of residual confounding from unknown or unmeasured confounders. Strengths of our study were its population-based multicenter design, and its inclusion of elective surgeries and a wide variety of surgical subtypes across the intraabdominal surgery category. This generally minimizes the effects of selection bias that may be present in single center studies10,14 and may increase generalizability to other Canadian provinces. Furthermore, our study had a large sample size, with many events occurring for most outcomes in both the primary analyses and the exploratory analyses. In general, this allows for the detection of small differences in outcomes and permits more precise estimates. Finally, our principal findings were robust to analytic technique, including untruncated inverse probability of exposure weighting, propensity score matching, covariate adjustment using the propensity score, and doubly robust regression.
In a large population of adults undergoing inpatient intraabdominal surgeries from 2009 to 2016 in Ontario, Canada, we did not observe a clinically or statistically significant overall differential risk of adverse postoperative outcomes by patient sex. However, the association of sex with the primary outcome differed across surgical subtype and surgical priority groups. These findings suggest that equitable care may exist in Ontario for males and females undergoing intraabdominal surgery.
Research Support
This study was supported by the Department of Anesthesia and Perioperative Medicine at the University of Western Ontario, London, Ontario, Canada. This project was supported by ICES and conducted at the ICES Western Site (London, Ontario, Canada). ICES is funded by annual grants from the Ontario Ministry of Health and Long-term Care (Toronto, Ontario, Canada). Core funding for ICES Western is provided by the Academic Medical Organization of Southwestern Ontario (London, Ontario, Canada), the Schulich School of Medicine and Dentistry (London, Ontario, Canada), the University of Western Ontario, and the Lawson Health Research Institute (London, Ontario, Canada). Parts of this material are based on data and information compiled and provided by the Canadian Institute for Health Information (Ottawa, Ontario, Canada) and the Ontario Ministry of Health and Long-term Care. The analyses, conclusions, opinions, and statements expressed herein are solely those of the authors and do not reflect those of the funding or data sources; no endorsement is intended or should be inferred. Dr. Wijeysundera is supported in part by a Merit Award from the Department of Anesthesiology and Pain Medicine at the University of Toronto (Toronto, Ontario, Canada) and is the Endowed Chair in Translational Anesthesiology Research at St. Michael’s Hospital (Toronto, Ontario, Canada) and University of Toronto.
Competing Interests
The authors declare no competing interests.