Skip to main content

Development and validation of a case definition for problematic menopause in primary care electronic medical records

A Correction to this article was published on 19 October 2023

This article has been updated

Abstract

Background

Menopause is a normal transition in a woman’s life. For some women, it is a stage without significant difficulties; for others, menopause symptoms can severely affect their quality of life. This study developed and validated a case definition for problematic menopause using Canadian primary care electronic medical records, which is an essential step in examining the condition and improving quality of care.

Methods

We used data from the Canadian Primary Care Sentinel Surveillance Network including billing and diagnostic codes, diagnostic free-text, problem list entries, medications, and referrals. These data formed the basis of an expert-reviewed reference standard data set and contained the features that were used to train a machine learning model based on classification and regression trees. An ad hoc feature importance measure coupled with recursive feature elimination and clustering were applied to reduce our initial 86,000 element feature set to a few tens of the most relevant features in the data, while class balancing was accomplished with random under- and over-sampling. The final case definition was generated from the tree-based machine learning model output combined with a feature importance algorithm. Two independent samples were used: one for training / testing the machine learning algorithm and the other for case definition validation.

Results

We randomly selected 2,776 women aged 45–60 for this analysis and created a case definition, consisting of two occurrences within 24 months of International Classification of Diseases, Ninth Revision, Clinical Modification code 627 (or any sub-codes) OR one occurrence of Anatomical Therapeutic Chemical classification code G03CA (or any sub-codes) within the patient chart, that was highly effective at detecting problematic menopause cases. This definition produced a sensitivity of 81.5% (95% CI: 76.3-85.9%), specificity of 93.5% (91.9-94.8%), positive predictive value of 73.8% (68.3-78.6%), and negative predictive value of 95.7% (94.4-96.8%).

Conclusion

Our case definition for problematic menopause demonstrated high validity metrics and so is expected to be useful for epidemiological study and surveillance. This case definition will enable future studies exploring the management of menopause in primary care settings.

Peer Review reports

Background

The menopause transition is a normal stage in a woman’s life, generally occurring around the age of 51 in North America (with a typical range between 45 and 55 years), when the production of hormones (i.e., estrogen, progesterone) from the ovaries gradually decline and women cease menstruation [1]. Menopause can also occur as a result of surgery that removes both ovaries, for example, for women who are at risk of ovarian or breast cancer [2]. Most women experience menopause without significant difficulty. For others, menopause symptoms can be severe and debilitating and greatly affect quality of life [3]. Among women referred to a menopause clinic in a large urban centre in Alberta, Canada, self-reported moderate or severe menopause symptoms included sleep disorders (76%), night sweats (51%), hot flashes (50%), mood swings (48%), and depression (38%) [4]. Symptom severity is associated with increased risk of long-lasting physical illness such as type-2 diabetes, osteoporosis, and cardiovascular diseases. In addition, the menopause transition, and especially during perimenopause, is associated with increased risk of developing depressive episodes, particularly among women who previously suffered from depression [5]. Female suicide rates in western countries peak around the age of menopause [6], which is considered a vulnerable period for women with a history of depression [5]. Insufficient treatment of symptoms can lead to worsening symptoms making proper diagnosis and treatment a priority for menopausal women [3].

Most women experiencing difficult menopausal symptoms will first consult their family physicians for help, but little is known about the epidemiology or clinical management of this condition in a primary care setting. Symptomatic women usually present with more than one menopause symptom [7] making a clear definition for problematic menopause challenging.

A literature search to determine how problematic menopause is defined found only three papers [8,9,10], and none were focused on primary care. Therefore, additional research is needed to understand the actual burden of menopausal symptoms in primary care and to consider whether service provision could be improved.

The Canadian Primary Care Sentinel Surveillance Network (CPCSSN) database contains relevant clinical data extracted from electronic medical records (EMRs) held by primary care practices across Canada. Because physicians record these data for clinical and administrative purposes, and not for research, there is a need to develop and validate case definitions (i.e., rules for identifying patients with a condition). CPCSSN has reported on definitions for many chronic conditions [11,12,13,14,15,16], but not for problematic menopause. The aim of this study was to use CPCSSN data to develop and validate a case definition of ‘problematic menopause’ in women who visit their family physicians.

Methods

Data source

CPCSSN is a collaboration of practice-based, primary care surveillance and research networks across Canada that work to better understand the epidemiology and management of chronic health conditions to improve patient care [17], [18]. It collects and combines deidentified, patient level, primary care EMR data from participating practices across the country. CPCSSN extracts a variety of data, including: billing and diagnostic codes, diagnostic free-text, medical history and problem lists, medication prescriptions, lab results, physical exam values (e.g., BMI, blood pressure), risk factors (e.g., smoking status), vaccines administered, and referral specialties (see [19] for a more comprehensive listing). As of 2023, the CPCSSN database does not include physician notes. Raw EMR data are cleaned, standardized, and deidentified to create a research-ready data set that is used for multiple purposes, including population health research and surveillance. CPCSSN data can go back as far as the 1990s, although the data are more complete starting in the late 2000s, as this is when EMR use became more widespread in Canada. In general, patients with data recorded in CPCSSN are slightly older and more likely to be women than the Canadian general population [20].

To date, CPCSSN case definitions have been developed and validated for 28 case definitions including: chronic obstructive pulmonary disease (COPD), dementia, depression, diabetes mellitus, type-1 diabetes, diabetic nephropathy, epilepsy, hypertension, osteoarthritis, parkinsonism, speech disorders, herpes zoster, pelvic floor disorders, adult asthma, pediatric asthma, among others with validation metrics ranging from good to excellent [11,12,13,14,15,16].

We used data from multiple tables within the CPCSSN data set, including: the Billing table which contains claims data submitted to the province, the EncounterDiagnosis table which contains diagnoses recorded during a visit, the HealthCondition table which contains patient medical history and problem list data, the Medication table which contains medications prescribed by family physicians, and the Referral table which contains the services to which patients are referred (e.g., gynecology).

Study sample

In the CPCSSN database extracted up to December 31, 2020, there were 211,103 women aged 45–60; however, only 190,392 (90%) had at least one clinical record in the specific CPCSSN data tables used in this study. A preliminary search for problematic menopause in the dataset using a combination of an International Classification of Diseases, Ninth Revision, Clinical Modification (ICD-9-CM) code for menopause (627*) and menopausal hormone therapy (i.e., estrogen and progesterone) yielded an estimated prevalence of 19%. The sample size, N, for the validation set was determined using the Wald 95% confidence interval (CI) formula [21]:

$$N={1.96}^{2}\frac{{S}_{n}\left(1-{S}_{n}\right)}{{\left(\frac{c}{2}\right)}^{2}p}$$
(1)

where Sn is the expected sensitivity of the case definition, c is the full width of the CI for the sensitivity, and p is the expected disease prevalence within the sample. To provide validation metrics of at least 80% sensitivity and a 95% CI of no more than 10% full width, a sample of 1,388 patients was required for the validation set. We selected the same number of patients for the training data set, as this was expected to provide at least 250 positive cases of problematic menopause to test and train the machine learning (ML) algorithm. Thus, the total sample consisted of 2,776 randomly selected patients. The data were selected to be representative of the CPCSSN data holdings across sex, regions, and EMRs.

Reference data set

We used previous CPCSSN methods for other chronic conditions to conduct the development and initial validation of a case definition for problematic menopause [22,23,24]. A working set of criteria, developed by our team and a clinical expert in menopause research and mature women’s health (NY), was used as guidance to support chart reviewers in labeling charts. It incorporated four types of information: ICD-9-CM diagnostic codes, which are used in Canada when physicians submit billings for their medical services to provincial / territorial governments and to record diagnoses within patient charts, textual descriptors of menopausal disorders, relevant drugs, and relevant referrals. The working set of criteria incorporated the following elements:

ICD-9-CM diagnostic code 627 and relevant sub-codes for menopausal and postmenopausal disorders.

Textual descriptors of menopausal symptoms were identified in collaboration with a clinical expert in menopause research (NY). The text descriptors included the terms ‘menopaus*’ and ‘climacteric’, where the asterisk indicates any character (e.g., menopause, menopausal). Abbreviations, alternative spellings, synonyms and other relevant variations of these terms were also included.

Relevant drugs used for problematic menopause were identified using e-CPS, the online Compendium of Pharmaceuticals and Specialities [25]; e-CPS was used to confirm the specific indications and availability of drugs in Canada for the management of menopause. The drug descriptions included current and recently discontinued generic and proprietary names and were coded to Anatomical Therapeutic Chemical (ATC) classification codes.

Referral for problematic menopause to a specialist menopause clinic or gynecology.

Using the working set of criteria, five trained clinical chart reviewers inspected the CPCSSN records in the patient sample to create a reference standard data set. The aim was to judge if the physician had already made a diagnosis, by looking into all available clinical information, including diagnosis codes, short (under 255 characters) diagnostic free-text, prescribed medications, and referrals. It was set clear to reviewers that one single diagnosis code or prescription alone was not sufficient to make a diagnosis, additional evidence was required. If a chart reviewer was uncertain of a patient’s classification, the opinion of a clinical expert (NY) was sought for adjudication. Fleiss’s Kappa, which is a statistical score used to assess consistency between multiple reviewers (i.e., inter-rater reliability) [26], was calculated on a subset of the reviewed charts.

Machine learning algorithm

Case definition creation and assessment was accomplished via the algorithm outlined in Fig. 1. Once the reference data set was finalised, it was divided into two random samples: a train / test set (n = 1,388) that served as the labelled data source for a machine learning algorithm, and a validation set (n = 1,387) that allowed independent assessment of the accuracy of the final model. The train / test set was then input into a feature engineering algorithm which selected those elements (i.e., variables or features) of the chart that were predictive of problematic menopause. We extracted all possible features from multiple fields in each patient’s CPCSSN data that included billing and encounter diagnosis ICD-9-CM diagnosis codes and free-text, patient problem list ICD-9-CM diagnosis codes and free-text, referral free-text, and prescribed medication ATC codes. Our expert advisors believed lab results and physical exam values would be much less informative than the other included features, and so these data were excluded. Free-text was extracted using a “bag-of-words” approach, one feature being generated for each possible word or each possible pair of words (bi-grams) across all records. Fifty different negated or uncertain term constructions (e.g., ‘not menopause’, ‘menopause?’, ‘rule out menopause’) were used to avoid including false or ambiguous diagnoses. To reduce the total number of features generated, only those existing in the CPCSSN record of at least ten patients were selected. Unique features were created for one or more instances of each word or code, two or more instances within 12 consecutive months, two or more instances within 24 consecutive months, and two or more instances within the entire patient chart. All features were treated as binary variables (i.e., the patient has or does not have the feature).

This process generated over 86,000 unique features. Since only a small number of these were expected to be predictive of menopause, we used a simple information measure to assign an importance to each feature: the difference between the number of true positives (have the feature and condition) and the number of false positives (have the feature, but not the condition) over the total number of patients who have the condition. The 300 features with the highest values were selected for input into the supervised ML algorithm.

Fig. 1
figure 1

ML algorithm used for case definition creation. The larger (blue) and smaller (green) squares contain the processes that occur during nested 10-fold cross-validation

A supervised ML approach was applied to determine what data elements (i.e., features) among the charts in the sample were most relevant to creating a case definition for problematic menopause. We selected the Classification and Regression Trees (CaRT) algorithm, as implemented by the python scikit-learn package, for this purpose [25, 26], as it outputs a clear, human-readable, rules-based classification [27], as opposed to black-box algorithms like those based on random forests, boosted trees, support-vector machines, or neural networks. The CaRT algorithm uses features within the data as rules for how to classify patients into binary groups (i.e., patients with or without a given set of features). The result is a ‘tree’ of rules - a decision tree - indicating how to identify patients with a given outcome (e.g., problematic menopause). The algorithm has several tunable hyperparameters that determine how deep and wide the final decision tree becomes [27]. Of these, we allowed the branching criterion, branching strategy, maximum tree depth, minimum samples required per branch, and class weights hyperparameters to be varied during training.

Training of the machine learning model was completed using nested 10-fold cross-validation (NCV), as it has low inherent bias and enables simultaneous optimisation of ML algorithm hyperparameters and training of the classification model [28]. This process is pictured inside the large blue box in Fig. 1. In the outer loop, training of the ML model occurs. The data are partitioned into ten samples, or folds, of the same size; at each iteration of the process, nine folds are used to train the ML model and one to test it (i.e., calculate some measure of accuracy). In the inner loop, hyperparameter optimisation occurs. The nine-fold training set from the outer loop is divided into ten more equal sized folds; again, nine are used to train the ML algorithm and one is used to calculate an optimisation metric that is used to determine the best hyperparameter set. The inner loop is repeated ten times total, and a hyperparameter set is selected as one with the highest average optimisation metric over all ten iterations. This hyperparameter set is then used by the outer loop to train the ML model. This process is repeated nine more times, using a different test sample at each iteration.

We selected the F1-score [29] as the optimisation metric for both the inner (hyperparameter optimisation) and outer (model training) cross-validation loop as it incorporates sensitivity, Sn, and positive predictive value, PPV, in a symmetric way.

$${F_1} = 2{\left( {\frac{1}{{{S_n}}} + \frac{1}{{PPV}}} \right)^{ - 1}} \cdot$$
(2)

Thus, this score gives equal weight to false positives, through the PPV, and false negatives, via the sensitivity. By maximising the F1-score, the algorithm attempts to jointly maximise sensitivity and PPV by effectively minimising false positives and false negatives. Since true negatives are not part of the F1-score, specificity will not be optimised, and so sensitivity and PPV may be increased at the expense of reduced specificity. We have selected this approach so that the resultant case definition will be suited to epidemiological research (high sensitivity) and, potentially, positive case identification (high PPV).

Training and testing data were split using stratified sampling, so that the ratio of cases to non-cases was equal in each fold. To reduce possible bias due to unequal class-sizes (i.e., case-to-non-case ratios different from unity) [19], at each iteration of the NCV algorithm, we trained the model using four different sampling approaches: random under-sampling, random over-sampling, combined random under- and over-sampling, and unchanged (no sampling). The first three methods artificially increase the prevalence of problematic menopause cases within the sample by randomly duplicating existing cases (over-sampling), randomly removing non-cases (under-sampling), or through a combination of the two. We also employed two different feature reduction algorithms, recursive feature elimination (RFE) [30] and a clustering algorithm known as k-best feature selection (kBF) [31], to further reduce the feature set from 300 down to a few tens of the most important features. This greatly reduces algorithm runtime with little impact on case definition accuracy, as most features are essentially uninformative. Models were trained for each sampling method / feature reduction algorithm pair and for two different orders of operation: feature reduction first and sampling second, and vice versa.

The optimal hyperparameters and sampling method / feature reduction algorithm pair were selected as the set that produced the highest average validation metrics (sensitivity, specificity, PPV, negative predictive value (NPV)) across all folds of the outer 10-fold cross-validation. These parameters were then used to train the CaRT algorithm on the entire train / test data set (all n = 1,388 charts) and to create a provisional case definition. We found that the case definition generated by the CaRT algorithm for problematic menopause was quite complex because of the number of rules required. To determine if it could be simplified, we selected the most relevant features from the provisional case definition by ranking them by their importance scores, a measure which indicates the relative importance of each individual feature to the accuracy of the model [32]. We then created case definitions using each individual feature and out of each pair of features. The final case definition chosen was the one with the highest validation metrics (sensitivity, specificity, PPV, NPV) as determined from the entire train / test data set. An independent validation data set (n = 1,387) was then used to calculate the case definition validation metrics, effectively assessing the generalisability of the case definitions to new data. All steps of this analysis were coded in Python 3.7.

Results

From 190,392 women aged 45–60 as of December 31, 2020, with at least one clinical record in the CPCSSN tables of interest, we selected a random subset of 2,776 EMR records for chart review. Table 1 presents the demographic characteristics of these patients. For the measures presented, the cohort is broadly similar to the CPCSSN population in both age distribution, rurality, and burden of disease.

Table 1 Demographic and clinical characteristics of the patient sample

Five reviewers were tasked with inspecting the EMR charts of 2,776 patients to create the reference standard data set. Charts that reviewers were unable to classify were independently inspected by two additional reviewers (SR and AP). The independent reviewers did not agree on ten charts and those were sent to a certified menopause practitioner (NY) for a final review. One record did not include sufficient information to be classified and was excluded from the analysis. Figure 2 presents the steps and number of charts selected during this process.

Fig. 2
figure 2

Flowchart for the patient chart selection process

The chart review process identified 533 out of 2,775 women (19.2%) in the reference set as having problematic menopause. We also assessed the reviewer inter-rater reliability using Fleiss’s Kappa, κ, on a subset of 120 charts and found κ = 0.84, indicating that the reviewers were in good to excellent agreement.

We applied the nested cross-validation (NCV) algorithm to the train / test data set for 14 different combinations of feature reduction / resampling method pairs and the resultant 10-fold averaged optimisation metrics are shown in Table 2. We found that applying different weights for each outcome class (i.e., cases and non-cases) using the built-in class weights hyperparameter of the CaRT algorithm improved the performance of our models much more than by applying standard resampling techniques. The performance of the ML algorithms was typically reduced when resampling methods (i.e., under- or over-sampling) were applied to the data and the two best performing models did not employ any resampling. For the same sampling method, the recursive feature elimination (RFE) technique tended to produce higher (better) F1-scores than for the k-best feature (kBF) selection algorithm. Comparing the F1-scores when applying resampling first and feature reduction second to feature reduction first and resampling second, the RFE method produced higher metrics if feature reduction was completed before resampling, while the results for kBF are more mixed. Overall, the optimal performance was achieved by applying RFE with no resampling (bold row in Table 2). The order of the methods in the first table cell indicates the order in which the methods were applied in the algorithm.

Table 2 Optimisation metrics for models created by resampling training data and applying feature reduction. Abbreviations: RFE = recursive feature elimination, kBF = k-best features

A provisional case definition was generated by training the CaRT algorithm on the entire train / test data set, with feature reduction completed using RFE and without any resampling. The rules for the case definition were rather complex, with 67 different rule sets required to classify whether or not each patient had problematic menopause. To simplify this rule set, we calculated the importance scores of all nine features that make up the provision case definition. These are shown in Table 3. We then created nine case definitions consisting of each individual feature in the provisional definition and 45 more case definitions from each pair of features. The final case definition was selected as the one generating the highest validation metrics when applied to the entire train / test data set.

Table 3 Top nine most important features in the CaRT case definition

The final case definition consists of women aged 45 to 60 with a chart that contains at least one of the following two elements:

  • two instances of ICD-9 code 627 (menopausal and postmenopausal disorders) or any of its sub-codes within 24 months in any of the following portions of the patient record.

    • billing, or.

    • encounter diagnosis, or.

    • problem list, or.

  • at least one prescription for a medication in the ATC class G03CA (natural and semisynthetic estrogens).

As compared to the complex case definition generated by the CaRT algorithm, the final definition is both simple and clear. Both definitions were applied to the validation data set to provide an independent measure of their accuracy and generalisability (see Table 4). The final case definition has higher sensitivity and PPV than the CaRT-based definition, while the other validation metrics are quite similar.

Table 4 Validation metrics for the final case definition following application to the validation data set

Discussion

The value of this research lies in producing a case definition that can provide the foundation for quality improvement initiatives in the primary care treatment of menopause in Canadian women and better knowledge about the burden of menopausal symptoms in the community. We believe this is the first such study in Canada, and the first to apply population health analytic methods to explore a case definition for problematic or treated menopause.

We found that resampling to correct for the class imbalance (more non-cases than cases) in the data set led to case definitions with lower validation metrics than those without re-balancing. This might indicate that an approximately four-to-one class imbalance ratio is not so severe as to meaningful effect the CaRT algorithm’s ability to discern between informative and uninformative features in the data set. Our findings also align with evidence suggesting that decision trees do not suffer from the same degree of bias from imbalanced data sets as other methods [27].

The provisional problematic menopause case definition, created through application of the CaRT algorithm, produced good validation metrics, with sensitivity, specificity, PPV, and NPV greater than 70%, more than sufficient accuracy for epidemiological purposes [11]. However, the decision tree was complex, requiring 67 different rule sets to classify patients, making the case definition challenging to interpret. Therefore, we extracted the small number of individual features that make up the case definition, nine in total, and created a simplified definition. This simplified definition also has good validation metrics, and is clinically and epidemiologically relevant, with slightly higher sensitivity (81.5% vs. 79.2%) and slightly improved PPV (73.8% vs. 70.9%) relative to the CaRT-based case definition.

Few studies have focused on the distribution of menopausal symptoms in the community or management of menopausal symptoms in primary care settings. Among published studies, most tend to concentrate on particular aspects of menopause management, such as vasomotor symptoms and menopausal hormone therapy (e.g., Kiran, 2022 [25]) rather than describing primary care management more generally. The development of this case definition for problematic menopause offers future opportunities to better understand the primary care management of menopause. For example, it can be used to estimate and predict the workload associated with providing care for patients who have problematic menopause by family physicians and other primary care team members. As a result, primary care teams may be able to streamline their work, perhaps providing additional resources for menopausal women, such as introducing multidisciplinary menopause clinics that might off-load physician workload [4]. Using this CPCSSN case definition, our next study will explore whether the treatment of Canadian women is optimal as recommended by the Society of Obstetricians and Gynaecologists of Canada and/or North American Menopause Society guidelines for the management of menopausal symptoms [33]. Then we shall develop educational materials for distribution by the CPCSSN organisation to the individual primary care practice-based networks and enter into discussion with medical schools, professional organizations, and the College of Family Physicians of Canada to enhance physician education about menopause management.

Limitation

A high-quality reference data set is vital for developing an accurate and useful case definition. While the extensive reviewer training and high Fleiss’s Kappa point to a high-quality reference set, the review process is never perfect, and so some charts will be mislabelled. Patient records used in this study consisted of billing data, diagnoses, problem lists, medications, and referrals - clinical notes, a rich source of diagnosis data, and complete surgical histories were unavailable. These additional data may have allowed identification of problematic menopause patients to be more accurate; hence, enabled creation of a more robust reference data set. This study reflects the medical data as recorded in family medicine practices and was used to develop case definition algorithms for problematic menopause. Our data does not include women who have not accessed family physician care: this ensures that women who are identified as “cases” will be those with menopausal problems sufficiently troublesome to seek family medicine health care, a more rigorous test of prevalence than self-report in a population survey. However, it may be that these patients do not represent all Canadian women; the more than 20% of Canadians who do not have a family physician or nurse practitioner [34], women who self-manage their symptoms, or women who seek care from other practitioners will not be identified as cases of problematic menopause in a primary care setting. Secondly, we were unable to distinguish local (vaginal) estrogen and systemic (oral) estrogen, some of false positive cases might be women who received estrogen therapy for other reasons, though given the age restriction and methods used to create the reference set, we are confident that most estrogens were prescribed for symptoms of genitourinary syndrome of menopause (GSM). Lastly, our case definition identified cases that have been diagnosed previously by family physicians, it was not designed to predict new cases or to support clinical decisions.

Conclusion

We reported on the use of machine learning methods to develop a case definition for problematic menopause from primary care EMR data. The definition requires that the chart of a woman who is 45–60 years of age contains at least two instances of ICD-9 code 627 (menopausal and postmenopausal disorders) or any of its sub-codes in the billing, encounter diagnosis, or problem list within any 24 month period, or at least one medication in the ATC class G03CA (natural and semisynthetic estrogens) [35]. The validation of this case definition yielded high sensitivity of 81.5% (95% CI: 76.3-85.9%), specificity of 93.5% (91.9-94.8%), PPV of 73.8% (68.3-78.6%), and NPV of 95.7% (94.4-96.8%). The findings from this study could lead to further work on the epidemiology of problematic menopause and its symptom management in primary care settings, and ultimately aid primary care providers in the treatment of patients with problematic menopause.

Data Availability

The data used in this analysis are available from the Canadian Primary Care Sentinel Surveillance Study (CPCSSN) upon reasonable request to SR, with permission from CPCSSN. The Menopause and Treated or Problem Menopause - Guidance Document used for chart review is available upon request to SR.

Change history

Abbreviations

ATC:

Anatomical Therapeutic Chemical

CaRT:

Classification and Regression Trees

CI:

Confidence Interval

COPD:

Chronic Obstructive Pulmonary Disease

CPCSSN:

Canadian Primary Care Sentinel Surveillance Network

EMR:

Electronic Medical Record

ICD-9-CM:

International Classification of Diseases– 9th Version (Clinical Modification)

kBF:

k-Best Features

ML:

Machine Learning

NCV:

Nested 10-Fold Cross-Validation

NPV:

Negative Predictive Value

PPV:

Positive Predictive Value

RFE:

Recursive Feature Elimination

References

  1. Yuksel N et al. “Guideline No. 422a: Menopause: Vasomotor Symptoms, Prescription Therapeutic Agents, Complementary and Alternative Medicine, Nutrition, and Lifestyle,” J. Obstet. Gynaecol. Can. JOGC J. Obstet. Gynecol. Can. JOGC, vol. 43, no. 10, pp. 1188–1204.e1, Oct. 2021, https://0-doi-org.brum.beds.ac.uk/10.1016/j.jogc.2021.08.003.

  2. Yasui T, et al. Factors associated with premature ovarian failure, early menopause and earlier onset of menopause in japanese women. Maturitas. Jul. 2012;72(3):249–55. https://0-doi-org.brum.beds.ac.uk/10.1016/j.maturitas.2012.04.002.

  3. Panay N, Palacios S, Davison S, Baber R. “Women’s perception of the menopause transition: a multinational, prospective, community-based survey,” Gynecol. Reprod. Endocrinol. Metab, no. 03/2021, pp. 178–183, Dec. 2021.

  4. Sydora B et al. “Patient characteristics, menopause symptoms, and care provided at an interdisciplinary menopause clinic: retrospective chart review,” Menopause, Jan. 2018.

  5. Maki PM et al. “Guidelines for the evaluation and treatment of perimenopausal depression: summary and recommendations,” vol. 25, no. 10, pp. 1069–85, 2018.

  6. Mendez-Bustos P, Lopez-Castroman J, Baca-García E, Ceverino A. “Life cycle and suicidal behavior among women,” Sci. World J, vol. 2013, no. 485851, 2013.

  7. Thurston RC, Joffe H. “Vasomotor symptoms and menopause: findings from the Study of Women’s Health across the Nation,” Obstet. Gynecol. Clin. North Am, vol. 38, no. 3, pp. 489–501, Sep. 2011, https://0-doi-org.brum.beds.ac.uk/10.1016/j.ogc.2011.05.006.

  8. Morabia A, Flandre P. Misclassification Bias related to Definition of Menopausal Status in Case-Control studies of breast Cancer. Int J Epidemiol. 1992;21(2):222–8.

    Article  CAS  PubMed  Google Scholar 

  9. Utian W. Ovarian function, therapy-oriented definition of menopause and climacteric. Exp Gerontol. 1994;29(3/4):245–51.

    Article  CAS  PubMed  Google Scholar 

  10. Phipps A, et al. Defining menopausal status in epidemiologic studies: a comparison of multiple approaches and their effects on breast cancer rates. Maturitas. 2010;67(1):60–6.

    Article  PubMed  PubMed Central  Google Scholar 

  11. Williamson T, Green ME, Birtwhistle R, Khan S, Garies S, Wong ST. Validating the 8 CPCSSN case definitions for chronic disease surveillance in a primary care database of electronic health records. Ann Fam Med. 2014;12(4):367–72.

    Article  PubMed  PubMed Central  Google Scholar 

  12. Cole NI, et al. An ontological approach to identifying cases of chronic kidney disease from routine primary care data: a cross-sectional study. ” BMC Nephrol. 2018;19(1):85. https://0-doi-org.brum.beds.ac.uk/10.1186/s12882-018-0882-9.

    Article  PubMed  PubMed Central  Google Scholar 

  13. Cave AJ, et al. Development of a validated algorithm for the diagnosis of paediatric asthma in electronic medical records. ” NPJ Prim Care Respir Med. 2016;26(101631999):16085. https://0-doi-org.brum.beds.ac.uk/10.1038/npjpcrm.2016.85.

    Article  PubMed  PubMed Central  Google Scholar 

  14. Cave AJ, Soos B, Gillies C, Drummond N, Pham AN, Williamson T. Validating a case definition for adult asthma in primary care electronic medical records. NPJ Prim Care Respir Med. 2020;30(1):1–4.

    Article  Google Scholar 

  15. Lethebe BC, et al. Developing a case definition for type 1 diabetes mellitus in a primary care electronic medical record database: an exploratory study. Can Med Assoc Open Access J. Apr. 2019;7(2):E246–51. https://0-doi-org.brum.beds.ac.uk/10.9778/cmajo.20180142.

  16. CPCSSN, “CPCSSN Case Definition Version 2.”. 2019. Accessed: Jul. 20, 2023. [Online]. Available: https://cpcssn.ca/wp-content/uploads/2023/03/CPCSSN-Case-Definitions-2022-Q4_v2.pdf.

  17. Greiver M, Williamson T, Bennett T-L, Drummond N, Savage C, Aliarzadeh B. Developing a method to estimate practice denominators for a national canadian electronic medical record database. Fam Pr. 2013;30(3):347–54.

    Article  Google Scholar 

  18. Williamson T, Natarajan N, Barber D, Jackson D, Greiver M. “Caring for the whole practice: the future of primary care,” Can Fam Physician, Jul. 2013.

  19. “Canadian Primary Care Sentinel Surveillance Network. ” https://cpcssn.ca/ (accessed Sep. 07, 2023).

  20. Garies S, Birtwhistle R, Drummond N, Queenan J, Williamson T. Data Resource Profile: National electronic medical record data from the canadian primary care Sentinel Surveillance Network (CPCSSN. Int J Epidemiol. 2017;46(4):1091–2.

    Article  PubMed  Google Scholar 

  21. Vollset SE. Confidence intervals for a binomial proportion. Stat Med. May 1993;12(9):809–24. https://0-doi-org.brum.beds.ac.uk/10.1002/sim.4780120902.

  22. Kadhim-Saleh A, Green M, Williamson T, Hunter D, Birtwhistle R. Validation of the diagnostic algorithms for 5 chronic conditions in the canadian primary care Sentinel Surveillance Network (CPCSSN): a Kingston practice-based Research Network (PBRN) report. J Am Board Fam Med JABFM. 2013;26(2):159–67.

    Article  PubMed  Google Scholar 

  23. Shaw M, Drummond N. Developing a case definition for type 1 diabetes mellitus in a primary care electronic medical record database: an exploratory study. CMAJOpen. 2019;7:246–51.

    Google Scholar 

  24. Ross S et al. Developing and testing the validity of case definitions for pelvic floor disorders in women who consult primary care clinics: retrospective study using primary care electronic medical records, CMAJOpen, May 2020.

  25. Kiran A, et al. Epidemiology and treatment patterns of UK women diagnosed with vasomotor symptoms: findings from the clinical Practice Research Datalink GOLD database. Maturitas. Jun. 2022;164:1–8. https://0-doi-org.brum.beds.ac.uk/10.1016/j.maturitas.2022.05.013.

  26. Fleiss JL. Measuring nominal scale agreement among many raters. ” Psychol Bull. 1971;76(5):378–82.

    Article  Google Scholar 

  27. Truică C-O, Leordeanu C. “Classication of an Imbalanced Data Set using Decision Tree Algorithms,” Univ. Politeh. Buchar. Sci. Bull. Ser. C - Electr. Eng. Comput. Sci, vol. 79, p. 69, Dec. 2017.

  28. Stone M. Cross-Validatory Choice and Assessment of statistical predictions. J R Stat Soc Ser B Methodol. 1974;36(2):111–47.

    Google Scholar 

  29. Hicks SA et al. “On evaluation metrics for medical applications of artificial intelligence.” medRxiv, p. 2021.04.07.21254975, Apr. 09, 2021. https://0-doi-org.brum.beds.ac.uk/10.1101/2021.04.07.21254975.

  30. Guyon I, Weston J, Barnhill S, Vapnik V. Gene selection for cancer classification using support vector machines. Mach Learn. 2002;46(1):389–422.

    Article  Google Scholar 

  31. Pedregosa F, et al. Scikit-learn: machine learning in Python. J Mach Learn Res. 2011;12:2825–30.

    Google Scholar 

  32. Iqbal MRA, Rahaman MS, Nabil SI. Construction of decision trees by using feature importance value for Improved Learning Performance. In: Huang T, Zeng Z, Li C, Leung CS, editors. in Neural information Processing. Lecture Notes in Computer Science. Berlin, Heidelberg: Springer; 2012. pp. 242–9. https://0-doi-org.brum.beds.ac.uk/10.1007/978-3-642-34481-7_30.

    Chapter  Google Scholar 

  33. “The 2022 Hormone Therapy Position Statement of The North American Menopause Society” Advisory Panel., “The 2022 hormone therapy position statement of The North American Menopause Society,” Menopause N. Y. N, vol. 29, no. 7, pp. 767–794, Jul. 2022, https://0-doi-org.brum.beds.ac.uk/10.1097/GME.0000000000002028.

  34. Duong D, Vogel L. National survey highlights worsening primary care access. CMAJ. Apr. 2023;195(16):E592–3. https://0-doi-org.brum.beds.ac.uk/10.1503/cmaj.1096049.

  35. “WHOCC - ATC/DDD Index. ” https://www.whocc.no/atc_ddd_index/?code=G03CA&showdescription=no (accessed Jun. 23, 2023).

Download references

Acknowledgements

Thanks to Matt Taylor (CPCSSN data manager) for creating and managing a Data Presentation Tool, which was used for the chart reviews.

Thanks to Rebecca Miyagishima and Amanda Larocque for reviewing EMR charts.

Funding

This study was funded by a Pfizer Quality Improvement Grant (Pfizer Grant ID 60293977). Pfizer had no influence on the study design, data analysis, findings interpretation, or any content of this manuscript.

Author information

Authors and Affiliations

Authors

Contributions

SR, NY, BS: conceptualization, methodology, manuscript reviewing and editing; AP: methodology, data analysis, original draft preparation; MC, TW: methodology, supervision; SG: conceptualization, methodology; RP: chart reviewing, manuscript reviewing; CL: manuscript reviewing and editing. All authors have read, revised, and approved of the final manuscript.

Corresponding author

Correspondence to Anh N.Q. Pham.

Ethics declarations

Competing interests

SR and NY received a research grant to fund this study (see below). NY has been on the advisory board and/or speaker for Biosyent, Bayer, Amgen, Organon and Duchesnay. All the remaining authors do not have any competing interest.

Ethics approval and consent to participate

This study has received approval from the Health Research Ethics Board at the University of Alberta (Pro00105443) and the University of Calgary (RES0051425) and adheres to all relevant guidelines and regulations for research involving de-identified health data (e.g. CHREB, Tri-Council Policy Statement on the Ethical Conduct for Research Involving Humans [TCPS2]). The CPCSSN database has received ethics approval, including waivers of individual patient informed consent for their de-identified data to be used for surveillance and research, from each contributing network’s local Research Ethics Board (Queen’s University, Memorial University of Newfoundland, University of Ottawa, University of Calgary, Dalhouse University, University of Toronto, Western University, Bruyère Research Institute, University of British Columbia, University of Alberta, and University of Manitoba).

Consent for publication

Not applicable.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

The original version of this article was revised: Equation two has been corrected.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Pham, A.N., Cummings, M., Yuksel, N. et al. Development and validation of a case definition for problematic menopause in primary care electronic medical records. BMC Med Inform Decis Mak 23, 202 (2023). https://0-doi-org.brum.beds.ac.uk/10.1186/s12911-023-02298-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://0-doi-org.brum.beds.ac.uk/10.1186/s12911-023-02298-x

Keywords