<codeBook xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="ddi:codebook:2_5 http://www.ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd" xmlns="ddi:codebook:2_5">
  <docDscr>
    <citation>
      <titlStmt>
        <titl xml:lang="sv">Tokeniserad produktinformation för centralt godkända läkemedel inom EU (extraherad 2022-05-03)</titl>
        <parTitl xml:lang="en">Tokenized product information for centrally approved medicines within EU (extracted May 3, 2022)</parTitl>
        <IDNo agency="SND">2022-157-1-1</IDNo>
        <IDNo agency="DOI">https://doi.org/10.57804/ggrw-hr06</IDNo>
      </titlStmt>
      <prodStmt>
        <producer xml:lang="en" abbr="SND">Swedish National Data Service</producer>
        <producer xml:lang="sv" abbr="SND">Svensk nationell datatjänst</producer>
      </prodStmt>
      <holdings URI="https://doi.org/10.57804/ggrw-hr06">Landing page</holdings>
    </citation>
  </docDscr>
  <stdyDscr>
    <citation>
      <titlStmt>
        <titl xml:lang="sv">Tokeniserad produktinformation för centralt godkända läkemedel inom EU (extraherad 2022-05-03)</titl>
        <parTitl xml:lang="en">Tokenized product information for centrally approved medicines within EU (extracted May 3, 2022)</parTitl>
        <IDNo agency="SND">2022-157-1-1</IDNo>
        <IDNo agency="DOI">https://doi.org/10.57804/ggrw-hr06</IDNo>
        <IDNo agency="DOI">10.1371/journal.pone.0275386</IDNo>
      </titlStmt>
      <rspStmt>
        <AuthEnty xml:lang="en" affiliation="Uppsala University">Westman, Gabriel</AuthEnty>
        <AuthEnty xml:lang="sv" affiliation="Uppsala universitet">Westman, Gabriel</AuthEnty>
      </rspStmt>
      <prodStmt />
      <distStmt>
        <distrbtr xml:lang="en" abbr="SND" URI="https://snd.se">Swedish National Data Service</distrbtr>
        <distrbtr xml:lang="sv" abbr="SND" URI="https://snd.se">Svensk nationell datatjänst</distrbtr>
        <distDate xml:lang="en" date="2022-09-29" />
      </distStmt>
      <verStmt>
        <version elementVersion="1" elementVersionDate="2022-09-29" />
      </verStmt>
      <holdings URI="https://doi.org/10.57804/ggrw-hr06">Landing page</holdings>
    </citation>
    <stdyInfo>
      <subject>
        <keyword xml:lang="en" vocab="MeSH" vocabURI="http://id.nlm.nih.gov/mesh/D007254">Information Science</keyword>
        <keyword xml:lang="sv" vocab="MeSH" vocabURI="http://id.nlm.nih.gov/mesh/D007254">Informationsvetenskap</keyword>
        <keyword xml:lang="en" vocab="ELSST" vocabURI="https://elsst.cessda.eu/id/6/da8c6947-2999-41bf-914b-9360015e85c6">LINGUISTICS</keyword>
        <keyword xml:lang="sv" vocab="ELSST" vocabURI="https://elsst.cessda.eu/id/6/da8c6947-2999-41bf-914b-9360015e85c6">LINGVISTIK</keyword>
        <keyword xml:lang="en" vocab="MeSH" vocabURI="http://id.nlm.nih.gov/mesh/D001185">Artificial Intelligence</keyword>
        <keyword xml:lang="sv" vocab="MeSH" vocabURI="http://id.nlm.nih.gov/mesh/D001185">Artificiell intelligens</keyword>
        <keyword xml:lang="en" vocab="MeSH" vocabURI="http://id.nlm.nih.gov/mesh/D010604">Pharmacy</keyword>
        <keyword xml:lang="sv" vocab="MeSH" vocabURI="http://id.nlm.nih.gov/mesh/D010604">Farmaci</keyword>
      </subject>
      <abstract xml:lang="en" contentType="abstract">The text corpus was compiled on May 3, 2022, by scripted downloading of all available English language product information files for all centrally approved medicinal products within the EU, from the European Medicines Agency website. Package Leaflet (PL) and Summary of product characteristics (SmPC) documents for each medicinal product, excluding multiplicate documents for medicinal products with more than one strength or pharmaceutical preparation, were used. The PDF files were scraped using the pdfplumber version 0.6.1 package in Python 3.8.10 to extract all text except page numbering, headers, and footers. 

Line breaks and special characters (excluding punctuation characters) were removed, and punctuation was added to sentences where this was missing (such as headings) to avoid false aggregation. All paragraphs were tokenized on a sentence level using the Natural Language Toolkit (NLTK) version 3.7 tokenizer

This database contains sentence-level tokenized product infomation from all centrally approved medicinal products within the EU (May 3, 2022) including Summary of product characteristics (SmPC) and Package leaflet (PL) documents.

A total of 1258 medicinal products were initially included, of which 5 were subsequently excluded due to document compatibility issues. From these, a total of 783 K sentences were extracted from PL and SmPC documents.</abstract>
      <abstract xml:lang="sv" contentType="abstract">Tokeniserad produktinformation för centralt godkända läkemedel inom EU. Se engelsk beskrivning för detaljer om hur data kompilerats och bearbetats.

Databasen innehåller tokeniserad produktinformation på meningsnivå, extraherad från alla centralt godkända läkemedel inom EU (2022-05-03). Se engelskspråkig beskrivning för ytterligare detaljer.</abstract>
      <sumDscr>
        <universe xml:lang="en">All centrally approved medicinal products within EU</universe>
        <universe xml:lang="sv">Samtliga centralt godkända läkemedel inom EU</universe>
        <dataKind xml:lang="en">Text</dataKind>
      </sumDscr>
    </stdyInfo>
    <method>
      <dataColl />
    </method>
    <dataAccs>
      <useStmt>
        <restrctn xml:lang="en">Access to data through SND. Data are freely accessible.</restrctn>
        <restrctn xml:lang="sv">Åtkomst till data via SND. Data är fritt tillgängliga.</restrctn>
        <conditions elementVersion="info:eu-repo-Access-Terms vocabulary">openAccess</conditions>
      </useStmt>
    </dataAccs>
    <othrStdyMat>
      <relPubl>
        <citation>
          <titlStmt>
            <titl xml:lang="sv">Bergman E, Sherwood K, Forslund M, Arlett P, Westman G (2022) A natural language processing approach towards harmonisation of European medicinal product information. PLoS ONE 17(10): e0275386. https://doi.org/10.1371/journal.pone.0275386</titl>
            <parTitl xml:lang="en">Bergman E, Sherwood K, Forslund M, Arlett P, Westman G (2022) A natural language processing approach towards harmonisation of European medicinal product information. PLoS ONE 17(10): e0275386. https://doi.org/10.1371/journal.pone.0275386</parTitl>
            <IDNo agency="DOI">10.1371/journal.pone.0275386</IDNo>
          </titlStmt>
          <distStmt>
            <distDate date="2022">2022</distDate>
          </distStmt>
        </citation>
      </relPubl>
    </othrStdyMat>
  </stdyDscr>
</codeBook>