<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "http://dtd.nlm.nih.gov/publishing/2.0/journalpublishing.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="2.0">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">JMIR</journal-id>
      <journal-id journal-id-type="nlm-ta">J Med Internet Res</journal-id>
      <journal-title>Journal of Medical Internet Research</journal-title>
      <issn pub-type="epub">1438-8871</issn>
      <publisher>
        <publisher-name>JMIR Publications</publisher-name>
        <publisher-loc>Toronto, Canada</publisher-loc>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="publisher-id">v23i10e27714</article-id>
      <article-id pub-id-type="pmid">34673524</article-id>
      <article-id pub-id-type="doi">10.2196/27714</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Original Paper</subject>
        </subj-group>
        <subj-group subj-group-type="article-type">
          <subject>Original Paper</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Quantifying the Severity of Adverse Drug Reactions Using Social Media: Network Analysis</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="editor">
          <name>
            <surname>Kukafka</surname>
            <given-names>Rita</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Sarker</surname>
            <given-names>Abeed</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Matsuda</surname>
            <given-names>Shinichi</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib id="contrib1" contrib-type="author">
          <name name-style="western">
            <surname>Lavertu</surname>
            <given-names>Adam</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <xref rid="aff2" ref-type="aff">2</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0003-2396-1915</ext-link>
        </contrib>
        <contrib id="contrib2" contrib-type="author">
          <name name-style="western">
            <surname>Hamamsy</surname>
            <given-names>Tymor</given-names>
          </name>
          <degrees>MS</degrees>
          <xref rid="aff3" ref-type="aff">3</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0003-0820-2208</ext-link>
        </contrib>
        <contrib id="contrib3" contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Altman</surname>
            <given-names>Russ B</given-names>
          </name>
          <degrees>MD, PhD</degrees>
          <xref rid="aff2" ref-type="aff">2</xref>
          <xref rid="aff4" ref-type="aff">4</xref>
          <address>
            <institution>Department of Bioengineering</institution>
            <institution>Stanford University</institution>
            <addr-line>Shriram Center Room 213</addr-line>
            <addr-line>443 Via Ortega MC 4245</addr-line>
            <addr-line>Stanford, CA, 94305</addr-line>
            <country>United States</country>
            <phone>1 650 725 0659</phone>
            <email>rbaltman@stanford.edu</email>
          </address>
          <xref rid="aff5" ref-type="aff">5</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0003-3859-2905</ext-link>
        </contrib>
      </contrib-group>
      <aff id="aff1">
        <label>1</label>
        <institution>Biomedical Informatics Training Program</institution>
        <institution>Stanford University</institution>
        <addr-line>Stanford, CA</addr-line>
        <country>United States</country>
      </aff>
      <aff id="aff2">
        <label>2</label>
        <institution>Department of Biomedical Data Science</institution>
        <institution>Stanford University</institution>
        <addr-line>Stanford, CA</addr-line>
        <country>United States</country>
      </aff>
      <aff id="aff3">
        <label>3</label>
        <institution>Center for Data Science</institution>
        <institution>New York University</institution>
        <addr-line>New York, NY</addr-line>
        <country>United States</country>
      </aff>
      <aff id="aff4">
        <label>4</label>
        <institution>Department of Bioengineering</institution>
        <institution>Stanford University</institution>
        <addr-line>Stanford, CA</addr-line>
        <country>United States</country>
      </aff>
      <aff id="aff5">
        <label>5</label>
        <institution>Department of Genetics</institution>
        <institution>Stanford University</institution>
        <addr-line>Stanford, CA</addr-line>
        <country>United States</country>
      </aff>
      <author-notes>
        <corresp>Corresponding Author: Russ B Altman <email>rbaltman@stanford.edu</email></corresp>
      </author-notes>
      <pub-date pub-type="collection">
        <month>10</month>
        <year>2021</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>21</day>
        <month>10</month>
        <year>2021</year>
      </pub-date>
      <volume>23</volume>
      <issue>10</issue>
      <elocation-id>e27714</elocation-id>
      <history>
        <date date-type="received">
          <day>3</day>
          <month>2</month>
          <year>2021</year>
        </date>
        <date date-type="rev-request">
          <day>3</day>
          <month>4</month>
          <year>2021</year>
        </date>
        <date date-type="rev-recd">
          <day>25</day>
          <month>5</month>
          <year>2021</year>
        </date>
        <date date-type="accepted">
          <day>14</day>
          <month>6</month>
          <year>2021</year>
        </date>
      </history>
      <copyright-statement>©Adam Lavertu, Tymor Hamamsy, Russ B Altman. Originally published in the Journal of Medical Internet Research (https://www.jmir.org), 21.10.2021.</copyright-statement>
      <copyright-year>2021</copyright-year>
      <license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/">
        <p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research, is properly cited. The complete bibliographic information, a link to the original publication on https://www.jmir.org/, as well as this copyright and license information must be included.</p>
      </license>
      <self-uri xlink:href="https://www.jmir.org/2021/10/e27714" xlink:type="simple"/>
      <abstract>
        <sec sec-type="background">
          <title>Background</title>
          <p>Adverse drug reactions (ADRs) affect the health of hundreds of thousands of individuals annually in the United States, with associated costs of hundreds of billions of dollars. The monitoring and analysis of the severity of ADRs is limited by the current qualitative and categorical systems of severity classification. Previous efforts have generated quantitative estimates for a subset of ADRs but were limited in scope because of the time and costs associated with the efforts.</p>
        </sec>
        <sec sec-type="objective">
          <title>Objective</title>
          <p>The aim of this study is to increase the number of ADRs for which there are quantitative severity estimates while improving the quality of these severity estimates.</p>
        </sec>
        <sec sec-type="methods">
          <title>Methods</title>
          <p>We present a semisupervised approach that estimates ADR severity by using social media word embeddings to construct a lexical network of ADRs and perform label propagation. We used this method to estimate the severity of 28,113 ADRs, representing 12,198 unique ADR concepts from the Medical Dictionary for Regulatory Activities.</p>
        </sec>
        <sec sec-type="results">
          <title>Results</title>
          <p>Our Severity of Adverse Events Derived from Reddit (SAEDR) scores have good correlations with real-world outcomes. The SAEDR scores had Spearman correlations of 0.595, 0.633, and −0.748 for death, serious outcome, and no outcome, respectively, with ADR case outcomes in the Food and Drug Administration Adverse Event Reporting System. We investigated different methods for defining initial seed term sets and evaluated their impact on the severity estimates. We analyzed severity distributions for ADRs based on their appearance in boxed warning drug label sections, as well as for ADRs with sex-specific associations. We found that ADRs discovered in the postmarketing period had significantly greater severity than those discovered during the clinical trial (<italic>P</italic>&#60;.001). We created quantitative drug-risk profile (DRIP) scores for 968 drugs that had a Spearman correlation of 0.377 with drugs ranked by the Food and Drug Administration Adverse Event Reporting System cases resulting in death, where the given drug was the primary suspect.</p>
        </sec>
        <sec sec-type="conclusions">
          <title>Conclusions</title>
          <p>Our SAEDR and DRIP scores are well correlated with the real-world outcomes of the entities they represent and have demonstrated utility in pharmacovigilance research. We make the SAEDR scores for 12,198 ADRs and the DRIP scores for 968 drugs publicly available to enable more quantitative analysis of pharmacovigilance data.</p>
        </sec>
      </abstract>
      <kwd-group>
        <kwd>social media for health</kwd>
        <kwd>pharmacovigilance</kwd>
        <kwd>adverse drug reactions</kwd>
        <kwd>machine learning</kwd>
        <kwd>network analysis</kwd>
        <kwd>word embeddings</kwd>
        <kwd>drug safety</kwd>
        <kwd>social media</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec sec-type="introduction">
      <title>Introduction</title>
      <sec>
        <title>Background</title>
        <p>Adverse drug reactions (ADRs) are among the leading causes of mortality and morbidity in the United States, affecting hundreds of thousands of people and costing more than US $500 billion every year in the United States alone [<xref ref-type="bibr" rid="ref1">1</xref>,<xref ref-type="bibr" rid="ref2">2</xref>]. An ADR is characterized as “an appreciably harmful or unpleasant reaction resulting from an intervention related to the use of a medicinal product” [<xref ref-type="bibr" rid="ref3">3</xref>]. A drug’s ADRs are primarily derived from clinical trial data and augmented through postmarketing surveillance [<xref ref-type="bibr" rid="ref4">4</xref>]. The ADR labeling process for each drug is based on the frequency of the ADRs in the treated populations and the severity of the outcomes associated with each ADR. The severity of an ADR is traditionally classified into one of three categories characterized by where it appears on the label: boxed warning, warnings and precautions, or adverse reactions, listed in decreasing order of associated severity [<xref ref-type="bibr" rid="ref5">5</xref>]. Boxed warnings refer to “serious warnings, particularly those that lead to death or serious injury.” Under the existing system, death is severe enough to warrant a boxed warning, but so is restlessness; therefore, it would be useful for prescribers, patients, and researchers to have systems for recognizing that death is more severe than restlessness [<xref ref-type="bibr" rid="ref6">6</xref>]. Similarly, warnings, precautions, and adverse reactions include a diverse spectrum of ADRs, and it can be difficult for patients, prescribers, and researchers to compare the risk profiles of different drugs.</p>
        <p>The existing categorical definitions of ADR severity limit the ability of researchers and regulators to apply quantitative methods to regulatory and pharmacovigilance efforts. For instance, tracking the regulatory performance of drug safety efforts is primarily achieved through a categorical analysis of ADR case outcomes and drug label changes. The creation of a quantitative numerical scale that provides a relative severity score for each ADR would enable these analyses to leverage the powerful tools of quantitative decision and utility theory.</p>
        <p>The pioneering study by Tallarida et al [<xref ref-type="bibr" rid="ref7">7</xref>] examined the ability to create a continuous ADR severity scale. A total of 53 physicians were interviewed and asked to estimate the acceptable probabilities in a set of scenarios specifying risk-benefit trade-offs. These probabilities were then used to define a set of equations and the expected benefit to the patient in each scenario. Solving the system of equations resulted in numerical severity weights that were relative to the lowest ADR severity. The effort took approximately 45 minutes per interview and resulted in relative scores for seven ordinal categories of ADR severity.</p>
        <p>The study by Gottlieb et al [<xref ref-type="bibr" rid="ref8">8</xref>] expanded this ADR severity ranking task using the crowdsourcing platform Amazon Mechanical Turk. Individual workers were presented with a pair of ADRs and a link to more information on these ADRs and asked to select the ADR that they perceived to be more severe. Over 146 person-days, 2589 workers produced severity comparisons for 126,512 ADR pairs composed from 2929 unique ADRs. A linear programming algorithm was used to create a unified ADR severity ranking. To validate the ranking, the ADR severities were correlated with ADR case outcomes from the Food and Drug Administration Adverse Event Reporting System (FAERS). The highest Spearman correlation, ρ=0.53, was associated with the proportion of cases resulting in death. This effort drastically increased the number of ADRs included in the severity ranking but was costly in terms of human time, labor, and money.</p>
        <p>Recent work in natural language processing has resulted in numerous methods for creating vectorized word representations (also known as <italic>embeddings</italic>) that capture semantic meaning in a dense numerical representation [<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref10">10</xref>]. These methods rely on the distributional hypothesis that word meaning is captured by the contexts in which a word appears [<xref ref-type="bibr" rid="ref11">11</xref>]. The practical implication of the distributional hypothesis is that training a model to predict word context (ie, co-occurring word pairs) results in model weights that capture the meaning of the word. These model weights can then be used as a numerical representation of a given word.</p>
        <p>Word embeddings learned on social media data sets have been deployed for pharmacovigilance previously but not for the purpose of exploring ADR severity [<xref ref-type="bibr" rid="ref12">12</xref>]. By using a social media corpus generated by the general public, especially on pseudoanonymous social media platforms such as Reddit, researchers can capture meanings that reflect people’s unfiltered experiences of, and opinions about, health and disease [<xref ref-type="bibr" rid="ref13">13</xref>,<xref ref-type="bibr" rid="ref14">14</xref>]. Investigating the utility, benefits, and challenges of different social media platforms and methods for pharmacovigilance has been an area of active research [<xref ref-type="bibr" rid="ref15">15</xref>]. Previous research on Twitter data annotated samples of tweets for personal medication intake versus individuals simply mentioning a drug [<xref ref-type="bibr" rid="ref16">16</xref>,<xref ref-type="bibr" rid="ref17">17</xref>]. Together, the 2 studies found that approximately 40% of the tweets mentioning a drug indicated that the individual tweeting was possibly personally taking that medication. Here, we focused on ADRs, but it is likely that the individuals discussing ADRs on social media have more direct experience with the ADRs, either by being directly affected by the ADRs or being informed about the ADR experience by a close relation, than individuals selected from a pool of crowdworkers. Word embeddings trained on a corpus generated by the general public can then be leveraged as a metric for public opinion in a similar fashion to previous crowdsourced approaches. We used the RedMed embeddings trained on more than 580 million health-enriched Reddit comments from more than 10 million users [<xref ref-type="bibr" rid="ref18">18</xref>]. These numbers dwarf the number of votes gathered in a typical crowdsourcing experiment and are therefore potentially more indicative of a representative population’s perception of ADRs than traditional survey-based methods.</p>
      </sec>
      <sec>
        <title>Objective</title>
        <p>In this study, we used publicly available word embeddings and a network-based label propagation method to estimate the severity of 12,198 ADR concepts from Medical Dictionary for Regulatory Activities (MedDRA) terminology. The resulting Severity of Adverse Events Derived from Reddit (SAEDR) scores were validated against human rankings as well as FAERS case outcomes. We used System Organ Classes (SOCs) and other groupings within the MedDRA to examine how the SAEDR severity scores differ at various levels of abstraction and within ADR categories. We used the SAEDR scores to compare the severity among ADRs in different sections of drug labels, ADRs with disproportionate rates between sexes, and ADRs discovered at different stages of drug development. We combined the SAEDR scores with frequency information from Side Effect Resource (SIDER)–derived drug labels to generate drug-specific aggregate side effect severity scores [<xref ref-type="bibr" rid="ref19">19</xref>]. The SAEDR scores enabled new analyses that were not possible with the existing categorical classifications.</p>
      </sec>
    </sec>
    <sec sec-type="methods">
      <title>Methods</title>
      <sec>
        <title>Data Sources and Preparation</title>
        <sec>
          <title>ADR Terms and Phrases</title>
          <p>We sourced our ADR phrases and their synonyms from the <italic>lowest-level terms</italic> within the terminology of the MedDRA, version 22 [<xref ref-type="bibr" rid="ref20">20</xref>]. We filtered terms based on their semantic types within the Unified Medical Language System Metathesaurus [<xref ref-type="bibr" rid="ref21">21</xref>] and retained terms of the following semantic types: <italic>Disease or Syndrome</italic> (T047), <italic>Finding</italic> (T033), <italic>Neoplastic Process</italic> (T191), <italic>Injury or Poisoning</italic> (T037), <italic>Pathologic Function</italic> (T046), <italic>Sign or Symptom</italic> (T184), <italic>Mental or Behavioral Dysfunction</italic> (T048), and <italic>Congenital Abnormality</italic> (T019).</p>
        </sec>
        <sec>
          <title>Word-Embedding Model</title>
          <p>We used the word-embedding model from the RedMed project [<xref ref-type="bibr" rid="ref18">18</xref>]. This model was selected because it was directly optimized for medical term similarity and was trained on a corpus of Reddit comments generated by the public and preprocessed to maximize the inclusion of ADR terms. ADRs that were a phrase such as “abdominal pain” were represented using the average embedding of all terms within the phrase. In previous work, not presented here, we found that the use of average embeddings, for example, “abdominal” + “pain”/2, produced better results than the use of embedded phrases, for example, “abdominal pain.”</p>
        </sec>
        <sec>
          <title>Gottlieb Severity Data</title>
          <p>We used the crowdsourced severity estimates included within the supplement of the study by Gottlieb et al [<xref ref-type="bibr" rid="ref8">8</xref>], which included 2929 ADRs with rank scores.</p>
        </sec>
        <sec>
          <title>FAERS Data</title>
          <p>All adverse drug event data were downloaded in JSON format from the openFDA website, which includes data from both the Legacy Adverse Event Reporting System and the FAERS. Data were retrieved on August 8, 2020, and included adverse event case reports up to June 30, 2020. Drug reactions were normalized to the MedDRA, version 22. We filtered to unique case IDs using the provided duplicated flag to remove duplicate reports and case reports that did not originate in the United States. Case outcomes were normalized according to the following schema: “Death”: {“Death”}, “Serious Outcome”: {“Life-Threatening,” “Hospitalization,” “Other Serious,” “Required Intervention”}, and “Disability”: {“Congenital Anomaly,” “Disability”}. We created an additional outcome category denoted <italic>No Outcome</italic> for cases with no reported outcome. We felt the need to create this category because the FAERS only allows for the reporting of serious case outcomes, and there is information in the absence of a serious outcome being reported. The outcome proportions for each ADR were calculated by dividing the number of cases reporting that ADR for a particular outcome by the total number of cases reporting that ADR.</p>
        </sec>
        <sec>
          <title>FAERS Severity Rankings</title>
          <p>For the ranking of ADRs based on the FAERS data, we ranked ADRs based on their marginal likelihood to be included in a case with death or serious outcome as the reported case outcome. This was calculated by dividing the number of cases with the ADR that resulted in death or serious outcome by the number of cases without the ADR that resulted in these outcomes.</p>
        </sec>
      </sec>
      <sec>
        <title>Semisupervised Severity Propagation</title>
        <sec>
          <title>Overview</title>
          <p>Given a word-embedding model and a set of initial, potentially noisy, seed-word labels for the severe and benign categories, we sought to propagate severity information over the rest of the vocabulary, similar to the sentiment propagation methods described in the study by Hamilton et al [<xref ref-type="bibr" rid="ref22">22</xref>]. A graphical overview of this method is presented in <xref rid="figure1" ref-type="fig">Figure 1</xref>.</p>
          <fig id="figure1" position="float">
            <label>Figure 1</label>
            <caption>
              <p>Overview of the network method for estimating ADR severity from word embeddings. Word embeddings for 28,113 ADR terms and phrases were extracted from the RedMed word-embedding model. A network is constructed based on nearest-neighbors in the embedding space. A subset of nodes is labeled as severe or benign ADRs, and random walks from these labeled nodes are conducted. The Severity of Adverse Events Derived from Reddit scores for each ADR are calculated based on the relative number of encounters in random walks initiated from severe versus benign nodes. ADR: adverse drug reaction.</p>
            </caption>
            <graphic xlink:href="jmir_v23i10e27714_fig1.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </fig>
        </sec>
        <sec>
          <title>Lexical Network Creation</title>
          <p>The network was constructed by connecting words (nodes) with edges to their <italic>k-nearest neighbors</italic> based on the cosine distance between their embeddings. The corresponding edge weight was set to the cosine similarity of the two words (ie, the edge weight increases with term similarity).</p>
        </sec>
        <sec>
          <title>Seed Selection From Terminology</title>
          <p>An initial set of ranked seed terms was labeled. Biomedical terminologies and ontologies often contain many terms that are highly similar to each other. To reduce the effect of lexical similarities on label propagation, we filtered the benign and severe seed terms based on the edit ratio among the terms in each list, as defined by the ratio function in the python-Levenshtein package [<xref ref-type="bibr" rid="ref23">23</xref>]. Only terms that had an edit ratio &#62;0.5 from a higher-ranking term were included in the list, resulting in a reduced list of lexically distinct seed terms. Both benign and severe seed term lists were truncated to the minimum seed term list size of both seed sets.</p>
          <p>For instance, if the severe seed term list had [“death,” “cardiac arrest acute,” “cardiac arrest”] in rank order and the benign seed term list had [“dry skin,” “yawning,” “cold sweat”] in rank order, then, after lexical filtering, the severe seed term list would be [“death,” “cardiac arrest acute”], and the benign seed term list would remain unchanged. The final seed term lists would be truncated to the minimum seed term list size, resulting in a severe seed term list [“death,” “cardiac arrest acute”] and a benign seed term list [“dry skin,” “yawning”].</p>
        </sec>
        <sec>
          <title>Random Walks From Seed Nodes</title>
          <p>Given a network and a set of seed nodes, we modified code from <italic>node2vec</italic> [<xref ref-type="bibr" rid="ref24">24</xref>] to perform 5000 weighted random walks of length 200 from each seed node. We selected the number of random walks to ensure that all nodes within the graph were visited a nonzero number of times. We noted that this value needs to be empirically determined and will likely change based on the size and structure of the network.</p>
        </sec>
        <sec>
          <title>SAEDR Score Calculation</title>
          <p>The SAEDR score of a given node <italic>u</italic> is calculated using the following formula:</p>
          <disp-formula>u<sub>SAEDR</sub> = s<sub>u</sub> / s<sub>u</sub> + b<sub>u</sub></disp-formula>
          <p>In the formula, s<sub>u</sub> and b<sub>u</sub> are the respective number of times that node <italic>u</italic> is encountered in a random walk from a severe node or a benign node. If node <italic>u</italic> was contained within one of our seed node sets, self-visits during the random walks were excluded from the calculation. To increase the robustness of these score estimates, we performed 10,000 iterations of bootstrap sampling [<xref ref-type="bibr" rid="ref25">25</xref>] of the random walks, and the average of these bootstrap estimates was calculated. The SAEDR scores from multiple seed sets were averaged at the preferred term (PT) level, and the final combined scores were normalized to a zero to one range.</p>
        </sec>
      </sec>
      <sec>
        <title>Hyperparameter Tuning for Severity Propagation</title>
        <p>We randomly split the crowdsourced severity data into training (1778/2369, 75.05%) and test (591/2369, 24.95%) sets, with 284 ADRs dropped because of mapping. We performed a grid search over the number of neighbors used to construct the lexical network {2, 5, 10, 15, 20, 25, 30} and the percentage of nodes to label for the severe and benign seed nodes {2, 5, 10,15, 20, 25}. For example, an individual run would use the 25 nearest neighbors and 5% at each end of the training severity rank (ie, the top 5% most severe and bottom 5% least severe ADRs). We ultimately selected the parameters with the highest Spearman correlation with the training data.</p>
      </sec>
      <sec>
        <title>ADR Discovery Group Analysis</title>
        <p>We analyzed the SAEDR score distributions of several different categories of ADRs.</p>
        <sec>
          <title>ADRs Included in a Boxed Warning</title>
          <p>We downloaded the counts for the number of appearances of ADRs in the boxed warning section of drug labels from the supplement of the study by Wu et al [<xref ref-type="bibr" rid="ref26">26</xref>]. ADRs that appear on a drug label based on their appearance in the SIDER but were not included in the list provided in the study by Wu et al [<xref ref-type="bibr" rid="ref26">26</xref>] were considered to not have appeared in a boxed warning section [<xref ref-type="bibr" rid="ref19">19</xref>].</p>
        </sec>
        <sec>
          <title>ADRs With Disproportionate Reporting Between Sexes</title>
          <p>A set of ADRs shown to have sex differences was identified from the supplement of the study by Chandak et al [<xref ref-type="bibr" rid="ref27">27</xref>]. We filtered out ADRs considered borderline (mean log(ROR)&#60;0.4 and mean log(ROR)&#62;−0.4), as defined in the original study by Chandak et al [<xref ref-type="bibr" rid="ref27">27</xref>]. Their study reported ADRs at the high-level group term (HLGT) level within the MedDRA, whereas our severity estimates were generated at the PT level. There are many PT ADRs per HLGT; therefore, all PTs within the specified HLGT terms were averaged to create a single SAEDR score for that HLGT. We did not use the drug information except to note distinct instances of sex-specific HLGTs (ie, HLGTs associated multiple times with different drugs each time).</p>
        </sec>
        <sec>
          <title>ADRs Discovered at Different Stages of Drug Development</title>
          <p>ADRs discovered at the clinical trial stage were identified based on their inclusion in a drug label in the SIDER with a non-postmarketing ADR frequency [<xref ref-type="bibr" rid="ref19">19</xref>]. Postmarketing ADRs were identified as those included on drug labels with postmarketing frequency information and no clinical trial frequency information. OFFSIDES and TWOSIDES ADRs were discovered from the FAERS data by looking at disproportionate reporting after correcting for the effects of demographics and other case information [<xref ref-type="bibr" rid="ref28">28</xref>]. The OFFSIDES and TWOSIDES sets are the results of a study by Tatonetti et al [<xref ref-type="bibr" rid="ref28">28</xref>] in which propensity score matching was used to identify matched cases and controls among the FAERS cases and to also identify potentially novel ADRs based on disproportional reporting metrics. This was done to discover ADRs that were associated with a single drug, OFFSIDES, as well as ADRs that were potentially the result of drug-drug interactions, TWOSIDES. We considered both OFFSIDES and TWOSIDES ADRs discovery-stage postmarketing ADRs because they have not yet been included in the drug labeling.</p>
        </sec>
      </sec>
      <sec>
        <title>Drug-Risk Profile Scores</title>
        <p>The drug-risk profile (DRIP) scores were calculated based on our SAEDR score and the frequency of each ADR for a given drug. The DRIP score for a given drug is the sum of the severity multiplied by the frequency of each ADR on the drug label. Drug ADR frequency information was retrieved from the SIDER [<xref ref-type="bibr" rid="ref19">19</xref>]. In situations where multiple ADR frequencies were indicated, 1000 frequency estimates were sampled from a uniform distribution with a lower bound at the minimum-reported frequency and an upper bound at the maximum-reported frequency. When there was no frequency information, we sampled 1000 estimates from a uniform distribution over the interval of 0.001 to 0.01. The final DRIP score was the average score across 1000 samples.</p>
      </sec>
    </sec>
    <sec sec-type="results">
      <title>Results</title>
      <sec>
        <title>Network Statistics</title>
        <p>We used the ADR terms and phrases from the MedDRA, version 22.0, lowest-level terms [<xref ref-type="bibr" rid="ref20">20</xref>] as the initial lexicon for the lexical ADR network. Although the FAERS uses the MedDRA to encode ADRs, versioning differences over the years have resulted in some FAERS ADRs not being included in the MedDRA. We were able to generate embeddings for 92.35% (2450/2653) of the unique crowdsourced ADRs, 100% (14,045/14,045) of the unique FAERS ADRs, and 68.72% (28,113/40,905) of all filtered MedDRA terms. This resulted in a final lexical network with 28,113 nodes, representing 12,198 MedDRA PTs.</p>
      </sec>
      <sec>
        <title>SAEDR Score Performance</title>
        <p>We compared our severity estimates using crowdworker-ranked seeds, FAERS-ranked seeds, and the average severity estimate across the two seed sets with two different ADR rankings: (1) a held-out test set of crowdworker-ranked ADRs (n=591) and (2) ADRs ranked by case outcome statistics in the FAERS database.</p>
        <p>The crowdworker-seeded severity estimates had the highest training performance with a 25 nearest-neighbors graph and using 10% of the most and least severe ADRs as seeds. The Spearman correlation with the crowdworker test set was 0.747 (<italic>P</italic>&#60;.001). The Spearman correlations for events with at least 100 reports in the FAERS were 0.595, 0.616, and −0.732 for death, serious outcome, and no outcome, respectively, with <italic>P</italic>&#60;.001 for all (Figures S1 and S2 of <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>).</p>
        <p>The FAERS-seeded severity estimates had the highest training performance with a 10 nearest-neighbors graph and using 10% of the most and least severe ADRs as seeds. The Spearman correlation with the crowdworker test set was 0.587. As no information from the crowdworker rankings was used to select these seeds, we can also report the Spearman correlation with the entire set of crowdworker ADRs: 0.765. The Spearman correlations for events with at least 100 reports in the FAERS were 0.509, 0.557, and −0.656 for death, serious outcome, and no outcome, respectively, with <italic>P</italic>&#60;.001 for all (Figures S1 and S2 of <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>).</p>
        <p>The SAEDR score—the average of the two severity estimates—had a Spearman correlation with the crowdworker test set of 0.735 (<xref rid="figure2" ref-type="fig">Figure 2</xref>). The Spearman correlations for events with at least 100 reports in the FAERS were 0.595, 0.633, and −0.748 for death, serious outcome, and no outcome, respectively (Figures S1 and S2 of <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). All these correlations were statistically significant (<italic>P</italic>&#60;.001).</p>
        <fig id="figure2" position="float">
          <label>Figure 2</label>
          <caption>
            <p>Comparison of SAEDR scores and crowdworker severity estimates. (A) Histogram of SAEDR scores for 12,198 adverse drug reactions (ADRs). (B) Crowdworker severity estimates (x-axis) versus SAEDR scores (y-axis) for a test set of 591 ADRs. The SAEDR scores showed a strong Spearman correlation, ρ=0.735, with the human crowdworker rankings. We noted that this correlation is greater than the interrater correlation, ρ=0.71, reported in the original crowdsource study by Gottlieb et al [<xref ref-type="bibr" rid="ref8">8</xref>]. A select set of the least and most severe ADRs based on the SAEDR score has been annotated. (C) Differences between severity estimates seeded with FAERS rankings and those seeded with crowdworker rankings (x-axis) for different System Organ Class groups (y-axis). The dashed blue line indicates where the severity would be the same for both estimates. FAERS: Food and Drug Administration Adverse Event Reporting System; SAEDR: Severity of Adverse Events Derived from Reddit.</p>
          </caption>
          <graphic xlink:href="jmir_v23i10e27714_fig2.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Seed-Ranking Comparisons</title>
        <p>We examined the effects of seeding on the severity estimates of individual ADRs. Most ADRs were not substantially changed by the use of different seeds. We aggregated ADR severity differences at the MedDRA SOC level and found that the FAERS seeds led to increased severity estimates for <italic>Psychiatric Disorders</italic> and <italic>Social Circumstances</italic> (<xref rid="figure2" ref-type="fig">Figure 2</xref>). The most drastic shift in values was the decrease in severity of <italic>Product Issue</italic>–related ADRs using FAERS seeds compared with their severity when using crowdworker-based seeding.</p>
      </sec>
      <sec>
        <title>SOC Severity Rankings</title>
        <p>We compared the severity of ADRs based on the MedDRA SOC groupings as a qualitative evaluation (<xref rid="figure3" ref-type="fig">Figure 3</xref>). We found the ADRs related to cancer (neoplasms), cardiac, and liver (hepatobiliary) to be the most severe, with high SAEDR scores, whereas skin, general disorders, and product issues were considered the least severe, with low SAEDR scores. We performed a qualitative examination of ADRs at various other levels. We compared the severity distributions between the ADRs describing benign neoplasms and those describing malignant neoplasms (Figure S3 of <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). A one-sided <italic>t</italic> test found malignant neoplasms to be significantly more severe than benign neoplasms based on their SAEDR scores (<italic>P</italic>&#60;.001). We found a wide range in terms of severity within the different levels of the MedDRA ADR term groupings (<xref rid="figure3" ref-type="fig">Figure 3</xref>). We noted that among ADRs in the <italic>Cardiac Disorders</italic> HLGT, cardiac neoplasms have the highest SAEDR scores, whereas signs and symptoms of cardiac disorder have the lowest relative SAEDR scores (<xref rid="figure3" ref-type="fig">Figure 3</xref>). When examining the level of individual ADRs within the <italic>Heart Failure Signs and Symptoms</italic> HLGT, we found that the ADRs that we would judge to be more severe were ranked higher than those that are more general and considered less severe.</p>
        <fig id="figure3" position="float">
          <label>Figure 3</label>
          <caption>
            <p>Severity of adverse drug reactions (ADRs) at different group resolutions. (A) SAEDR score (x-axis) for 11,981 ADRs with System Organ Class (SOC) groups (y-axis). The dashed blue line indicates an overall median SAEDR score of 0.554. The SAEDR score distributions indicate that cancers and cardiac-related side effects are considered the most severe, with product issues being the least severe. (B) Severity distributions of the Medical Dictionary for Regulatory Activities high-level group terms (HLGTs) within the Cardiac Disorders SOC. There are large differences in severity within these term groups. (C) High-level terms within the Heart Failure HLGTs show a tighter distribution of severity, with "Heart Failure Signs and Symptoms" being the least severe within this group. (D) Individual side effects within the signs and symptoms of heart failure suggest cardiac asthma and ascites (accumulation of fluid in the peritoneal cavity) are the most severe symptoms, and peripheral swelling is the least severe symptom NEC: necrotizing enterocolitis; SAEDR: Severity of Adverse Events Derived from Reddit.</p>
          </caption>
          <graphic xlink:href="jmir_v23i10e27714_fig3.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Severity of ADRs Grouped by Labeling Section, Sex Effects, and Time Point of Discovery</title>
        <p>On the basis of our estimate, we calculated that the ADRs that have never been included in a boxed warning had a median SAEDR score of 0.538, whereas the ADRs that had been included in at least one boxed warning had a median SAEDR score of 0.624. We found that among the ADRs that have appeared on a drug label, those that have been included in at least one boxed warning were significantly more severe (<italic>P</italic>&#60;.001) than the ADRs that have never been included in a boxed warning section based on a one-sided <italic>t</italic> test (<xref rid="figure4" ref-type="fig">Figure 4</xref>).</p>
        <fig id="figure4" position="float">
          <label>Figure 4</label>
          <caption>
            <p>Differences in adverse drug reaction (ADR) severity between ADR groupings and discovery periods: ADR groups (x-axis) versus SAEDR scores (y-axis). The grey dashed line indicates the median severity, 0.624, of the ADRs that have been included in a boxed warning. The orange boxed line indicates the median severity, 0.538, of the ADRs that appear on a drug label but have not been included in a boxed warning. (A) The ADRs that were listed as a black box warning at least once (n=356) were significantly more severe than those that have not appeared in a black box warning (n=3305). (B) The ADRs that are disproportionately reported for men (n=56,405) are significantly more severe than those disproportionately reported for women (n=50,801). There was no significant difference (ns) in severity between the ADRs included in black box warnings and those disproportionately reported for men. (C) The ADRs discovered in the postmarketing period (n=11,506) are significantly more severe (*** indicate <italic>P</italic>&#60;.001) than those discovered in the clinical trials (n=35,450). The ADRs identified in the postmarketing period through OFFSIDES (n=350,631) and the postmarketing polypharmacy ADRs identified through TWOSIDES (n=4,210,513) are significantly more severe than those discovered in the clinical trials. The severity of all postmarketing ADR groups is significantly less than the severity of the ADRs that have appeared in a black box warning. SAEDR: Severity of Adverse Events Derived from Reddit.</p>
          </caption>
          <graphic xlink:href="jmir_v23i10e27714_fig4.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <p>We found that the ADR HLGTs that are disproportionately reported for men were significantly more severe (<italic>P</italic>&#60;.001) than those disproportionately reported for women (<xref rid="figure4" ref-type="fig">Figure 4</xref>). The HLGTs disproportionately experienced by men were not significantly different from the severity of the ADRs that have been included in at least one boxed warning, <italic>P</italic>=.13, based on a one-sided <italic>t</italic> test.</p>
        <p>We examined the severity of the ADRs that were found during the clinical trial versus the severity of those discovered in the postmarketing period based on the SIDER label annotations. We found that the ADRs discovered in the postmarketing period had significantly higher severity (<italic>P</italic>&#60;.001) than the ADRs discovered in the clinical trials based on a one-sided <italic>t</italic> test (<xref rid="figure4" ref-type="fig">Figure 4</xref>). We compared the severity of the clinical trial ADRs with the severity of those discovered in the postmarketing period using FAERS data. The study by Tatonetti et al [<xref ref-type="bibr" rid="ref28">28</xref>] identified two different sets of ADRs: OFFSIDES is a set of ADRs disproportionately reported for a drug, whereas TWOSIDES is a set of ADRs disproportionately reported for a pair of drugs being taken concurrently, after correcting for case demographics and other information. The severity distribution of ADRs in both OFFSIDES and TWOSIDES was significantly higher (<italic>P</italic>&#60;.001) than the severity distribution discovered in the clinical trials based on a one-sided <italic>t</italic> test (<xref rid="figure4" ref-type="fig">Figure 4</xref>). We found that the ADRs associated with polypharmacy, through TWOSIDES, had the highest severity of the postmarketing ADRs. All postmarketing ADRs were significantly lower in severity than the boxed warning ADRs based on a one-sided <italic>t</italic> test.</p>
      </sec>
      <sec>
        <title>DRIP Score Analysis</title>
        <p>We calculated the DRIP scores for 968 drugs using SIDER label data, with a resulting median DRIP score of 0.439. The Spearman correlation between the drugs ranked by the proportion of FAERS cases, with that drug as the primary suspect that resulted in death, and the drugs ranked by our DRIP scores was 0.377, <italic>P</italic>&#60;.001.</p>
        <p>We analyzed DRIP score distributions by the Anatomical Therapeutic Chemical (ATC) classification system for the subset of drugs with an ATC designation (<xref rid="figure5" ref-type="fig">Figure 5</xref>). Antineoplastic and antiepileptic drugs were the drug classes with the highest DRIP scores, indicating that the drugs in these classes have severe ADR profiles. Drugs used in the management and treatment of diabetes and urologic issues had the lowest DRIP scores, indicating that these drugs are relatively safe and have less-severe side effects. We examined individual drugs within the opioid class and found that fentanyl had a markedly higher DRIP score than other drugs in the same class (<xref rid="figure5" ref-type="fig">Figure 5</xref>). Drugs within the statin class were primarily below the overall median DRIP score (0.439), with only atorvastatin being markedly above the median DRIP score (<xref rid="figure5" ref-type="fig">Figure 5</xref>).</p>
        <fig id="figure5" position="float">
          <label>Figure 5</label>
          <caption>
            <p>DRIP scores calculated using side effect severity and frequency. (A) DRIP scores (x-axis) for ATC classification system groups (y-axis) ordered by median severity with outliers labeled. The dashed blue line indicates the median DRIP score of 0.439 across all drugs. (B) DRIP scores (x-axis) for opioid class drugs (y-axis), as denoted by the N02A ATC group. Fentanyl, an extremely potent synthetic opioid, is ranked first as having the most severe side effect. (C) DRIP scores (x-axis) for statins (y-axis), as denoted by the C10AA ATC group. Atorvastatin, the strongest statin in broad use, is ranked to have the most severe side effect, whereas lower-efficacy statins are ranked as having less-severe side effects. ATC: Anatomical Therapeutic Chemical; DRIP: drug-risk profile.</p>
          </caption>
          <graphic xlink:href="jmir_v23i10e27714_fig5.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
    </sec>
    <sec sec-type="discussion">
      <title>Discussion</title>
      <sec>
        <title>Principal Findings</title>
        <p>In this study, we present the SAEDR scores and quantitative estimates of the severity of 28,113 MedDRA ADR terms. The SAEDR scores have strong correlations with both crowdworker-based severity estimates and real-world ADR case outcome statistics. We generated these estimates using a network-based label propagation approach that required only a small percentage of the terms to be labeled. This study demonstrated the feasibility of using distantly supervised techniques such as label propagation to generate quantitative values for medical concepts.</p>
        <p>Our approach enabled us to increase the number of ADRs with quantitative severity estimates from 2929 to 28,113, an almost tenfold increase, while minimizing the human time involved in generating the estimates. Our severity estimates can be updated routinely based on the recomputation of the embeddings and reseeding of the reference severe or benign ADRs. We noted that our severity estimates had a higher correlation with the aggregate crowdworker rankings (ρ=0.735) than the crowdworker rankings had among the three replicates in the original study (ρ=0.710). In addition, our estimates had a greater correlation with real-world outcomes such as FAERS cases resulting in death (ρ=0.595) than the crowdworker rankings (ρ=0.53). Thus, our severity estimates track with both human judgments of ADR severity and real-world outcomes of consequence to patient health.</p>
        <p>We found that our SAEDR scores had a strong negative correlation, <italic>ρ=</italic>−0.748, with no case outcome being reported in the FAERS. We assigned a <italic>No Outcome</italic> label to the FAERS cases for which none of the available but relatively severe case outcomes had been reported. We took this as an indication that the FAERS cases lacking outcomes may be a result of cases having an outcome below the level of seriousness that is reportable in the FAERS. FAERS case outcome completeness could potentially be improved by creating a lower-severity category for case outcome documentation. We also noted that the SAEDR scores have a stronger correlation with serious outcomes in FAERS cases than with death outcomes. This can be partially explained by the fact that many more ADRs result in serious outcomes than in death, leading to poor differentiation of severity based on death for many ADRs where death is a rare or unobserved outcome.</p>
        <p>In an effort to compare the impacts of using different methods to select the initial severe and benign ADR seed terms for label propagation, we compared crowdworker and real-world outcomes–based seed selections. We found that both methods resulted in consistently high severity scores for ADRs in the highest-severity SOC groups such as <italic>Neoplasms</italic> and <italic>Cardiac Disorders</italic>. We observed the largest differences in the <italic>Product Issues</italic> SOC group. Real-world outcomes–based seeds increased the severity of psychiatric disorders and social circumstances and decreased the severity of product issues. The importance and impact of psychiatric disorders may not be apparent to those not in the medical profession. Thus, it is possible that the crowdworkers did not perceive mental illness to be as severe as physical illnesses, leading to a bias in the rankings. The use of real-world outcomes–based rankings to select seeds led to more psychiatric disorders being included in the seed terms for the severity propagation. Similarly, the shifts in social circumstances and product issues are likely due to their limited presence or absence within the original crowdworker rankings because only seven ADRs in the social circumstances category were included in the 2929 ADRs ranked by crowdworkers, and no <italic>Product Issues</italic> ADRs were included in that ranking. This absence resulted in no ADRs from these groups being included in the initial seed set of labeled ADRs for the crowdworker-seeded method run, likely limiting the ability of the label propagation to accurately estimate the severity of these ADRs.</p>
        <p>We found that the overall severity ordering of the SOC classes based on our SAEDR scores made intuitive sense. We were surprised by the ability of the label propagation approach to adjust the severity estimates based on particular key terms. For instance, the ADR terms for cancer (<italic>Neoplasm</italic>) ADRs are relatively similar on a lexical basis, but individual modifiers such as malignant and benign resulted in significantly different SAEDR scores for the respective groups of ADRs (Figure S3 of <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). Similarly, examining groups of ADRs at different MedDRA hierarchy levels demonstrated relative severity estimates that were sensible to us, such as <italic>Heart Failure Signs and Symptoms</italic> having lower severity than the different types of actual heart failure.</p>
        <p>We found a significantly higher estimate of severity among the ADRs that had been included in a boxed warning section than among those that had not. This offers further validation of the SAEDR scores because they are in agreement with past regulatory and drug labeling decisions. Our comparison of HLGTs with disproportionate rates between sexes revealed that male-associated ADRs were more severe. Notably, the SAEDR scores of the male-associated ADRs were not significantly different from those of the ADRs that have been included in a boxed warning. This is in agreement with previous work that highlighted the relatively higher severity of ADRs experienced by men [<xref ref-type="bibr" rid="ref29">29</xref>,<xref ref-type="bibr" rid="ref30">30</xref>].</p>
        <p>We found that ADRs discovered in the postmarketing period are generally more severe than those discovered in the clinical trials based on our SAEDR scores. This indicates that postmarketing surveillance and ongoing regulatory discussions of risk-benefit trade-offs for particular drugs are necessary to keep the public safe [<xref ref-type="bibr" rid="ref31">31</xref>]. These findings are not new because a recent study examining internal Food and Drug Administration data on drug labeling changes found that 35% of the ADRs added to drug labels were added to the boxed warnings and warnings and precautions sections [<xref ref-type="bibr" rid="ref32">32</xref>]. Of the postmarketing ADRs, those involving more than one drug, as identified by TWOSIDES, were among those with the highest severity, indicating the increased risks associated with polypharmacy. This finding highlights the need for further research into the safety of polypharmacy because approximately half of the individuals prescribed a prescription drug are prescribed more than one concurrent medication [<xref ref-type="bibr" rid="ref33">33</xref>].</p>
        <p>One of the original aims of the pioneering study by Tallarida et al [<xref ref-type="bibr" rid="ref7">7</xref>] was to create quantitative risk scores for individual drugs. Our DRIP scores are an attempt to do so, and we combined ADR severity with frequency information to generate a numerical estimate of a drug’s risk profile. We were able to generate DRIP scores for 968 drugs using ADR frequency data from the SIDER. Our DRIP scores have a modest Spearman correlation, <italic>ρ=</italic>0.377, with FAERS cases that resulted in death, where that drug was the primary suspect. Generally, correlations greater than 0.8 are considered strong, but this generally assumes that the comparison is with a gold standard ground truth. Because of a lack of an objective gold standard of DRIPs, we compared with FAERS case outcomes for the drugs in question, although the case outcomes are imperfect because of reporting bias and other issues. In addition, the DRIP scores were created using estimates of ADR frequencies from the SIDER that are primarily derived from clinical trial data. These ADR frequency estimates are affected by the dosage and underlying health of the clinical trial population, both of which are only sometimes reported. High-quality frequency estimates for postmarketing ADRs are essentially nonexistent, and many challenges exist to accurately estimating their frequency [<xref ref-type="bibr" rid="ref29">29</xref>]. These issues limit the ability of our DRIP scores to accurately quantify risk. However, despite the limitations of the benchmark data and the ADR frequency information, the DRIP scores still demonstrate a modest correlation with real-world outcomes. We interpret this as an indication that our DRIP scores track with real-world outcomes and capture signals related to a drug’s safety profile that could be useful for downstream application. Further evidence of their validity is provided by the qualitative evaluation of the DRIP score distributions for the ATC groups. The relative distributions of the ATC groups make intuitive sense, with drugs used to treat cancer—antineoplastic drugs—having the most severe side effect profiles, whereas drugs used to treat diseases that are known to have safe and effective treatment options, such as diabetes, are ranked among the safest drug categories.</p>
        <p>We present ADR severity estimates that track with both real-world outcomes and human perception, but these estimates are still limited. We used word embeddings trained on Reddit data, but other social media data could improve the severity prediction model. We used RedMed because the model was publicly available and contained many ADR terms of interest to this study. However, Reddit as a social media platform is skewed toward men and young people, who may discuss ADRs in different ways from the general population. Learning new embeddings from social media corpora generated by the patient groups most at risk for a given set of ADR experiences or from biomedical literature might improve model performance and address issues with demographic model biases.</p>
        <p>FAERS case outcome proportions as a benchmark for severity are limited because of the outcomes being reported at the case level by the FAERS. Because of this case-level aggregation, the ADRs in the severe category may have inflated severity. For instance, symptoms of cardiac arrest may often be reported as separate ADRs for a FAERS case of cardiac arrest, resulting in symptoms that seem to be more severe than they are when occurring independently of the severe ADR with which they are associated.</p>
        <p>Our results indicate that men reported more severe ADRs based on sex-specific ADRs identified in the study by Chandak et al [<xref ref-type="bibr" rid="ref27">27</xref>]. Other research efforts have reported similar findings based on ADR-reporting databases [<xref ref-type="bibr" rid="ref29">29</xref>], but there are potential sources of bias that could have affected this result. The data underlying the sex-specific ADRs identified in the study by Chandak et al [<xref ref-type="bibr" rid="ref27">27</xref>] were derived from the FAERS. The study method focused on the analysis of a sex-balanced cohort of case reports, with cohort creation through propensity score matching of individuals. Propensity score matching can correct for factors included in the model, but it is unable to correct for underlying biases in reporting. It has been documented that there are higher rates of ADR reporting for female patients than for male patients, whereas male patients tend to have more severe outcomes reported [<xref ref-type="bibr" rid="ref30">30</xref>]. It is likely that male patients are enriched for severe ADRs because of this reporting bias, and ADR reports should not be conflated with all ADRs experienced by individuals because of the low rate of ADR reporting [<xref ref-type="bibr" rid="ref34">34</xref>]. Another limitation is that sex-specific ADRs were only reported at the HLGT level, resulting in SAEDR scores that were an average of all PTs within the HLGT. <xref rid="figure3" ref-type="fig">Figure 3</xref> highlights the large range in terms of severity, even within a particular HLGT. It is possible that an analysis of sex-specific ADRs at the PT level would result in a different finding. Overall, although ADRs disproportionately reported in men are more severe than those disproportionately reported in women, more research is needed to reach a complete understanding of sex-specific differences in ADR severity.</p>
        <p>Although we captured some nuances in ADR severity, such as benign versus malignant neoplasms, we only created SAEDR scores for the ADR terms contained in the MedDRA. However, while exploring the RedMed word embeddings, we observed that individual ADR terms were often contained in phrases indicating modified severity. For instance, a report of stomach pain might be modified with an adjective such as excruciating or mild. Although the MedDRA does not contain an intensity scale component for its terms, capturing this information from patients might further enable risk-benefit trade-off calculations. The approaches for general word sentiment assignment, similar to the one used in the study by Hamilton et al [<xref ref-type="bibr" rid="ref22">22</xref>], could be repurposed here to assign severity to ADR modifier terms.</p>
      </sec>
      <sec>
        <title>Conclusions</title>
        <p>In summary, we demonstrated that lexical networks and label propagation can be used quantitatively to estimate the severity of medical conditions. We showed the distributions of ADR severity among different groups of conditions, different groups of patients, and different ADR discovery time points. We combined our SAEDR scores with available ADR frequency data to generate quantitative DRIP scores and examined the distribution of the resulting DRIP scores. Our results (and future improved estimates) enable new quantitative analyses within the field of pharmacovigilance. To this end, we provide the complete set of SAEDR scores and DRIP scores in <xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref> and <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>, respectively.</p>
      </sec>
    </sec>
  </body>
  <back>
    <app-group>
      <supplementary-material id="app1">
        <label>Multimedia Appendix 1</label>
        <p>Supplementary figures and associated captions.</p>
        <media xlink:href="jmir_v23i10e27714_app1.pptx" xlink:title="PPTX File , 885 KB"/>
      </supplementary-material>
      <supplementary-material id="app2">
        <label>Multimedia Appendix 2</label>
        <p>Severity of Adverse Events Derived from Reddit scores for 12,198 adverse drug reactions.</p>
        <media xlink:href="jmir_v23i10e27714_app2.zip" xlink:title="ZIP File  (Zip Archive), 391 KB"/>
      </supplementary-material>
      <supplementary-material id="app3">
        <label>Multimedia Appendix 3</label>
        <p>Drug-risk profile scores.</p>
        <media xlink:href="jmir_v23i10e27714_app3.zip" xlink:title="ZIP File  (Zip Archive), 30 KB"/>
      </supplementary-material>
    </app-group>
    <glossary>
      <title>Abbreviations</title>
      <def-list>
        <def-item>
          <term id="abb1">ADR</term>
          <def>
            <p>adverse drug reaction</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb2">ATC</term>
          <def>
            <p>Anatomical Therapeutic Chemical classification system</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb3">DRIP</term>
          <def>
            <p>drug-risk profile</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb4">FAERS</term>
          <def>
            <p>Food and Drug Administration Adverse Event Reporting System</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb5">HLGT</term>
          <def>
            <p>high-level group term</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb6">MedDRA</term>
          <def>
            <p>Medical Dictionary for Regulatory Activities</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb7">PT</term>
          <def>
            <p>preferred term</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb8">SAEDR</term>
          <def>
            <p>Severity of Adverse Events Derived from Reddit</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb9">SIDER</term>
          <def>
            <p>Side Effect Resource</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb10">SOC</term>
          <def>
            <p>System Organ Class</p>
          </def>
        </def-item>
      </def-list>
    </glossary>
    <ack>
      <p>The authors would like to thank the editor and the reviewers for their helpful and thoughtful feedback during the review process. Some of the computations for this project were performed on the Sherlock cluster. The authors would like to thank Stanford University and the Stanford Research Computing Center for providing computational resources and support that contributed to the research results. AL is supported by the National Science Foundation (NSF) Graduate Research Fellowship (DGE 1656518). TH is supported by the National Institutes of Health (NIH; R01DK103358); Simons Foundation and NSF (IOS-1546218, R35GM122515, and NSF CBET 1728858); and the NIH (R01AI130945). RBA is supported by the NIH (GM102365 and HG010615) and the Chan Zuckerberg Biohub.</p>
    </ack>
    <fn-group>
      <fn fn-type="conflict">
        <p>None declared.</p>
      </fn>
    </fn-group>
    <ref-list>
      <ref id="ref1">
        <label>1</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Bourgeois</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Shannon</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Valim</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Mandl</surname>
              <given-names>KD</given-names>
            </name>
          </person-group>
          <article-title>Adverse drug events in the outpatient setting: an 11-year national analysis</article-title>
          <source>Pharmacoepidemiol Drug Saf</source>
          <year>2010</year>
          <month>09</month>
          <volume>19</volume>
          <issue>9</issue>
          <fpage>901</fpage>
          <lpage>10</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://europepmc.org/abstract/MED/20623513"/>
          </comment>
          <pub-id pub-id-type="doi">10.1002/pds.1984</pub-id>
          <pub-id pub-id-type="medline">20623513</pub-id>
          <pub-id pub-id-type="pmcid">PMC2932855</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref2">
        <label>2</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Watanabe</surname>
              <given-names>JH</given-names>
            </name>
            <name name-style="western">
              <surname>McInnis</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Hirsch</surname>
              <given-names>JD</given-names>
            </name>
          </person-group>
          <article-title>Cost of prescription drug-related morbidity and mortality</article-title>
          <source>Ann Pharmacother</source>
          <year>2018</year>
          <month>09</month>
          <volume>52</volume>
          <issue>9</issue>
          <fpage>829</fpage>
          <lpage>37</lpage>
          <pub-id pub-id-type="doi">10.1177/1060028018765159</pub-id>
          <pub-id pub-id-type="medline">29577766</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref3">
        <label>3</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Aronson</surname>
              <given-names>JK</given-names>
            </name>
            <name name-style="western">
              <surname>Ferner</surname>
              <given-names>RE</given-names>
            </name>
          </person-group>
          <article-title>Clarification of terminology in drug safety</article-title>
          <source>Drug Saf</source>
          <year>2005</year>
          <volume>28</volume>
          <issue>10</issue>
          <fpage>851</fpage>
          <lpage>70</lpage>
          <pub-id pub-id-type="doi">10.2165/00002018-200528100-00003</pub-id>
          <pub-id pub-id-type="medline">16180936</pub-id>
          <pub-id pub-id-type="pii">28103</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref4">
        <label>4</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Ahmad</surname>
              <given-names>SR</given-names>
            </name>
          </person-group>
          <article-title>Adverse drug event monitoring at the Food and Drug Administration</article-title>
          <source>J Gen Intern Med</source>
          <year>2003</year>
          <month>01</month>
          <volume>18</volume>
          <issue>1</issue>
          <fpage>57</fpage>
          <lpage>60</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://onlinelibrary.wiley.com/resolve/openurl?genre=article&#38;sid=nlm:pubmed&#38;issn=0884-8734&#38;date=2003&#38;volume=18&#38;issue=1&#38;spage=57"/>
          </comment>
          <pub-id pub-id-type="doi">10.1046/j.1525-1497.2003.20130.x</pub-id>
          <pub-id pub-id-type="medline">12534765</pub-id>
          <pub-id pub-id-type="pii">jgi20130</pub-id>
          <pub-id pub-id-type="pmcid">PMC1494803</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref5">
        <label>5</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Gunderson</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Gunderson</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Ferguson Jr</surname>
              <given-names>E</given-names>
            </name>
          </person-group>
          <article-title>Code of Federal Regulations</article-title>
          <source>Food Standards and Definitions in the United States</source>
          <year>1963</year>
          <publisher-loc>Cambridge, Massachusetts, United States</publisher-loc>
          <publisher-name>Academic Press</publisher-name>
          <fpage>147</fpage>
          <lpage>54</lpage>
        </nlm-citation>
      </ref>
      <ref id="ref6">
        <label>6</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Shaffer</surname>
              <given-names>ML</given-names>
            </name>
            <name name-style="western">
              <surname>Watterberg</surname>
              <given-names>KL</given-names>
            </name>
          </person-group>
          <article-title>Joint distribution approaches to simultaneously quantifying benefit and risk</article-title>
          <source>BMC Med Res Methodol</source>
          <year>2006</year>
          <month>10</month>
          <day>12</day>
          <volume>6</volume>
          <fpage>48</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://bmcmedresmethodol.biomedcentral.com/articles/10.1186/1471-2288-6-48"/>
          </comment>
          <pub-id pub-id-type="doi">10.1186/1471-2288-6-48</pub-id>
          <pub-id pub-id-type="medline">17038184</pub-id>
          <pub-id pub-id-type="pii">1471-2288-6-48</pub-id>
          <pub-id pub-id-type="pmcid">PMC1630697</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref7">
        <label>7</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Tallarida</surname>
              <given-names>RJ</given-names>
            </name>
            <name name-style="western">
              <surname>Murray</surname>
              <given-names>RB</given-names>
            </name>
            <name name-style="western">
              <surname>Eiben</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>A scale for assessing the severity of diseases and adverse drug reactions. Application to drug benefit and risk</article-title>
          <source>Clin Pharmacol Ther</source>
          <year>1979</year>
          <month>04</month>
          <volume>25</volume>
          <issue>4</issue>
          <fpage>381</fpage>
          <lpage>90</lpage>
          <pub-id pub-id-type="doi">10.1002/cpt1979254381</pub-id>
          <pub-id pub-id-type="medline">428184</pub-id>
          <pub-id pub-id-type="pii">0009-9236(79)90288-1</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref8">
        <label>8</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Gottlieb</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Hoehndorf</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Dumontier</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Altman</surname>
              <given-names>RB</given-names>
            </name>
          </person-group>
          <article-title>Ranking adverse drug reactions with crowdsourcing</article-title>
          <source>J Med Internet Res</source>
          <year>2015</year>
          <volume>17</volume>
          <issue>3</issue>
          <fpage>e80</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://www.jmir.org/2015/3/e80/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/jmir.3962</pub-id>
          <pub-id pub-id-type="medline">25800813</pub-id>
          <pub-id pub-id-type="pii">v17i3e80</pub-id>
          <pub-id pub-id-type="pmcid">PMC4387295</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref9">
        <label>9</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Mikolov</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Chen</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Corrado</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Dean</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Efficient estimation of word representations in vector space</article-title>
          <source>arXiv - Computer Science,  Computation and Language</source>
          <access-date>2021-07-19</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://arxiv.org/abs/1301.3781">http://arxiv.org/abs/1301.3781</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref10">
        <label>10</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Pennington</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Socher</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Manning</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>Glove: Global vectors for word representation</article-title>
          <source>Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP)</source>
          <year>2014</year>
          <conf-name>Conference on Empirical Methods in Natural Language Processing (EMNLP)</conf-name>
          <conf-date>October, 2014</conf-date>
          <conf-loc>Doha, Qatar</conf-loc>
          <fpage>1532</fpage>
          <lpage>43</lpage>
          <pub-id pub-id-type="doi">10.3115/v1/d14-1162</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref11">
        <label>11</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Firth</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>A Synopsis of Linguistic Theory 1930-1955, Selected Papers of JR Firth 1952 - 1959</article-title>
          <source>Studies in Linguistic Analysis</source>
          <year>1957</year>
          <publisher-loc>Oxford, United Kingdom</publisher-loc>
          <publisher-name>Philological Society</publisher-name>
          <fpage>168</fpage>
          <lpage>205</lpage>
        </nlm-citation>
      </ref>
      <ref id="ref12">
        <label>12</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Nikfarjam</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Sarker</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>O'Connor</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Ginn</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Gonzalez</surname>
              <given-names>G</given-names>
            </name>
          </person-group>
          <article-title>Pharmacovigilance from social media: mining adverse drug reaction mentions using sequence labeling with word embedding cluster features</article-title>
          <source>J Am Med Inform Assoc</source>
          <year>2015</year>
          <month>05</month>
          <volume>22</volume>
          <issue>3</issue>
          <fpage>671</fpage>
          <lpage>81</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://jamia.oxfordjournals.org/cgi/pmidlookup?view=long&#38;pmid=25755127"/>
          </comment>
          <pub-id pub-id-type="doi">10.1093/jamia/ocu041</pub-id>
          <pub-id pub-id-type="medline">25755127</pub-id>
          <pub-id pub-id-type="pii">ocu041</pub-id>
          <pub-id pub-id-type="pmcid">PMC4457113</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref13">
        <label>13</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Hanson</surname>
              <given-names>CL</given-names>
            </name>
            <name name-style="western">
              <surname>Cannon</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Burton</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Giraud-Carrier</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>An exploration of social circles and prescription drug abuse through Twitter</article-title>
          <source>J Med Internet Res</source>
          <year>2013</year>
          <volume>15</volume>
          <issue>9</issue>
          <fpage>e189</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://www.jmir.org/2013/9/e189/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/jmir.2741</pub-id>
          <pub-id pub-id-type="medline">24014109</pub-id>
          <pub-id pub-id-type="pii">v15i9e189</pub-id>
          <pub-id pub-id-type="pmcid">PMC3785991</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref14">
        <label>14</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Yan</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Yan</surname>
              <given-names>X</given-names>
            </name>
            <name name-style="western">
              <surname>Tan</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Sun</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <article-title>Shared Minds: How patients use collaborative information sharing via social media platforms</article-title>
          <source>Prod Oper Manag</source>
          <year>2018</year>
          <month>06</month>
          <day>26</day>
          <volume>28</volume>
          <issue>1</issue>
          <fpage>9</fpage>
          <lpage>26</lpage>
          <pub-id pub-id-type="doi">10.1111/poms.12895</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref15">
        <label>15</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Sarker</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Ginn</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Nikfarjam</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>O'Connor</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Smith</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Jayaraman</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Upadhaya</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Gonzalez</surname>
              <given-names>G</given-names>
            </name>
          </person-group>
          <article-title>Utilizing social media data for pharmacovigilance: A review</article-title>
          <source>J Biomed Inform</source>
          <year>2015</year>
          <month>04</month>
          <volume>54</volume>
          <fpage>202</fpage>
          <lpage>12</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://linkinghub.elsevier.com/retrieve/pii/S1532-0464(15)00036-2"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.jbi.2015.02.004</pub-id>
          <pub-id pub-id-type="medline">25720841</pub-id>
          <pub-id pub-id-type="pii">S1532-0464(15)00036-2</pub-id>
          <pub-id pub-id-type="pmcid">PMC4408239</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref16">
        <label>16</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Alvaro</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Conway</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Doan</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Lofi</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Overington</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Collier</surname>
              <given-names>N</given-names>
            </name>
          </person-group>
          <article-title>Crowdsourcing Twitter annotations to identify first-hand experiences of prescription drug use</article-title>
          <source>J Biomed Inform</source>
          <year>2015</year>
          <month>12</month>
          <volume>58</volume>
          <fpage>280</fpage>
          <lpage>7</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://linkinghub.elsevier.com/retrieve/pii/S1532-0464(15)00241-5"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.jbi.2015.11.004</pub-id>
          <pub-id pub-id-type="medline">26556646</pub-id>
          <pub-id pub-id-type="pii">S1532-0464(15)00241-5</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref17">
        <label>17</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Klein</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Sarker</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Rouhizadeh</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>O’Connor</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Gonzalez</surname>
              <given-names>G</given-names>
            </name>
          </person-group>
          <article-title>Detecting personal medication intake in Twitter: An annotated corpus and baseline classification system</article-title>
          <source>BioNLP</source>
          <year>2017</year>
          <fpage>136</fpage>
          <lpage>42</lpage>
          <pub-id pub-id-type="doi">10.18653/v1/W17-2316</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref18">
        <label>18</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Lavertu</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Altman</surname>
              <given-names>RB</given-names>
            </name>
          </person-group>
          <article-title>RedMed: Extending drug lexicons for social media applications</article-title>
          <source>J Biomed Inform</source>
          <year>2019</year>
          <month>11</month>
          <volume>99</volume>
          <fpage>103307</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://linkinghub.elsevier.com/retrieve/pii/S1532-0464(19)30226-6"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.jbi.2019.103307</pub-id>
          <pub-id pub-id-type="medline">31627020</pub-id>
          <pub-id pub-id-type="pii">S1532-0464(19)30226-6</pub-id>
          <pub-id pub-id-type="pmcid">PMC6874884</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref19">
        <label>19</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Kuhn</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Letunic</surname>
              <given-names>I</given-names>
            </name>
            <name name-style="western">
              <surname>Jensen</surname>
              <given-names>LJ</given-names>
            </name>
            <name name-style="western">
              <surname>Bork</surname>
              <given-names>P</given-names>
            </name>
          </person-group>
          <article-title>The SIDER database of drugs and side effects</article-title>
          <source>Nucleic Acids Res</source>
          <year>2015</year>
          <month>10</month>
          <day>19</day>
          <fpage>1075</fpage>
          <lpage>9</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://nar.oxfordjournals.org/cgi/pmidlookup?view=long&#38;pmid=26481350"/>
          </comment>
          <pub-id pub-id-type="doi">10.1093/nar/gkv1075</pub-id>
          <pub-id pub-id-type="medline">26481350</pub-id>
          <pub-id pub-id-type="pii">gkv1075</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref20">
        <label>20</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Brown</surname>
              <given-names>EG</given-names>
            </name>
            <name name-style="western">
              <surname>Wood</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Wood</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <article-title>The medical dictionary for regulatory activities (MedDRA)</article-title>
          <source>Drug Saf</source>
          <year>1999</year>
          <month>02</month>
          <volume>20</volume>
          <issue>2</issue>
          <fpage>109</fpage>
          <lpage>17</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://paperpile.com/b/LD96RR/5c6M"/>
          </comment>
          <pub-id pub-id-type="doi">10.2165/00002018-199920020-00002</pub-id>
          <pub-id pub-id-type="medline">10082069</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref21">
        <label>21</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Bodenreider</surname>
              <given-names>O</given-names>
            </name>
          </person-group>
          <article-title>The Unified Medical Language System (UMLS): integrating biomedical terminology</article-title>
          <source>Nucleic Acids Res</source>
          <year>2004</year>
          <month>01</month>
          <day>1</day>
          <volume>32</volume>
          <issue>Database issue</issue>
          <fpage>267</fpage>
          <lpage>70</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://nar.oxfordjournals.org/cgi/pmidlookup?view=long&#38;pmid=14681409"/>
          </comment>
          <pub-id pub-id-type="doi">10.1093/nar/gkh061</pub-id>
          <pub-id pub-id-type="medline">14681409</pub-id>
          <pub-id pub-id-type="pii">32/suppl_1/D267</pub-id>
          <pub-id pub-id-type="pmcid">PMC308795</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref22">
        <label>22</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Hamilton</surname>
              <given-names>WL</given-names>
            </name>
            <name name-style="western">
              <surname>Clark</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Leskovec</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Jurafsky</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>Inducing domain-specific sentiment lexicons from unlabeled corpora</article-title>
          <source>Proc Conf Empir Methods Nat Lang Process</source>
          <year>2016</year>
          <month>11</month>
          <volume>2016</volume>
          <fpage>595</fpage>
          <lpage>605</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://europepmc.org/abstract/MED/28660257"/>
          </comment>
          <pub-id pub-id-type="doi">10.18653/v1/D16-1057</pub-id>
          <pub-id pub-id-type="medline">28660257</pub-id>
          <pub-id pub-id-type="pmcid">PMC5483533</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref23">
        <label>23</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Määttä</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Haapala</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>Python-Levenshtein</article-title>
          <source>Python Software Foundation</source>
          <access-date>2020-05-25</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://pypi.org/project/python-Levenshtein/">https://pypi.org/project/python-Levenshtein/</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref24">
        <label>24</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Grover</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Leskovec</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>node2vec: Scalable feature learning for networks</article-title>
          <source>KDD</source>
          <year>2016</year>
          <month>08</month>
          <volume>2016</volume>
          <fpage>855</fpage>
          <lpage>64</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://europepmc.org/abstract/MED/27853626"/>
          </comment>
          <pub-id pub-id-type="doi">10.1145/2939672.2939754</pub-id>
          <pub-id pub-id-type="medline">27853626</pub-id>
          <pub-id pub-id-type="pmcid">PMC5108654</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref25">
        <label>25</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Efron</surname>
              <given-names>B</given-names>
            </name>
          </person-group>
          <article-title>Bootstrap Methods: Another look at the jackknife</article-title>
          <source>Ann Statist</source>
          <year>1979</year>
          <month>1</month>
          <day>1</day>
          <volume>7</volume>
          <issue>1</issue>
          <fpage>1</fpage>
          <lpage>26</lpage>
          <pub-id pub-id-type="doi">10.1214/aos/1176344552</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref26">
        <label>26</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Wu</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Ingle</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Liu</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Zhao-Wong</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Harris</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Thakkar</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Zhou</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Yang</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Xu</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Mehta</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Ge</surname>
              <given-names>W</given-names>
            </name>
            <name name-style="western">
              <surname>Tong</surname>
              <given-names>W</given-names>
            </name>
            <name name-style="western">
              <surname>Fang</surname>
              <given-names>H</given-names>
            </name>
          </person-group>
          <article-title>Study of serious adverse drug reactions using FDA-approved drug labeling and MedDRA</article-title>
          <source>BMC Bioinformatics</source>
          <year>2019</year>
          <month>03</month>
          <day>14</day>
          <volume>20</volume>
          <issue>Suppl 2</issue>
          <fpage>97</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-019-2628-5"/>
          </comment>
          <pub-id pub-id-type="doi">10.1186/s12859-019-2628-5</pub-id>
          <pub-id pub-id-type="medline">30871458</pub-id>
          <pub-id pub-id-type="pii">10.1186/s12859-019-2628-5</pub-id>
          <pub-id pub-id-type="pmcid">PMC6419320</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref27">
        <label>27</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Chandak</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Tatonetti</surname>
              <given-names>NP</given-names>
            </name>
          </person-group>
          <article-title>Using machine learning to identify adverse drug effects posing increased risk to women</article-title>
          <source>Patterns (N Y)</source>
          <year>2020</year>
          <month>10</month>
          <day>09</day>
          <volume>1</volume>
          <issue>7</issue>
          <fpage>100108</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://europepmc.org/abstract/MED/33179017"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.patter.2020.100108</pub-id>
          <pub-id pub-id-type="medline">33179017</pub-id>
          <pub-id pub-id-type="pmcid">PMC7654817</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref28">
        <label>28</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Tatonetti</surname>
              <given-names>NP</given-names>
            </name>
            <name name-style="western">
              <surname>Ye</surname>
              <given-names>PP</given-names>
            </name>
            <name name-style="western">
              <surname>Daneshjou</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Altman</surname>
              <given-names>RB</given-names>
            </name>
          </person-group>
          <article-title>Data-driven prediction of drug effects and interactions</article-title>
          <source>Sci Transl Med</source>
          <year>2012</year>
          <month>03</month>
          <day>14</day>
          <volume>4</volume>
          <issue>125</issue>
          <fpage>125ra31</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://stm.sciencemag.org/cgi/pmidlookup?view=long&#38;pmid=22422992"/>
          </comment>
          <pub-id pub-id-type="doi">10.1126/scitranslmed.3003377</pub-id>
          <pub-id pub-id-type="medline">22422992</pub-id>
          <pub-id pub-id-type="pii">4/125/125ra31</pub-id>
          <pub-id pub-id-type="pmcid">PMC3382018</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref29">
        <label>29</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Watson</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Caster</surname>
              <given-names>O</given-names>
            </name>
            <name name-style="western">
              <surname>Rochon</surname>
              <given-names>PA</given-names>
            </name>
            <name name-style="western">
              <surname>den Ruijter</surname>
              <given-names>H</given-names>
            </name>
          </person-group>
          <article-title>Reported adverse drug reactions in women and men: Aggregated evidence from globally collected individual case reports during half a century</article-title>
          <source>EClinicalMedicine</source>
          <year>2019</year>
          <month>12</month>
          <volume>17</volume>
          <fpage>100188</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://linkinghub.elsevier.com/retrieve/pii/S2589-5370(19)30183-X"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.eclinm.2019.10.001</pub-id>
          <pub-id pub-id-type="medline">31891132</pub-id>
          <pub-id pub-id-type="pii">S2589-5370(19)30183-X</pub-id>
          <pub-id pub-id-type="pmcid">PMC6933269</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref30">
        <label>30</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Holm</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Ekman</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Jorsäter Blomgren</surname>
              <given-names>K</given-names>
            </name>
          </person-group>
          <article-title>Influence of age, sex and seriousness on reporting of adverse drug reactions in Sweden</article-title>
          <source>Pharmacoepidemiol Drug Saf</source>
          <year>2017</year>
          <month>03</month>
          <volume>26</volume>
          <issue>3</issue>
          <fpage>335</fpage>
          <lpage>43</lpage>
          <pub-id pub-id-type="doi">10.1002/pds.4155</pub-id>
          <pub-id pub-id-type="medline">28071845</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref31">
        <label>31</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Lavertu</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Vora</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Giacomini</surname>
              <given-names>KM</given-names>
            </name>
            <name name-style="western">
              <surname>Altman</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Rensi</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <article-title>A new era in pharmacovigilance: Toward real-world data and digital monitoring</article-title>
          <source>Clin Pharmacol Ther</source>
          <year>2021</year>
          <month>05</month>
          <day>25</day>
          <volume>109</volume>
          <issue>5</issue>
          <fpage>1197</fpage>
          <lpage>202</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://europepmc.org/abstract/MED/33492663"/>
          </comment>
          <pub-id pub-id-type="doi">10.1002/cpt.2172</pub-id>
          <pub-id pub-id-type="medline">33492663</pub-id>
          <pub-id pub-id-type="pmcid">PMC8058244</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref32">
        <label>32</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Pinnow</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Amr</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Bentzen</surname>
              <given-names>SM</given-names>
            </name>
            <name name-style="western">
              <surname>Brajovic</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Hungerford</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>St George</surname>
              <given-names>DM</given-names>
            </name>
            <name name-style="western">
              <surname>Pan</surname>
              <given-names>GD</given-names>
            </name>
          </person-group>
          <article-title>Postmarket safety outcomes for New Molecular Entity (NME) drugs approved by the Food and Drug Administration between 2002 and 2014</article-title>
          <source>Clin Pharmacol Ther</source>
          <year>2018</year>
          <month>08</month>
          <volume>104</volume>
          <issue>2</issue>
          <fpage>390</fpage>
          <lpage>400</lpage>
          <pub-id pub-id-type="doi">10.1002/cpt.944</pub-id>
          <pub-id pub-id-type="medline">29266187</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref33">
        <label>33</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Quinn</surname>
              <given-names>KJ</given-names>
            </name>
            <name name-style="western">
              <surname>Shah</surname>
              <given-names>NH</given-names>
            </name>
          </person-group>
          <article-title>A dataset quantifying polypharmacy in the United States</article-title>
          <source>Sci Data</source>
          <year>2017</year>
          <month>10</month>
          <day>31</day>
          <volume>4</volume>
          <fpage>170167</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://doi.org/10.1038/sdata.2017.167"/>
          </comment>
          <pub-id pub-id-type="doi">10.1038/sdata.2017.167</pub-id>
          <pub-id pub-id-type="medline">29087369</pub-id>
          <pub-id pub-id-type="pii">sdata2017167</pub-id>
          <pub-id pub-id-type="pmcid">PMC5663207</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref34">
        <label>34</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Hazell</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Shakir</surname>
              <given-names>SA</given-names>
            </name>
          </person-group>
          <article-title>Under-reporting of adverse drug reactions : a systematic review</article-title>
          <source>Drug Saf</source>
          <year>2006</year>
          <volume>29</volume>
          <issue>5</issue>
          <fpage>385</fpage>
          <lpage>96</lpage>
          <pub-id pub-id-type="doi">10.2165/00002018-200629050-00003</pub-id>
          <pub-id pub-id-type="medline">16689555</pub-id>
          <pub-id pub-id-type="pii">2953</pub-id>
        </nlm-citation>
      </ref>
    </ref-list>
  </back>
</article>
