Methods
This was an observational and cross-sectional study consisting in the extraction
and analysis of open and patient-centred discussions retrieved from online
forums, which involved French-speaking communities. The selection of forums was
made for posts released between February 2005 and March 2021, with the query
‘endométriose inurl: forum’ via the Google search engine. The collection and
reviewing of URLs was made in March 2021 by two independent authors. Resources
that were not forums, which presented a newsletter, which did not give rise to
an exchange, or which required access rights were excluded. The collection of
URLs containing the keyword ‘endometriosis’ accounted for the various threads on
this topic. All pages on each thread were crawled, that is the URLs of the
websites were scanned and retrieved.
As shown in Figure 5 (Supplementary material) , the frequency of use of
endometriosis forums was not constant over the selected study period
(2005–2021). The number of posts was higher in the period ‘before 2015’ (wave 1)
when compared to period ‘after 2015’ (wave 2). We then divided and compared data
collected according to these two waves. We found with a kappa test that there is
a huge agreement ( k = 87%) in the occurrence of words between
the considered two waves, and that >80% of the evoked symptoms observed in
the period ‘after 2015’ were similar to those of the period ‘before 2015’.
Consequently, data were pooled together in analyses.
We used the French edition of MedDRA (Medical Dictionary for Regulatory
Activities) v.24. MedDRA is a dictionary of medical concepts to explore the
symptomatology related to endometriosis.
12
The medical concepts ontology are hierarchically arranged according to
five levels of detail, from system organ class (SOC) to lowest level term (LLT).
We retained the LLT, which includes medical terms such as symptoms, risk
factors, and quality of life, for example ‘reproductive organs and breast
disorders’.
The workflow was carried out in five steps ( Figure 1 ): (i) the automated extraction
of posts, and extraction of the vocabulary of medical concepts chosen for the
analysis; (ii) cleaning the data from the 10 French online forums and the
dictionary of medical concepts at the preprocessing step; (iii) detection of
symptoms present in the corpus of posts from the dictionary; (iv)
contextualisation of the list of symptoms detected in the text; and (v)
identification of early symptoms with the building of a dictionary of temporal
markers for the identification of early symptoms.
Study design: steps of data sources and data extraction, preprocessing,
symptoms detection, symptoms contextualisation step and early symptoms
identification.
The posts of each discussion thread were scraped using BeautifulSoup, Selenium,
Pandas and Urllib libraries to extract the data from the HTML and XPATH trees in
Python language. They were then gathered into a common corpus with the same
structure. Finally, both posts and MedDRA LLTs followed the same preprocessing
process with the Re and SnowballStemmer libraries in Python.
The following phases allowed retaining only a clean text: the suppression step allowed removing duplicate/empty posts,
automatic replies, URLs and special symbols on the corpus. We also
removed medical concepts containing less than 3 letters (e.g. ‘PA’ a
French acronym for blood pressure, which can also have a negative
connotation like ‘pas’); the homogenisation steps removed accents, punctuation marks and
changed texts to lowercase; the stemming process tokenised texts, in order to remove the stop
words and bring the words back to their root-words. Tokenisation
aims to split a message into a list of words. A unique ID in our corpus to guarantee anonymisation replaced the user's
nickname. The final information was organised in a 9-column table: forum name;
discussion ID; post date; post time; user ID; scraped message; cleaned posts;
stem posts; post ID. The final corpus included new columns corresponding to the
message without punctuation, without characters and without capitalisation
(‘message_clean’) and to the stemming process (‘message_stem’), is available in
Supplementary Table 3 .
the suppression step allowed removing duplicate/empty posts,
automatic replies, URLs and special symbols on the corpus. We also
removed medical concepts containing less than 3 letters (e.g. ‘PA’ a
French acronym for blood pressure, which can also have a negative
connotation like ‘pas’);
the homogenisation steps removed accents, punctuation marks and
changed texts to lowercase;
the stemming process tokenised texts, in order to remove the stop
words and bring the words back to their root-words. Tokenisation
aims to split a message into a list of words.
A clinical symptom is defined as a finding that is reported by patients or by
someone close to them.
13
For the purpose of the current study, a symptom was then deemed a signal
perceived and reported by women, and which does not require medical expertise
(e.g. cysts are signs and cannot be considered as a symptom since their
identification requires the intervention of a health professional). We
identified the presence of LLTs in the corpus by exact matching each concept of
the MedDRA dictionary on each post. We then calculated frequency of occurrence
of each retained symptom. A manual annotation of each LLT with frequency greater
than 10 was carried out according to five categories: symptoms, (risk or
protective) factors, outcome, diagnosis and treatment. Two independent
annotations were performed. A Kappa test was used for the analysis of
annotators’ agreement. The difference in the annotations were discussed and
solved during a third annotation phase.
Contextualisation of symptoms helped providing more information on signals.
Clarifying the meaning of each early symptom is helpful in understanding their
semantics. The tokenisation of the sub-corpus of the message (including the
temporal precocity markers) allowed the words of the corpus to be crossed with
the dictionary of symptoms previously established. A co-occurrence matrix was
applied with a four-word window to generate the occurrence of word pairs found
in proximity.
14
This number was set before the analysis, and can be adapted as
appropriate. The matrix enabled to retrieve the words next to each symptom. The
result of the co-occurrence matrix gave, for each symptom, a list of words found
nearby. A common annotation of each association of a symptom with a context word
was made to remove words that did not provide any additional information about
the symptom. For example, the symptom ‘spotting’ associated with the word ‘pill’
leads to thinking that spotting is a consequence of taking the pill. An
association of a symptom with a context word with similar meaning (e.g.
synonyms), was grouped under a representative medical term. The visualisation of
the results was carried out in the form of relational graphs with the
graph-oriented database Neo4j. Each symptom was linked to the medical term by a
link representing the contextualisation word.
The unique terms of the corpus were studied individually by two readers, for
empirical construction of a lexical field of temporal markers. Inside each post,
proximity of a 10-word window between each temporal marker and each detected
symptom was set. 15 , 16 This threshold was selected empirically, after a
comprehensive reading of all the posts. The production of the co-occurrence
matrix allowed the detection of symptoms close to a temporal marker evocative of
precocity ( Supplementary Table 1 ). The early symptoms selected were the
most frequently found in co-occurrence with a temporal marker. A temporal marker
was often introduced at the beginning of a sentence while a clinical sign can be
found later in the sentence ( Table 1 ). In a second step, the
contextualisation of the all symptoms was filtered to keep only the elements of
these early symptoms.
Examples of original posts and preprocessed posts, showing the proximity
between a temporal marker and an early symptom.
All of the data collected in this study came from public discussions. Information
from public sources represents a public act, and is made available for passive
data collection analysis. Such a type of study does not need any approval from
an ethical committee, as in France, these committees are mainly involved in the
assessment of studies that are intended to collect data de novo, and which may
require patients’ information and/or consent to be carried out. In the present
case, as far as people have accepted the general conditions of use of the
selected forums before partaking in exchanges, so their posts are made publicly
available and can be retrieved and used for research, but not for commercial
purposes. Nonetheless, to enable people to exert their full information right, a
summary of the project, its results, and the coordinates of the corresponding
author are displayed on the website of the academic laboratory (ULR
2694-METRICS, University of Lille). According to the privacy policy of the
selected forums, which are in line with the General Data Protection Regulation
(GDPR), the use of these publicly available posts does not require individual
consent from users. 17 , 18 We further completely de-identified posts, and
pseudonyms were replaced with unique identifiers and messages were not fully
quoted.
Results
The query ‘endométriose inurl: forum’ via the Google search engine resulted in 68
different websites. After applying the inclusion and exclusion criteria, 10
forums were selected: ‘ Doctissimo’, ‘Journal des Femmes’, ‘Au Féminin’,
‘Forum Psychologies’, ‘Madmoizelle’, ‘Vinted’, ‘Forum Parents’, ‘Être
Enceinte’, ‘RockieMag Forum’, and ‘ Maman pour la
vie’ ( Figure 2 a and b) . These forums were about general
health, women's media and specialised maternity. From 2006 to 2016, Doctissimo
was the preferential forum used for endometriosis in these online communities
( Figure 2 a).
( a) Trend in the use of forums between 2005 and 2021. (b) Number
of posts per forum.
Overall, we identified 7148 URL discussion threads related to endometriosis
( Supplementary Table 2 ) including 78,905 posts. The preprocessing
step removed 1585 posts (2%). The cleaned corpus was finally composed of 77,320
unique posts. A total of 9390 users are distributed over the 10 forums. The top
3 forums by number of posts were ‘doctissimo.fr’ (82.1%,
N = 64,812 posts), ‘journaldesfemmes.fr’ (7.5%,
N = 5906 posts) and ‘aufeminin.com’ (4.3%,
N = 3436 posts) ( Figure 2 b).
Regarding the extraction of medical concepts, 83,217 unique LLTs from MedDRA were
used in the symptom detection analysis. The grouping by LLTs of this result gave
the total number of occurrences of each LLTs. This yielded 2064 LLTs detected in
the corpus. The 630 LLTs with more than 10 occurrences in the corpus were
manually annotated according to symptoms, factors, outcomes of the disease,
diagnostic methods, and treatments classes. One annotator obtained 117 selected
symptoms, 365 other annotations (e.g. factor, outcome, diagnosis, and treatment)
and 148 unreferenced (e.g. death, marriage, divorce, unemployment). A second
annotator yielded 248 symptoms, 269 other categories, and 113 unreferenced. The
difference in annotation revealed a Kappa score of 43%. This important
discrepancy led to a third annotation in common. The final annotation ( Supplementary Table 4 ) translated into 195 symptoms, 120
factors, 53 outcomes, 33 diagnoses and 35 treatment terms ( Figure 3 ). Symptoms that can only be
detected after a medical examination were removed (e.g. ovarian cysts).
Distribution of the final annotation of LLTs in five categories: symptom,
factor, outcome, diagnostic, and treatment. Symptoms. A. Factor:
containing identified risk and protective factors. B. Outcome:
containing identified symptoms (clinical signs detected pre-diagnosis).
C. Diagnostic: containing diagnosis methods. D. Treatment: containing
treatment methods.
The resulting dictionary of the most relevant unique terms of the corpus was used
for the co-occurrence matrix. After the filtering columns that contain symptoms,
the matrix was formed of the 8002 words in row and 167 symptoms ( Supplementary Table 6 ). The word occurrences were kept for each
symptom, and then checked manually. For the entire symptoms, 353 symptom/word
context pairs were obtained. After the common annotation, 82 symptoms were
contextualised grouped into 41 representative medical terms ( Supplementary Table 7 ).
The corpus included 8126 unique terms that were studied to extract the time
markers. We identified 26 temporal markers: ‘amont’, ‘ancient’, ‘adolescent’,
‘anteced’, ‘antecedent’, ‘anterieur’, ‘apparu’, ‘auparav’, ‘avant’, ‘debut’,
‘depui’, ‘enfanc’, ‘jeun’, ‘jeuness’, ‘lenfanc’, ‘apparaissent’, ‘premi’,
‘premier’, ‘quauparav’, ‘reapparaiss’, ‘reapparaissent’, ‘reapparaitr’,
‘reapparit’, ‘reapparu’, ‘vecu’, ‘vecus’. The messages located by temporal
markers consisted in 15,032 unique posts. These posts were used for the rest of
the analysis. From the co-occurrence matrix, the symptom occurrences were kept
for each temporal marker, and then checked manually. A list of 53 unique early
symptoms was identified ( Supplementary Table 5 ).
This annotation was conducted to keep these 53 early symptoms contextualised.
Seventy-four symptom/word context pairs were kept ( Supplementary Table 8 ) with 20 general symptoms: ‘Weakened
general condition’, ‘Hot flush’, ‘Headache’, ‘Vaginal itching’, ‘Abdominal
pain’, ‘Muscle pain’, ‘Ovarian pain’, ‘Dysuria’, ‘Dysmenorrhea’, ‘Dyspareunia’,
‘Haematuria’, ‘Urinary tract infection’, ‘Inflammation’, ‘Metrorrhagia’,
‘Menorrhagia’, ‘Migraine’, ‘Neuralgia’, ‘Limb oedema’, ‘Infertility’, ‘Digestive
disorders’ ( Figure 4 ).
Network representing the detected early symptoms associated with the
symptoms annotated with the contextualisation words (visualisation with
Neo4j). A. Node blue: early symptoms detected in the corpus. B. Edges:
contextualisation words associated with the symptom. C. Node orange:
annotated symptom class.
Background
Endometriosis is a complex full-body inflammation disease, affecting women of
reproductive age, as well as cisgender, transgender, and non-binary people in a
currently unknown number. 1 – 3 Simply stated,
the disease affects anyone with a body part classified as ‘female’.
1
Approximately 200 million people worldwide, including 10–15% of women of
reproductive age and 2.5% of postmenopausal women are affected by
endometriosis. 4 , 5
The most recognised symptoms of endometriosis are chronic pelvic pain, dyspareunia,
dysmenorrhea, menorrhagia, bowel symptoms, and infertility. Currently, not only is
there no effective treatment for endometriosis, but the time between the development
of the first lesions and diagnosis can be by about 7–10 years. 6 , 7 Thus, two major challenges must
be met: identification of the earliest symptoms, which could support investigations
on biological processes, and then biomarkers for potential therapeutic targets. The
biological complexity under endometriosis has been addressed using computational
biology approaches applied on endometriosis-related alterations (development and progression),
8
and endometriosis-related core symptoms.
9
Nevertheless, the question of how to capture early symptoms of endometriosis, so that
potential prevention strategies (as no relevant treatment currently exists for
endometriosis) may have the highest impact on women still remains a matter of
concern. Indeed, the identification unknown symptoms or early signs of endometriosis
(i.e. those not clearly or frequently reported in the scientific literature), can be
useful for healthcare professionals in their screening and diagnosis approach. The
emergence of the Internet and the popularity of medical forums have provided
additional health information about the patient experience.
10
For example, studies on the detection of COVID-19 symptoms on Twitter have
emerged and supplemented clinically known symptoms.
11
Sarker et al.
11
reported the expression of anosmia and/or ageusia as symptoms not documented
in the literature by matching the word of the corpus to a dictionary of medical
concepts. The advantages of web-based data are its volumetric nature and level of
detail regarding the patient's experience.
In view of the current dearth of data on the patient-reported experience on early
signals of endometriosis, the aim of this study was to identify some of them, by
collecting patient's experiences on online social networks platforms.
Discussion
This is a text-mining approach, based on the exploration of exchange platforms, with
the goal to investigate the ‘early’ symptomatology of endometriosis. We collected 41
groups of symptoms, including 20 groups of them considered as ‘early symptoms’
associated with endometriosis, which were recontextualised based on the content of
forums. An exploratory patient-centred approach was used in order to take the best
advantage from free rich posts released by interested parties on endometriosis, just
like a ‘big’ focus group on endometriosis. As such, forums can also be viewed as an
interesting space for people to actually have sufficient time to update, correct or
even contradict their own initial ideas on a given subtopic. By using the MedDRA,
each symptom and its synonyms, were translated into a unified lexicon, which then
eased the retrieve of only terms referred to as symptoms from the built corpus. Our
study allowed pinpointing symptoms freely reported by women on forums since social
media now appear as the preferred space for women with endometriosis to express
themselves and share experiences/advices about their condition.
19
To the best of our knowledge, this approach has so far never been adopted in
clinical and/or epidemiological studies.
Some of the symptoms identified in our analysis are in agreement with previous
findings in the literature. Their underlying biological mechanisms in the
pathophysiology of endometriosis have already been comprehensively discussed. The
dysregulation of factors involved in the pathological process of endometriosis is
directly associated with migraines, pelvic pain and more specifically with
dysmenorrhea, dyspareunia, and painful bladder syndrome and irritable bowel syndrome.
20
Pelvic and abdominal pains reach the nervous system, and lead through
nociception, to neuropathic or neuroinflammatory pain, which may explain the
migraines and headaches experienced by patients.
20
The inflammatory environment of the disease may explain the infertility
experienced by the patients, since these dysregulations can cause an alteration of
the embryonic implantation and the inability of women with endometriosis to get pregnant.
21
Endometriotic lesions have been strongly associated with irritation causing
abdominal pain, pain on defecation, urinary tract infection, dysuria, and digestive disorders.
22
Finally, endometrial lesions can cause pelvic pain, menorrhagia and metrorrhagia.
23
Other extracted symptoms, such as urinary pain, urinary tract infection, or
gastrointestinal disorders are in agreement with the literature. Newly detected
symptoms herein, whose relationship with endometriosis may be unknown need to be
more extensively studied. Practitioners, who have not yet looked at, can now address
these potentially new symptoms. Nonetheless, oedema for example would be associated
with some pain and digestive disorders, which could guide the diagnosis towards
endometriosis. Since peripheral nerves are directly associated with endometrial tissue,
20
earlier authors have assumed that implanting endometrial tissue around the
sciatic nerve would cause an inflammatory reaction, severe pain and neuralgia.
24
Furthermore, it was argued that early diagnosis of endometriosis could avoid
permanent nerve damage, which may be associated with bladder incontinence, muscle
weakness and fatigue.
20
Many patients complain of vaginal itching caused by endometrial lesions, with no
clear physiological or biological explanations. The identified dizziness in the
alteration of the patient's general state was found to be an adverse effect of
endometriosis treatments (e.g. opioid, postoperative effects of laparoscopic
surgery). 25 , 26 Fatigue is associated with somatic pain syndrome and is
significantly related to endometriosis 27 , 28 or can be associated with the
side effects of some treatments (e.g. contraceptive pill).
26
Patients with gastrointestinal disturbances report the presence of nausea.
29
Acute pain can justify this nausea, for abdominal pain being possibly a
source of nausea, as well as dysmenorrhea. Furthermore, attempted treatments can
also yield side effects such as nausea and vomiting.
30
The main information concerning a possible link between endometriosis and hot
flashes suggested a post hormonal treatment effect, which may translate into
artificial menopause. 31 , 32 Symptoms not biologically explained and/or explored in the
literature may be consequences of other symptoms and/or due to treatments.
Therefore, it would be interesting to further check and investigate these signals
during consultations. Because some patients can self-report some of the symptoms
found in this study during the consultation interview, such potentially novel signs
can complete those already known and/or used by practitioners in their routine.
It is important to note that the text-mining approach has a number of limitations.
Manual data extraction is time consuming and limited to the selected sources. An
adaptation of the data extraction method to each source within a learning of each
HTML code is required. This step can be facilitated by using an API to automatically
extract data from all sources using a list of keywords. Regarding the identification
of early symptoms, a dictionary was created in an empirical way. A more accurate
method could be developed and applied at the place of the built timeline in the
speech. The analysis of verb tenses can be used to classify and identify the
symptoms that occur first. The lack of information about the contextualisation of
some symptoms can add noise to the results. The context of the entire sentence in
which the symptom is evoked can also cause confusion. Furthermore, without a formal
or declared diagnosis by people using the selected forums for this study, we have
purposely merged posts released by people with endometriosis and any third party
(e.g. caregiver, relatives) interested by this condition. Nevertheless, the findings
from this study would need to be compared with those of a future study involving
only people with endometriosis. Moreover, the temporal markers are not rigorously
linked to the earliness of symptoms as described in this study although they are in
close proximity. An analysis of the context, taking into account the tenses of the
verbs, might help to identify more precisely the temporality/earliness of the evoked
symptoms. Moreover, since different symptoms may correspond to different stages of
the disease, due the heterogeneous manifestation of endometriosis, it is difficult,
once again, to ascertain that the novel symptoms obtained in this study are
absolutely in the earlier phases of the disease. Nonetheless, these symptoms should
be considered as additional signs that can inform clinical decision-makers and/or
practitioners on endometriosis. In future studies, it is noteworthy that a sentiment
analysis can also be applied on such sentences to make sure that the symptom is not
evoked as a negation (e.g. ‘ I don’t have a headache ’). Finally, at
a methodological standpoint, our approach can be tested on another corpus of posts
in order to assess its validity and reproducibility.
Conclusions
This study showed the relevance of forum discussions in detecting endometriosis
symptoms from patient experiences. Symptoms completing previous findings (e.g.
headache, neuralgia) were pointed out by our analysis. However, some of the detected
symptoms in the current study have not yet been linked to any biological mechanism
of the disease, and this invites further studies. Some of these potentially new
symptoms highlighted could for example be used to inform a protein network analysis
analogous to what was recently published, using the core symptoms of
endometriosis.
Supplementary Material
Click here for additional data file.
Supplemental material, sj-docx-1-dhj-10.1177_20552076231176114 for Identification
of early symptoms of endometriosis through the analysis of online social
networks: A social media study by Mathilde Fruchart, Fatima El Idrissi, Antoine
Lamer, Karim Belarbi, Mohamed Lemdani, Djamel Zitouni and Benjamin C Guinhouya
in DIGITAL HEALTH
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.