<?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 article-type="article-commentary" dtd-version="2.0" xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">JMIRxMed</journal-id>
      <journal-id journal-id-type="nlm-ta">JMIRx Med</journal-id>
      <journal-title>JMIRx Med</journal-title>
      <issn pub-type="epub">2563-6316</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">v2i3e31548</article-id>
      <article-id pub-id-type="pmid"/>
      <article-id pub-id-type="doi">10.2196/31548</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Peer-Review Report</subject>
        </subj-group>
        <subj-group subj-group-type="article-type">
          <subject>Peer-Review Report</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Peer Review of “Finding Potential Adverse Events in the Unstructured Text of Electronic Health Care Records: Development of the Shakespeare Method”</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="editor">
          <name>
            <surname>Meinert</surname>
            <given-names>Edward</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib id="contrib1" contrib-type="author" corresp="no">
          <collab>Anonymous</collab>
        </contrib>
      </contrib-group>
      <pub-date pub-type="collection">
        <season>Jul-Sep</season>
        <year>2021</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>11</day>
        <month>8</month>
        <year>2021</year>
      </pub-date>
      <volume>2</volume>
      <issue>3</issue>
      <elocation-id>e31548</elocation-id>
      <history>
        <date date-type="received">
          <day>24</day>
          <month>6</month>
          <year>2021</year>
        </date>
        <date date-type="accepted">
          <day>24</day>
          <month>6</month>
          <year>2021</year>
        </date>
      </history>
      <copyright-statement>© Anonymous. Originally published in JMIRx Med (https://med.jmirx.org), 11.08.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 JMIRx Med, is properly cited. The complete bibliographic information, a link to the original publication on https://med.jmirx.org/, as well as this copyright and license information must be included.</p>
      </license>
      <self-uri xlink:href="https://med.jmirx.org/2021/3/e31548" xlink:type="simple"/>
      <related-article related-article-type="companion" id="preprint21249239" ext-link-type="doi" xlink:href="ttps://doi.org/10.1101/2021.01.05.21249239" vol="2" page="21249239" xlink:title="Preprint (medRxiv):" xlink:type="simple">https://www.medrxiv.org/content/10.1101/2021.01.05.21249239v1</related-article>
      <related-article related-article-type="companion" id="preprint27017" ext-link-type="doi" xlink:href="https://doi.org/10.2196/preprints.27017" vol="2" page="e27017" xlink:title="Preprint (JMIR Preprints):" xlink:type="simple">https://preprints.jmir.org/preprint/27017</related-article>
      <related-article related-article-type="companion" id="v2i3e31568" ext-link-type="doi" xlink:href="10.2196/31568" vol="2" page="e31568" xlink:title="Authors' Response to Peer-Review Reports:" xlink:type="simple">https://med.jmirx.org/2021/3/e31568/</related-article>
      <related-article related-article-type="companion" id="v2i3e27017" ext-link-type="doi" xlink:href="10.2196/27017" vol="2" page="e27017" xlink:title="Published Article:" xlink:type="simple">https://med.jmirx.org/2021/3/e27017/</related-article>
    </article-meta>
  </front>
  <body>
    <p>
      <italic>This is a peer-review report submitted for the paper “Finding Potential Adverse Events in the Unstructured Text of Electronic Health Care Records: Development of the Shakespeare Method”</italic>
    </p>
    <sec>
      <title>Round 1 Review</title>
      <sec>
        <title>General Comments</title>
        <p>This paper [<xref ref-type="bibr" rid="ref1">1</xref>] described the “Shakespeare method,” which was designed to discover associations between adverse events (AEs) caused by blood transfusion from unstructured electronic health record (EHR) notes. The authors applied this method on the MIMIC-III data set and seemed to be able to find transfusion AEs (TAEs) and potential TAEs (PTAEs) that were unknown when those EHR notes were developed.</p>
      </sec>
      <sec>
        <title>Specific Comments</title>
        <sec>
          <title>Major Comments</title>
          <list list-type="order">
            <list-item>
              <p>Is there any plan to release all the code/scripts used in this study? The method seems to be complex involving multiple steps; it will be very difficult to reproduce the results if the code is not available.</p>
            </list-item>
            <list-item>
              <p>The manuscript should include more details on how the transfusion and comparison groups were created.</p>
            </list-item>
            <list-item>
              <p>The author mentioned that the latent Dirichlet allocation (LDA) method they used in topic modeling requires the number of topics to be selected a priori. In this study, they set it to 45. Some questions:</p>
              <list list-type="bullets">
                <list-item>
                  <p>How robust is the “Shakespeare method” with respect to this value? If a different value is chosen, will the method find similar topics? Similar notes for manual document review? Similar TAEs/PTAEs?</p>
                </list-item>
                <list-item>
                  <p>How would you determine this value if the method is applied to detect AEs for other treatments?</p>
                </list-item>
                <list-item>
                  <p>A brief introduction to the LDA method should be included in the manuscript.</p>
                </list-item>
              </list>
            </list-item>
            <list-item>
              <p>In the <italic>Results</italic> section, the authors mentioned “Despite the inclusion of 1 to 5 grams in the vectorization, the terms that we extracted during classification were unigrams.” That seems to be quite a coincidence; is there any explanation? If only unigrams are used in the bag-of-word representation, will the results be different? Does it mean only unigrams are needed in the future application of this method?</p>
            </list-item>
            <list-item>
              <p>If possible, applying the method in other data sets or for other types of treatment will help to understand how generalizable the method is.</p>
            </list-item>
            <list-item>
              <p>On page 4, section <italic>The Shakespeare Method</italic>: “Trim the n-gram vectors in the target group to those that are significant for the target group.” How is the trimming performed? How important is it for the final result?</p>
            </list-item>
          </list>
        </sec>
        <sec>
          <title>Minor Comments</title>
          <list list-type="order">
            <list-item>
              <p>In the <italic>Abstract</italic> section, the authors wrote “We chose the case of transfusion adverse events (TAEs) and potential TAEs (PTAEs) because real dates were obscured in the study data, and new TAE types were becoming recognized during the study data period.” The causal relationship here is a little confusing.</p>
            </list-item>
            <list-item>
              <p>On page 3, the authors wrote, “The Shakespeare method has three parts,” but the following bullet-point list has 5 items.</p>
            </list-item>
            <list-item>
              <p>On page 8: “The Shakespeare method would likely generalize to other her notes and possibly other types of medical texts.” An additional “her” is inserted.</p>
            </list-item>
          </list>
        </sec>
      </sec>
    </sec>
    <sec>
      <title>Round 2 Review</title>
      <p>The revision addressed my previous concerns. I have no further comments.</p>
    </sec>
  </body>
  <back>
    <app-group/>
    <glossary>
      <title>Abbreviations</title>
      <def-list>
        <def-item>
          <term id="abb1">AE</term>
          <def>
            <p>adverse event</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb2">EHR</term>
          <def>
            <p>electronic health record</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb3">LDA</term>
          <def>
            <p>latent Dirichlet allocation</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb4">PTAE</term>
          <def>
            <p>potential transfusion adverse event</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb5">TAE</term>
          <def>
            <p>transfusion adverse event</p>
          </def>
        </def-item>
      </def-list>
    </glossary>
    <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>Bright</surname>
              <given-names>RA</given-names>
            </name>
            <name name-style="western">
              <surname>Dowdy</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Rankin</surname>
              <given-names>SK</given-names>
            </name>
            <name name-style="western">
              <surname>Blok</surname>
              <given-names>SV</given-names>
            </name>
            <name name-style="western">
              <surname>Palmer</surname>
              <given-names>LAM</given-names>
            </name>
            <name name-style="western">
              <surname>Bright</surname>
              <given-names>SJ</given-names>
            </name>
          </person-group>
          <article-title>Finding Potential Adverse Events in the Unstructured Text of Electronic Health Care Records: Development of the Shakespeare Method</article-title>
          <source>JMIRx Med</source>
          <year>2021</year>
          <month>8</month>
          <day>11</day>
          <volume>2</volume>
          <issue>3</issue>
          <fpage>e27017</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://med.jmirx.org/2021/3/e27017/">https://med.jmirx.org/2021/3/e27017/</ext-link>
          </comment>
          <pub-id pub-id-type="doi">10.2196/27017</pub-id>
        </nlm-citation>
      </ref>
    </ref-list>
  </back>
</article>
