@manuscripts/transform 4.3.53 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/dist/cjs/jats/__tests__/jats-roundtrip.test.js +3 -3
  2. package/dist/cjs/version.js +1 -1
  3. package/dist/es/jats/__tests__/jats-roundtrip.test.js +3 -3
  4. package/dist/es/version.js +1 -1
  5. package/dist/types/jats/__tests__/utils.d.ts +1 -1
  6. package/dist/types/version.d.ts +1 -1
  7. package/package.json +22 -21
  8. package/src/errors.ts +28 -0
  9. package/src/getVersion.ts +21 -0
  10. package/src/index.ts +28 -0
  11. package/src/jats/__tests__/__fixtures__/debug-example.xml +136 -0
  12. package/src/jats/__tests__/__fixtures__/jats-abstract-no-body.xml +163 -0
  13. package/src/jats/__tests__/__fixtures__/jats-citations.xml +472 -0
  14. package/src/jats/__tests__/__fixtures__/jats-comments.xml +46 -0
  15. package/src/jats/__tests__/__fixtures__/jats-document.xml +134 -0
  16. package/src/jats/__tests__/__fixtures__/jats-example-doc.xml +1235 -0
  17. package/src/jats/__tests__/__fixtures__/jats-example-front-only.xml +26 -0
  18. package/src/jats/__tests__/__fixtures__/jats-example-full.xml +209 -0
  19. package/src/jats/__tests__/__fixtures__/jats-example-no-back.xml +156 -0
  20. package/src/jats/__tests__/__fixtures__/jats-example-no-body.xml +91 -0
  21. package/src/jats/__tests__/__fixtures__/jats-example.xml +221 -0
  22. package/src/jats/__tests__/__fixtures__/jats-fn-group.xml +60 -0
  23. package/src/jats/__tests__/__fixtures__/jats-import-no-refs.xml +1077 -0
  24. package/src/jats/__tests__/__fixtures__/jats-import.xml +1561 -0
  25. package/src/jats/__tests__/__fixtures__/jats-roundtrip.xml +133 -0
  26. package/src/jats/__tests__/__fixtures__/jats-tables-example.xml +2043 -0
  27. package/src/jats/__tests__/__fixtures__/math-fragment.xml +12 -0
  28. package/src/jats/__tests__/__snapshots__/citeproc.test.ts.snap +57 -0
  29. package/src/jats/__tests__/__snapshots__/create-article-node.test.ts.snap +65 -0
  30. package/src/jats/__tests__/__snapshots__/jats-exporter.test.ts.snap +7 -0
  31. package/src/jats/__tests__/__snapshots__/jats-importer.test.ts.snap +59605 -0
  32. package/src/jats/__tests__/__snapshots__/jats-roundtrip.test.ts.snap +18 -0
  33. package/src/jats/__tests__/citations.ts +25 -0
  34. package/src/jats/__tests__/citeproc.test.ts +195 -0
  35. package/src/jats/__tests__/create-article-node.test.ts +29 -0
  36. package/src/jats/__tests__/data/section-categories.ts +212 -0
  37. package/src/jats/__tests__/files.ts +24 -0
  38. package/src/jats/__tests__/jats-exporter.test.ts +223 -0
  39. package/src/jats/__tests__/jats-importer.test.ts +567 -0
  40. package/src/jats/__tests__/jats-roundtrip.test.ts +66 -0
  41. package/src/jats/__tests__/utils.ts +90 -0
  42. package/src/jats/exporter/citeproc.ts +265 -0
  43. package/src/jats/exporter/jats-exporter.ts +2090 -0
  44. package/src/jats/exporter/jats-versions.ts +50 -0
  45. package/src/jats/exporter/labels.ts +101 -0
  46. package/src/jats/importer/create-article-node.ts +52 -0
  47. package/src/jats/importer/jats-comments.ts +111 -0
  48. package/src/jats/importer/jats-dom-parser.ts +1260 -0
  49. package/src/jats/importer/jats-parser-utils.ts +234 -0
  50. package/src/jats/importer/jats-transformations.ts +591 -0
  51. package/src/jats/importer/parse-jats-article.ts +106 -0
  52. package/src/jats/index.ts +21 -0
  53. package/src/jats/types.ts +16 -0
  54. package/src/lib/__tests__/footnotes.test.ts +36 -0
  55. package/src/lib/citeproc.ts +30 -0
  56. package/src/lib/credit-roles.ts +91 -0
  57. package/src/lib/deafults.ts +17 -0
  58. package/src/lib/footnotes.ts +85 -0
  59. package/src/lib/html.ts +56 -0
  60. package/src/lib/section-categories.ts +27 -0
  61. package/src/lib/utils.ts +145 -0
  62. package/src/lib/xml.ts +28 -0
  63. package/src/schema/__tests__/docs.ts +1911 -0
  64. package/src/schema/__tests__/groups.test.ts +61 -0
  65. package/src/schema/__tests__/migration.test.ts +23 -0
  66. package/src/schema/groups.ts +36 -0
  67. package/src/schema/index.ts +286 -0
  68. package/src/schema/marks.ts +254 -0
  69. package/src/schema/migration/migrate.ts +77 -0
  70. package/src/schema/migration/migration-script.ts +26 -0
  71. package/src/schema/migration/migration-scripts/1.2.5.ts +44 -0
  72. package/src/schema/migration/migration-scripts/2.3.22.ts +52 -0
  73. package/src/schema/migration/migration-scripts/3.0.12.ts +33 -0
  74. package/src/schema/migration/migration-scripts/3.0.21.ts +50 -0
  75. package/src/schema/migration/migration-scripts/3.0.30.ts +65 -0
  76. package/src/schema/migration/migration-scripts/3.0.31.ts +40 -0
  77. package/src/schema/migration/migration-scripts/3.0.41.ts +37 -0
  78. package/src/schema/migration/migration-scripts/3.0.55.ts +42 -0
  79. package/src/schema/migration/migration-scripts/3.0.56.ts +114 -0
  80. package/src/schema/migration/migration-scripts/4.2.13.ts +37 -0
  81. package/src/schema/migration/migration-scripts/4.2.15.ts +48 -0
  82. package/src/schema/migration/migration-scripts/4.3.23.ts +55 -0
  83. package/src/schema/migration/migration-scripts/4.3.34.ts +132 -0
  84. package/src/schema/migration/migration-scripts/4.3.35.ts +41 -0
  85. package/src/schema/migration/migration-scripts/index.ts +49 -0
  86. package/src/schema/nodes/abstracts.ts +29 -0
  87. package/src/schema/nodes/affiliation.ts +88 -0
  88. package/src/schema/nodes/affiliations.ts +30 -0
  89. package/src/schema/nodes/alt_text.ts +36 -0
  90. package/src/schema/nodes/alt_title.ts +40 -0
  91. package/src/schema/nodes/alt_titles_section.ts +58 -0
  92. package/src/schema/nodes/attachment.ts +46 -0
  93. package/src/schema/nodes/attachments.ts +45 -0
  94. package/src/schema/nodes/attribution.ts +38 -0
  95. package/src/schema/nodes/author_notes.ts +44 -0
  96. package/src/schema/nodes/award.ts +52 -0
  97. package/src/schema/nodes/awards.ts +45 -0
  98. package/src/schema/nodes/backmatter.ts +31 -0
  99. package/src/schema/nodes/bibliography_element.ts +58 -0
  100. package/src/schema/nodes/bibliography_item.ts +108 -0
  101. package/src/schema/nodes/bibliography_section.ts +60 -0
  102. package/src/schema/nodes/blockquote_element.ts +79 -0
  103. package/src/schema/nodes/body.ts +29 -0
  104. package/src/schema/nodes/box_element.ts +67 -0
  105. package/src/schema/nodes/caption.ts +67 -0
  106. package/src/schema/nodes/caption_title.ts +67 -0
  107. package/src/schema/nodes/citation.ts +70 -0
  108. package/src/schema/nodes/comment.ts +50 -0
  109. package/src/schema/nodes/comments.ts +28 -0
  110. package/src/schema/nodes/contributor.ts +87 -0
  111. package/src/schema/nodes/contributors.ts +40 -0
  112. package/src/schema/nodes/core_section.ts +27 -0
  113. package/src/schema/nodes/corresp.ts +49 -0
  114. package/src/schema/nodes/cross_reference.ts +64 -0
  115. package/src/schema/nodes/doc.ts +21 -0
  116. package/src/schema/nodes/embed.ts +55 -0
  117. package/src/schema/nodes/equation.ts +65 -0
  118. package/src/schema/nodes/equation_element.ts +61 -0
  119. package/src/schema/nodes/figure.ts +65 -0
  120. package/src/schema/nodes/figure_element.ts +73 -0
  121. package/src/schema/nodes/footnote.ts +95 -0
  122. package/src/schema/nodes/footnotes_element.ts +69 -0
  123. package/src/schema/nodes/footnotes_section.ts +61 -0
  124. package/src/schema/nodes/general_table_footnote.ts +42 -0
  125. package/src/schema/nodes/graphical_abstract_section.ts +62 -0
  126. package/src/schema/nodes/hard_break.ts +36 -0
  127. package/src/schema/nodes/hero_image.ts +46 -0
  128. package/src/schema/nodes/highlight_marker.ts +68 -0
  129. package/src/schema/nodes/image_element.ts +49 -0
  130. package/src/schema/nodes/inline_equation.ts +68 -0
  131. package/src/schema/nodes/inline_footnote.ts +66 -0
  132. package/src/schema/nodes/keyword.ts +61 -0
  133. package/src/schema/nodes/keyword_group.ts +63 -0
  134. package/src/schema/nodes/keywords.ts +59 -0
  135. package/src/schema/nodes/keywords_element.ts +64 -0
  136. package/src/schema/nodes/link.ts +79 -0
  137. package/src/schema/nodes/list.ts +134 -0
  138. package/src/schema/nodes/listing.ts +91 -0
  139. package/src/schema/nodes/listing_element.ts +61 -0
  140. package/src/schema/nodes/long_desc.ts +36 -0
  141. package/src/schema/nodes/manuscript.ts +86 -0
  142. package/src/schema/nodes/missing_figure.ts +59 -0
  143. package/src/schema/nodes/paragraph.ts +77 -0
  144. package/src/schema/nodes/placeholder.ts +62 -0
  145. package/src/schema/nodes/placeholder_element.ts +60 -0
  146. package/src/schema/nodes/pullquote_element.ts +81 -0
  147. package/src/schema/nodes/quote_image.ts +64 -0
  148. package/src/schema/nodes/section.ts +69 -0
  149. package/src/schema/nodes/section_label.ts +39 -0
  150. package/src/schema/nodes/section_title.ts +58 -0
  151. package/src/schema/nodes/subtitle.ts +40 -0
  152. package/src/schema/nodes/subtitles.ts +51 -0
  153. package/src/schema/nodes/supplement.ts +77 -0
  154. package/src/schema/nodes/supplements.ts +60 -0
  155. package/src/schema/nodes/table.ts +144 -0
  156. package/src/schema/nodes/table_col.ts +76 -0
  157. package/src/schema/nodes/table_element.ts +67 -0
  158. package/src/schema/nodes/table_element_footer.ts +42 -0
  159. package/src/schema/nodes/text.ts +31 -0
  160. package/src/schema/nodes/title.ts +43 -0
  161. package/src/schema/nodes/trans_abstract.ts +58 -0
  162. package/src/schema/nodes/trans_graphical_abstract.ts +67 -0
  163. package/src/schema/types.ts +240 -0
  164. package/src/tests.ts +33 -0
  165. package/src/transformer/id.ts +23 -0
  166. package/src/transformer/index.ts +21 -0
  167. package/src/transformer/node-names.ts +73 -0
  168. package/src/transformer/node-title.ts +111 -0
  169. package/src/transformer/node-types.ts +39 -0
  170. package/src/transformer/node-validator.ts +82 -0
  171. package/src/types.ts +25 -0
  172. package/src/version.ts +1 -0
@@ -0,0 +1,18 @@
1
+ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
+
3
+ exports[`JATS roundtrip > jats-citations.xml roundtrip 1`] = `
4
+ "<!DOCTYPE article PUBLIC \\"-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD with OASIS Tables with MathML3 v1.2 20190208//EN\\" \\"http://jats.nlm.nih.gov/archiving/1.2/JATS-archive-oasis-article1-mathml3.dtd\\"><article xmlns:xlink=\\"http://www.w3.org/1999/xlink\\" article-type=\\"research-article\\" xml:lang=\\"en\\"><front><article-meta><article-id pub-id-type=\\"doi\\">10.5555/BRB3-2019-12-0787</article-id><title-group><article-title>Blood pressure after follow up in a stroke prevention clinic</article-title><alt-title alt-title-type=\\"right-running\\">Blood pressure after stroke</alt-title></title-group><contrib-group content-type=\\"authors\\"><contrib contrib-type=\\"author\\" id=\\"contrib-1\\" corresp=\\"yes\\"><contrib-id contrib-id-type=\\"orcid\\" authenticated=\\"true\\">https://orcid.org/0000-0003-2217-5904</contrib-id><string-name>Eminem</string-name><degrees>RN</degrees><degrees>MPH</degrees><degrees>PhD</degrees><xref ref-type=\\"aff\\" rid=\\"aff-1\\"><sup>1</sup></xref></contrib><contrib contrib-type=\\"author\\" id=\\"contrib-2\\"><name><surname>Poulsen</surname><given-names>Mai Bang</given-names></name><degrees>MD</degrees><degrees>PhD</degrees><xref ref-type=\\"aff\\" rid=\\"aff-1\\"><sup>1</sup></xref><xref ref-type=\\"fn\\" rid=\\"fn-1\\"><sup>2</sup></xref></contrib><aff id=\\"aff-1\\"><label>1</label><institution content-type=\\"dept\\">Department of
5
+ Neurology</institution>, <institution>Herlev og Gentofte
6
+ Hospital</institution>, <addr-line>Borgmester Ib Juuls Vej 1</addr-line>, <addr-line>2730
7
+ Herlev</addr-line>, <city>Herlev</city>, <country>Denmark</country>, <postal-code>2730</postal-code></aff></contrib-group><author-notes><fn id=\\"fn-1\\"><p>Mai Bang Poulsen, MD, PhD
Department of Neurology
Nordsjællands Hospital
Dyrehavevej 29
3400 Hillerød
Denmark</p></fn><fn id=\\"fn-2\\"><p>ClinicalTrials.gov NCT03782857.</p></fn></author-notes><supplementary-material id=\\"supplementary-material-1\\" xlink:href=\\"attachment:7d9d686b-5488-44a5-a1c5-46351e7f9312\\" mimetype=\\"application\\" mime-subtype=\\"vnd.openxmlformats-officedocument.wordprocessingml.document\\"><caption><title>final manuscript-hum-huili-dbh-suicide-20200707_figures (9)</title></caption></supplementary-material><history><date date-type=\\"accepted\\"><day>27</day><month>04</month><year>2020</year></date><date date-type=\\"received\\"><day>09</day><month>12</month><year>2019</year></date></history><self-uri content-type=\\"document\\" xlink:href=\\"http://www.harmreductionjournal.com/content/1/1/5\\"/><self-uri content-type=\\"document\\" xlink:href=\\"http://www.harmreductionjournal.com/content/1/1/2\\"/><abstract><sec id=\\"sec-1\\"><title>Objectives</title><p id=\\"p-1\\">In Denmark 25% of hospital admissions with stroke are recurrent strokes. With thrombolytic treatment more patients survive with only minor disability. This promising development should be followed up by intensive secondary prevention. Hypertension is the most important target. We aimed at testing the hypotheses that early follow up in a preventive clinic would result in 1) A higher proportion of patients with blood pressure at target, 2) Time to stroke recurrence, myocardial infarction and death would be longer in the intervention group compared to controls.</p></sec><sec id=\\"sec-2\\" sec-type=\\"methods\\"><title>Materials and Methods</title><p id=\\"p-2\\">Eligible patients admitted to the stroke unit of Herlev Hospital were randomized shortly before discharge to intervention or control group. Of 78 included participants data from 73 was available for follow up nine months after inclusion. Patients in the intervention group were seen in the clinic within one week. In case of hypertension treatment was initiated or supplied with a new drug. We used individual targets for blood pressure according to diagnosis of stroke and patients’ comorbidity. Patients in the intervention group had a median of five visits to the preventive clinic.</p></sec><sec id=\\"sec-3\\" sec-type=\\"results\\"><title>Results</title><p id=\\"p-3\\">In the intervention group blood pressure was treated to target in 25 patients (69%) versus 14 (38%) in the control group (<italic>p</italic> = 0.007). Median time to first event was 44 months (4–49) in the intervention group and 19 months (4–37) in controls ( <italic>p</italic>  = 0.316).</p></sec><sec id=\\"sec-4\\" sec-type=\\"conclusions\\"><title>Conclusions</title><p id=\\"p-4\\">Treatment of hypertension to individual targets after stroke is feasible. It may postpone recurrent stroke and death in stroke survivors.</p></sec></abstract><abstract abstract-type=\\"graphical\\"><fig id=\\"fig-1\\" fig-type=\\"half-left\\"><graphic xlink:href=\\"demo1.jpg\\"/></fig></abstract><abstract abstract-type=\\"key-image\\"><fig id=\\"fig-2\\" fig-type=\\"half-left\\"><graphic xlink:href=\\"demo2.jpg\\"/></fig></abstract><abstract abstract-type=\\"short\\"><p id=\\"p-5\\">The is the third and last part of the volume devoted to solubility data of rare earth metal chlorides in water and in ternary and quaternary aqueous systems. Compilations of all available experimental data are introduced for each rare earth metal chloride with a corresponding critical evaluation. This part covers chlorides of Gd, Tb, Dy, Ho, Er, Tm, Yb, and Lu, with coverage of the literature through the middle of 2008.</p></abstract><kwd-group kwd-group-type=\\"author\\"><kwd>secondary prevention</kwd><kwd>stroke recurrence</kwd><kwd>blood pressure</kwd><kwd>blood pressure target</kwd><kwd>randomized controlled trial</kwd></kwd-group><funding-group><award-group id=\\"award-group-1\\"><funding-source>National Institutes of Health</funding-source><award-id>GM18458</award-id><principal-award-recipient>Berkeley</principal-award-recipient></award-group><award-group id=\\"award-group-2\\"><funding-source>National Science Foundation</funding-source><award-id>DMS-0204674</award-id><award-id>DMS-0244638</award-id></award-group></funding-group><counts><fig-count count=\\"2\\"/><ref-count count=\\"7\\"/><word-count count=\\"967\\"/></counts></article-meta></front><body><sec id=\\"sec-5\\"><title>Section</title><p id=\\"p-6\\">This work was supported by the National Natural Science Foundation of China (81771439), Jiangsu Provincial Key <xref ref-type=\\"bibr\\" rid=\\"ref-1\\"><sup>1</sup></xref>Research and Development Program (BE2020661 and BE2018662), Jiangsu Provincial Health Commission Science Research Program (QNRC2016228, H2019056 and LGY2018010), Jiangsu Provincial Six Talent Peaks Project (WSN-165), Suzhou Municipal Health Commission Science Research Program (SZYJTD201715, LCZX201820, Kjxw2018048 and Gwzx201801), Suzhou Municipal Sci-Tech Bureau Program (SZS201722, SS201706, SYS2019113 and SS2019009), and CAS Key Laboratory of Mental Health, Institute of Psychology (KLMH2019K03).</p><p id=\\"p-7\\">This work was supported by the National Natural Science Foundation of China (81771439), Jiangsu Provincial Key <xref ref-type=\\"bibr\\" rid=\\"ref-2\\"><sup>2</sup></xref>Research and Development Program (BE2020661 and BE2018662), Jiangsu Provincial Health Commission Science Research Program (QNRC2016228, H2019056 and LGY2018010), Jiangsu Provincial Six Talent Peaks Project (WSN-165), Suzhou Municipal Health Commission Science Research Program (SZYJTD201715, LCZX201820, Kjxw2018048 and Gwzx201801), Suzhou Municipal Sci-Tech Bureau Program (SZS201722, SS201706, SYS2019113 and SS2019009), and CAS Key Laboratory of Mental Health, Institute of Psychology (KLMH2019K03).</p><p id=\\"p-8\\">This work was supported by the National Natural Science Foundation of China (81771439), Jiangsu Provincial Key <xref ref-type=\\"bibr\\" rid=\\"ref-3\\"><sup>3</sup></xref>Research and Development Program (BE2020661 and BE2018662), Jiangsu Provincial Health Commission Science Research Program (QNRC2016228, H2019056 and LGY2018010), Jiangsu Provincial Six Talent Peaks Project (WSN-165), Suzhou Municipal Health Commission Science Research Program (SZYJTD201715, LCZX201820, Kjxw2018048 and Gwzx201801), Suzhou Municipal Sci-Tech Bureau Program (SZS201722, SS201706, SYS2019113 and SS2019009), and CAS Key Laboratory of Mental Health, Institute of Psychology (KLMH2019K03).</p><p id=\\"p-9\\">This work was supported by the National Natural Science Foundation of China (81771439), Jiangsu Provincial Key <xref ref-type=\\"bibr\\" rid=\\"ref-4\\"><sup>4</sup></xref>Research and Development Program (BE2020661 and BE2018662), Jiangsu Provincial Health Commission Science Research Program (QNRC2016228, H2019056 and LGY2018010), Jiangsu Provincial Six Talent Peaks Project (WSN-165), Suzhou Municipal Health Commission Science Research Program (SZYJTD201715, LCZX201820, Kjxw2018048 and Gwzx201801), Suzhou Municipal Sci-Tech Bureau Program (SZS201722, SS201706, SYS2019113 and SS2019009), and CAS Key Laboratory of Mental Health, Institute of Psychology (KLMH2019K03).</p><p id=\\"p-10\\">This work was supported by the National Natural Science Foundation of China (81771439), Jiangsu Provincial Key <xref ref-type=\\"bibr\\" rid=\\"ref-5\\"><sup>5</sup></xref>Research and Development Program (BE2020661 and BE2018662), Jiangsu Provincial Health Commission Science Research Program (QNRC2016228, H2019056 and LGY2018010), Jiangsu Provincial Six Talent Peaks Project (WSN-165), Suzhou Municipal Health Commission Science Research Program (SZYJTD201715, LCZX201820, Kjxw2018048 and Gwzx201801), Suzhou Municipal Sci-Tech Bureau Program (SZS201722, SS201706, SYS2019113 and SS2019009), and CAS Key Laboratory of Mental Health, Institute of Psychology (KLMH2019K03).</p><p id=\\"p-11\\">This work was supported by the National Natural Science Foundation of China (81771439), Jiangsu Provincial Key <xref ref-type=\\"bibr\\" rid=\\"ref-6\\"><sup>6</sup></xref>Research and Development Program (BE2020661 and BE2018662), Jiangsu Provincial Health Commission Science Research Program (QNRC2016228, H2019056 and LGY2018010), Jiangsu Provincial Six Talent Peaks Project (WSN-165), Suzhou Municipal Health Commission Science Research Program (SZYJTD201715, LCZX201820, Kjxw2018048 and Gwzx201801), Suzhou Municipal Sci-Tech Bureau Program (SZS201722, SS201706, SYS2019113 and SS2019009), and CAS Key Laboratory of Mental Health, Institute of Psychology (KLMH2019K03).</p><p id=\\"p-12\\">This work was supported by the National Natural Science Foundation of China (81771439), Jiangsu Provincial Key <xref ref-type=\\"bibr\\" rid=\\"ref-7\\"><sup>7</sup></xref>Research and Development Program (BE2020661 and BE2018662), Jiangsu Provincial Health Commission Science Research Program (QNRC2016228, H2019056 and LGY2018010), Jiangsu Provincial Six Talent Peaks Project (WSN-165), Suzhou Municipal Health Commission Science Research Program (SZYJTD201715, LCZX201820, Kjxw2018048 and Gwzx201801), Suzhou Municipal Sci-Tech Bureau Program (SZS201722, SS201706, SYS2019113 and SS2019009), and CAS Key Laboratory of Mental Health, Institute of Psychology (KLMH2019K03).</p></sec></body><back><app-group/><fn-group><fn fn-type=\\"con\\"><label>Contributor Information</label><p id=\\"p-13\\">Agnete Hviid Hornnes, Email: agnete.hviid.hornnes@regionh.dk <ext-link ext-link-type=\\"uri\\" xlink:href=\\"https://orcid.org/0000-0003-2217-5904\\">https//orcid.org/0000-0003-2217-5904</ext-link>
Mai Bang Poulsen, Email: mai.bang.poulsen.02@regionh.dk</p><p id=\\"p-14\\">Both authors have made substantial contributions to conception and design and acquisitions and analyses and interpretation of data and have; and been involved in writing the manuscript and given final approval of the version to be published. Both authors have participated sufficiently in the work to take public responsibility for the content; and agree to be accountable for all aspects of the work in ensuring that questions related to the accuracy or integrity of any part of the work are appropriately investigated and resolved.</p></fn><fn fn-type=\\"financial-disclosure\\"><label>FUNDING INFORMATION</label><p id=\\"p-15\\">A paragraph</p></fn></fn-group><ref-list><ref id=\\"ref-1\\"><label>1. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Doe</surname> <given-names>J</given-names></string-name>, <string-name><surname>Smith</surname> <given-names>J</given-names></string-name></person-group>. <article-title>Advancements in Artificial Intelligence</article-title>. <source><italic>AI Research Journal</italic></source>. <year>2021</year>;<volume>18</volume><issue>(2)</issue>:<fpage>45</fpage>-<lpage>60</lpage>. doi:<pub-id pub-id-type=\\"doi\\">10.1000/xyz123</pub-id></mixed-citation></ref><ref id=\\"ref-2\\"><label>2. </label><mixed-citation publication-type=\\"book\\"><person-group person-group-type=\\"author\\"><string-name><surname>Brown</surname> <given-names>M</given-names></string-name>, <string-name><surname>Green</surname> <given-names>A</given-names></string-name></person-group>. Vol <volume>1</volume>. <edition>2nd</edition> ed. (<person-group person-group-type=\\"editor\\"><string-name><surname>Williams</surname> <given-names>D</given-names></string-name>, <string-name><surname>Taylor</surname> <given-names>S</given-names></string-name>, eds</person-group>.). <publisher-loc>New York, USA</publisher-loc>: <publisher-name>Springer</publisher-name>; <year>2020</year>. <ext-link ext-link-type=\\"uri\\" xlink:href=\\"https://doi.org/10.1000/xyz123\\">https://doi.org/10.1000/xyz123</ext-link>.</mixed-citation></ref><ref id=\\"ref-3\\"><label>3. </label><mixed-citation publication-type=\\"book-chapter\\"><person-group person-group-type=\\"author\\"><string-name><surname>Miller</surname> <given-names>S</given-names></string-name></person-group>. <part-title>Machine Learning Applications</part-title>. <source><italic>Handbook of AI</italic></source>. <year>2022</year>:<fpage>105</fpage>-<lpage>120</lpage>.</mixed-citation></ref><ref id=\\"ref-4\\"><label>4. </label><mixed-citation publication-type=\\"confproc\\"><person-group person-group-type=\\"author\\"><string-name><surname>Johnson</surname> <given-names>E</given-names></string-name></person-group>. <part-title>Deep Learning in Image Processing</part-title>. <source><italic>Proceedings of the International Conference on Machine Learning</italic></source>. <year>2019</year>:<fpage>223</fpage>-<lpage>230</lpage>. <ext-link ext-link-type=\\"uri\\" xlink:href=\\"https://icml2019.org/papers/223\\">https://icml2019.org/papers/223</ext-link>.</mixed-citation></ref><ref id=\\"ref-5\\"><label>5. </label><mixed-citation publication-type=\\"thesis\\"><person-group person-group-type=\\"author\\"><string-name><surname>Garcia</surname> <given-names>D</given-names></string-name></person-group>. <part-title>Neural Networks for Natural Language Processing</part-title>. <year>2021</year>. doi:<pub-id pub-id-type=\\"doi\\">10.1234/thesis2021</pub-id></mixed-citation></ref><ref id=\\"ref-6\\"><label>6. </label><mixed-citation publication-type=\\"page\\"><person-group person-group-type=\\"author\\"><string-name><surname>Jones</surname> <given-names>S</given-names></string-name></person-group>. <part-title>Big Data Trends in 2023</part-title>. <source>Data Science Blog</source>. <ext-link ext-link-type=\\"uri\\" xlink:href=\\"https://www.datascienceblog.com/big-data-2023\\">https://www.datascienceblog.com/big-data-2023</ext-link>. Published <year>2023</year>. Accessed <date-in-citation content-type=\\"access-date\\" iso-8601-date=\\"2024-02-15\\">February 15, 2024</date-in-citation>.</mixed-citation></ref><ref id=\\"ref-7\\"><label>7. </label><mixed-citation publication-type=\\"other\\"><person-group person-group-type=\\"author\\"><string-name><surname>Adams</surname> <given-names>L</given-names></string-name></person-group>. <part-title>Private Research Report on AI Ethics</part-title>. <source><italic>Internal Research Report</italic></source>. <year>2022</year>.</mixed-citation></ref></ref-list></back></article>"
8
+ `;
9
+
10
+ exports[`JATS roundtrip > jats-import.xml roundtrip 1`] = `
11
+ "<!DOCTYPE article PUBLIC \\"-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD with OASIS Tables with MathML3 v1.2 20190208//EN\\" \\"http://jats.nlm.nih.gov/archiving/1.2/JATS-archive-oasis-article1-mathml3.dtd\\"><article xmlns:xlink=\\"http://www.w3.org/1999/xlink\\" article-type=\\"research-article\\" xml:lang=\\"en\\"><front><article-meta><article-id pub-id-type=\\"doi\\">10.5555/BRB3-2019-12-0787</article-id><title-group><article-title>Blood pressure after follow up in a stroke prevention clinic</article-title><alt-title alt-title-type=\\"running\\">Running title example</alt-title><alt-title alt-title-type=\\"short\\">Short title example</alt-title></title-group><contrib-group content-type=\\"authors\\"><contrib contrib-type=\\"author\\" id=\\"contrib-1\\" corresp=\\"yes\\"><role>author</role><contrib-id contrib-id-type=\\"orcid\\" authenticated=\\"true\\">https://orcid.org/0000-0003-2217-5904</contrib-id><name><surname>Hornnes</surname><given-names>Agnete Hviid</given-names><prefix>Mr</prefix><suffix>Jr.</suffix></name><degrees>RN</degrees><degrees>MPH</degrees><degrees>PhD</degrees><xref ref-type=\\"aff\\" rid=\\"aff-1\\"><sup>1</sup></xref><role vocab-identifier=\\"http://credit.niso.org/\\" vocab=\\"CRediT\\" vocab-term=\\"Writing – original draft\\" vocab-term-identifier=\\"https://credit.niso.org/contributor-roles/writing-original-draft/\\">Writing – original draft</role></contrib><contrib contrib-type=\\"author\\" id=\\"contrib-2\\"><name><surname>Poulsen</surname><given-names>Mai Bang</given-names></name><degrees>MD</degrees><degrees>PhD</degrees><xref ref-type=\\"aff\\" rid=\\"aff-1\\"><sup>1</sup></xref><xref ref-type=\\"fn\\" rid=\\"fn-1\\"><sup>2</sup></xref></contrib><aff id=\\"aff-1\\"><label>1</label><institution content-type=\\"dept\\">Department of
12
+ Neurology</institution>, <institution>Herlev og Gentofte
13
+ Hospital</institution>, <addr-line>Borgmester Ib Juuls Vej 1</addr-line>, <addr-line>2730
14
+ Herlev</addr-line>, <city>Herlev</city>, <country>Denmark</country>, <postal-code>2730</postal-code></aff></contrib-group><author-notes><fn id=\\"fn-1\\"><p>Mai Bang Poulsen, MD, PhD
Department of Neurology
Nordsjællands Hospital
Dyrehavevej 29
3400 Hillerød
Denmark</p></fn><fn id=\\"fn-2\\"><p>ClinicalTrials.gov NCT03782857.</p></fn><fn fn-type=\\"coi-statement\\"><label>CONFLICT OF INTEREST</label><p id=\\"p-1\\">None.</p></fn></author-notes><supplementary-material id=\\"supplementary-material-1\\" xlink:href=\\"attachment:7d9d686b-5488-44a5-a1c5-46351e7f9312\\" mimetype=\\"application\\" mime-subtype=\\"vnd.openxmlformats-officedocument.wordprocessingml.document\\"><caption><title>final manuscript-hum-huili-dbh-suicide-20200707_figures (9)</title></caption></supplementary-material><history><date date-type=\\"accepted\\"><day>27</day><month>04</month><year>2020</year></date><date date-type=\\"received\\"><day>09</day><month>12</month><year>2019</year></date></history><self-uri content-type=\\"document\\" xlink:href=\\"http://www.harmreductionjournal.com/content/1/1/5\\"/><self-uri content-type=\\"document\\" xlink:href=\\"http://www.harmreductionjournal.com/content/1/1/2\\"/><abstract><sec id=\\"sec-1\\"><title>Objectives</title><p id=\\"p-2\\">In Denmark 25% of hospital admissions with stroke are recurrent strokes. With thrombolytic treatment more patients survive with only minor disability. This promising development should be followed up by intensive secondary prevention. Hypertension is the most important target. We aimed at testing the hypotheses that early follow up in a preventive clinic would result in 1) A higher proportion of patients with blood pressure at target, 2) Time to stroke recurrence, myocardial infarction and death would be longer in the intervention group compared to controls.</p></sec><sec id=\\"sec-2\\" sec-type=\\"methods\\"><title>Materials and Methods</title><p id=\\"p-3\\">Eligible patients admitted to the stroke unit of Herlev Hospital were randomized shortly before discharge to intervention or control group. Of 78 included participants data from 73 was available for follow up nine months after inclusion. Patients in the intervention group were seen in the clinic within one week. In case of hypertension treatment was initiated or supplied with a new drug. We used individual targets for blood pressure according to diagnosis of stroke and patients’ comorbidity. Patients in the intervention group had a median of five visits to the preventive clinic.</p></sec><sec id=\\"sec-3\\" sec-type=\\"results\\"><title>Results</title><p id=\\"p-4\\">In the intervention group blood pressure was treated to target in 25 patients (69%) versus 14 (38%) in the control group (<italic>p</italic> = 0.007). Median time to first event was 44 months (4–49) in the intervention group and 19 months (4–37) in controls (<italic>p</italic> = 0.316).</p></sec><sec id=\\"sec-4\\" sec-type=\\"conclusions\\"><title>Conclusions</title><p id=\\"p-5\\">Treatment of hypertension to individual targets after stroke is feasible. It may postpone recurrent stroke and death in stroke survivors.</p></sec></abstract><abstract abstract-type=\\"graphical\\"><fig id=\\"fig-1\\" fig-type=\\"half-left\\"><graphic xlink:href=\\"demo1.jpg\\"/></fig></abstract><abstract abstract-type=\\"key-image\\"><fig id=\\"fig-2\\" fig-type=\\"half-left\\"><graphic xlink:href=\\"demo2.jpg\\"/></fig></abstract><abstract abstract-type=\\"short\\"><p id=\\"p-6\\">The is the third and last part of the volume devoted to solubility data of rare earth metal chlorides in water and in ternary and quaternary aqueous systems. Compilations of all available experimental data are introduced for each rare earth metal chloride with a corresponding critical evaluation. This part covers chlorides of Gd, Tb, Dy, Ho, Er, Tm, Yb, and Lu, with coverage of the literature through the middle of 2008.</p></abstract><trans-abstract xml:lang=\\"fr\\" abstract-type=\\"short\\"><title>Short</title><p id=\\"p-7\\">Il s'agit de la troisième et dernière partie du volume consacrée aux données de solubilité des chlorures de métaux des terres rares dans l'eau et dans les systèmes aqueux ternaires et quaternaires. Une compilation de toutes les données expérimentales disponibles est présentée pour chaque chlorure de métaux des terres rares, accompagnée de l'évaluation critique correspondante. Cette partie couvre les chlorures de Gd, Tb, Dy, Ho, Er, Tm, Yb et Lu, avec une couverture de la littérature jusqu'à mi-2008.</p></trans-abstract><kwd-group kwd-group-type=\\"author\\"><kwd>secondary prevention</kwd><kwd>stroke recurrence</kwd><kwd>blood pressure</kwd><kwd>blood pressure target</kwd><kwd>randomized controlled trial</kwd></kwd-group><funding-group><award-group id=\\"award-group-1\\"><funding-source>National Institutes of Health</funding-source><award-id>GM18458</award-id><principal-award-recipient>Berkeley</principal-award-recipient></award-group><award-group id=\\"award-group-2\\"><funding-source>National Science Foundation</funding-source><award-id>DMS-0204674</award-id><award-id>DMS-0244638</award-id></award-group></funding-group><counts><fig-count count=\\"8\\"/><table-count count=\\"2\\"/><ref-count count=\\"25\\"/><word-count count=\\"3643\\"/></counts></article-meta></front><body><graphic xlink:href=\\"demo1.png\\"><ext-link xlink:href=\\"WLYSP_5_4_Infographic_Nov_11_2022.pdf\\"/><caption><p>simple image</p><p>caption</p></caption></graphic><graphic xlink:href=\\"prodbe.int.aip.org:8080/journal/journal_fs/ 1.2983775.1373315697!/images/1460725790.jpg\\"><alt-text>example of alt text for graphics</alt-text><long-desc>example of long desc</long-desc></graphic><p id=\\"p-8\\">test paragraph</p><disp-quote content-type=\\"quote-with-image\\"><graphic xlink:href=\\"demo1.jpg\\"/><p>It is a far, far better thing that I do now than I have ever done.</p><attrib>Charles Dickens</attrib></disp-quote><sec id=\\"sec-5\\" sec-type=\\"intro\\"><label>1</label><title>INTRODUCTION</title><p id=\\"p-9\\">Over the last two decades continuous development of thrombolytic treatment of acute ischemic stroke (IS) has improved safety and functional outcome in treated patients <xref ref-type=\\"bibr\\" rid=\\"ref-1 ref-2\\"><sup>1,2</sup></xref> thus increasing the possibility of survival with no or only minor disability. With this fact and the ongoing aging of populations in mind <xref ref-type=\\"bibr\\" rid=\\"ref-3\\"><sup>3</sup></xref> the secondary prevention after stroke seems more important than ever. In 1998 the Copenhagen Stroke Study reported a recurrence rate of 23%. <xref ref-type=\\"bibr\\" rid=\\"ref-4\\"><sup>4</sup></xref> According to the Danish Stroke Registry our national recurrence rate was 25% in 2011.<xref ref-type=\\"bibr\\" rid=\\"ref-5\\"><sup>5</sup></xref></p><p id=\\"p-10\\">Hypertension is an important risk factor for stroke recurrence. <xref ref-type=\\"bibr\\" rid=\\"ref-4 ref-6 ref-7 ref-8\\"><sup>4,6–8</sup></xref> Lowering blood pressure (BP) after stroke or transitory ischemic attack (TIA) by 10/5 mm Hg has been associated with reduced risk of stroke recurrence by 24% and myocardial infarction (MI) by 21%. <xref ref-type=\\"bibr\\" rid=\\"ref-9\\"><sup>9</sup></xref></p><p id=\\"p-11\\">Observational studies have demonstrated the difficulties in lowering BP after stroke with rates of BP treated to target ranging from 28% to 73% <xref ref-type=\\"bibr\\" rid=\\"ref-10 ref-11 ref-12 ref-13\\"><sup>10–13</sup></xref> and interventions aimed at control of BP after stroke have not yet found a successful model. <xref ref-type=\\"bibr\\" rid=\\"ref-14 ref-15 ref-16 ref-17 ref-18 ref-19\\"><sup>14–19</sup></xref> Fahey and coworkers have reviewed the literature aimed at improving control of BP in hypertensive subjects. One large study using an organized system of regular visits to a clinic was efficient in producing a large decrease in BP and reduction of all-cause mortality compared to referral to usual primary care. This was achieved by using a stepwise escalation of treatment until target was reached. <xref ref-type=\\"bibr\\" rid=\\"ref-20\\"><sup>20</sup></xref> Other methods had variable or no effect, only nurse or pharmacist led care seemed promising.</p><media id=\\"media-1\\" xlink:show=\\"embed\\" xlink:href=\\"example.mp4\\" mimetype=\\"video\\" mime-subtype=\\"mp4\\"><label>Media 1</label><alt-text>example of alt text for media</alt-text><long-desc>example of long desc</long-desc></media><sec id=\\"sec-6\\"><title>Aims and hypotheses</title><p id=\\"p-12\\">The aim of the present study was to test the hypotheses that follow up after stroke in a specialized nurse led physician supervised clinic with stepwise escalation of BP- and lipid lowering treatment would result in</p><sec id=\\"sec-7\\"><title>Primary endpoint</title><sec id=\\"sec-8\\"><title>A greater proportion of participants with BP at target</title><p id=\\"p-13\\">Secondary endpoints: A greater reduction of BP A greater proportion of participants with LDL-cholesterol treated to target A greater reduction of LDL-cholesterol Longer time to recurrence of stroke, MI and death in the intervention group compared to controls</p></sec></sec><sec id=\\"sec-9\\"><title>BoxedText test</title><boxed-text id=\\"boxed-text-1\\"><label>Box 1</label><sec id=\\"sec-10\\"><title/><p/></sec></boxed-text><boxed-text id=\\"boxed-text-2\\"><label>Box 2</label><caption><title>BoxedTextCaptionTitle</title></caption><sec id=\\"sec-11\\"><title>Key messages</title><list list-type=\\"bullet\\"><list-item><p id=\\"p-14\\">The benefits of geriatric day hospital care have been controversial for many years.</p></list-item><list-item><p id=\\"p-15\\">This systematic review of 12 randomised trials comparing a variety of day hospitals with a range of alternative services found no overall advantage for day hospital care.</p></list-item><list-item><p id=\\"p-16\\">Day hospitals had a possible advantage over no comprehensive care in terms of death or poor outcome, disability, and use of resources.</p></list-item><list-item><p id=\\"p-17\\">The costs of day hospital care may be partly offset by a reduced use of hospital beds and institutional care among survivors.</p></list-item></list><sec id=\\"sec-12\\"><title>testing multiple sections inside a boxed-text element</title><p id=\\"p-18\\">Hello World!</p></sec></sec></boxed-text><boxed-text id=\\"boxed-text-3\\"><label>Box 3</label><sec id=\\"sec-13\\"><title>Key messages</title><list list-type=\\"bullet\\"><list-item><p id=\\"p-19\\">The benefits of geriatric day hospital care have been controversial for many years.</p></list-item><list-item><p id=\\"p-20\\">This systematic review of 12 randomised trials comparing a variety of day hospitals with a range of alternative services found no overall advantage for day hospital care.</p></list-item><list-item><p id=\\"p-21\\">Day hospitals had a possible advantage over no comprehensive care in terms of death or poor outcome, disability, and use of resources.</p></list-item><list-item><p id=\\"p-22\\">The costs of day hospital care may be partly offset by a reduced use of hospital beds and institutional care among survivors.</p></list-item></list></sec></boxed-text></sec></sec></sec><sec id=\\"sec-14\\" sec-type=\\"methods\\"><label>2</label><title>MATERIELS AND METHODS</title><p id=\\"p-23\\">Before the initiation of the study the authors attended a three-day course in treatment of hypertension arranged by the Danish Society of Hypertension. The recommendations of our national guidelines regarding BP targets were in line with those given by the American Stroke Association in force at the time of initiation of the study: “An absolute target BP level and reduction are uncertain and should be individualized.” <xref ref-type=\\"bibr\\" rid=\\"ref-21\\"><sup>21</sup></xref> Following the advice given by the Danish Society of Hypertension we used the following targets: A BP &lt; 140/90 mm Hg was considered at target in non-diabetic patients. In patients aged 80 years or more a BP of 150/90 mm Hg was acceptable if further treatment was not tolerated. In case of severe carotid stenosis or a history of ischemic heart disease BP should not be lower than 130/80 mm Hg. In patients with diabetes or hemorrhagic stroke we aimed at a BP &lt; 130/80 mm Hg. Untreated patients without hypertension were categorized as normotensive, untreated hypertensive patients as having unknown hypertension, treated patients without hypertension as treated to target, and treated patients with hypertension as having untreated hypertension.</p><p id=\\"p-24\\">LDL-cholesterol should be &lt; 2.5 mmol/l in patients with IS or TIA in non-diabetic patients and in case of diabetes &lt; 2.0 mmol/l.</p><p id=\\"p-25\\">A sample size calculation showed that 24 patients in each group were needed to show a difference of 10 mm Hg in the development of systolic BP (80% power).</p><sec id=\\"sec-15\\"><label>2.1</label><title>Study sample and setting</title><p id=\\"p-26\\">From June 2012 to February 2013 all patients diagnosed with a stroke or TIA at the stroke unit of Herlev Gentofte Hospital, University of Copenhagen were considered for inclusion in the study. Patients should be without cognitive deficits that would prevent their active participation and they should be discharged to their own home. The last author used computer-generated block randomization procedures with stratification by hypertension (1:1). The allocation sequence was concealed, and we aimed at equal numbers in the two groups. Shortly before discharge the first author approached eligible patients for oral and written information about the study. Where written informed consent to participation was achieved BP was measured before a concealed envelope administered by a secretary was opened revealing the allocation to either intervention or control group.</p><p id=\\"p-27\\">The research protocol was approved by the ethics committee of the Capital Region of Denmark (H-3-2011–152) and by the Danish Data Protection Agency (2012–41-0429). The study was conducted according to all common ethical standards including the rules given by the Declaration of Helsinki. Patients randomized to the control group had the usual treatment: one visit in the outpatient clinic of the stroke unit three months after discharge. Patients randomized to the intervention group had an appointment with the first author within one week after discharge. The first author undertook all visits in the preventive clinic.</p></sec><sec id=\\"sec-16\\"><label>2.2</label><title>Procedures and intervention</title><p id=\\"p-28\\">BP was measured at every visit after at least five minutes rest in a sitting position in an arm chair. BP was measured simultaneously in both arms followed by two measurements with 10-min intervals using the arm with the highest systolic BP. In case of hypertension the first author would suggest initiation or intensification of antihypertensive treatment. The last author would accept or suggest an alternative and do the prescription. Patients would come to the clinic for control of BP and relevant blood tests every 3–4 weeks until BP was at target. After five weeks on lipid lowering drugs treatment was intensified if needed. Patients who did not tolerate lipid lowering medication were referred to a dietitian. In motivated patients home BP measurements were performed using patients’ own monitor or by lending patients a BP monitor between visits.</p><p id=\\"p-29\\">Patients in the intervention group had a mean of five visits to the clinic with addition of new drugs rather than adding more of the same drug in case of hypertension. Although we used minimum doses to prevent adverse effects, many patients had unacceptable side effects necessitating change to another class of antihypertensive drug.</p><p id=\\"p-30\\">Patients were informed about the importance of life-long adherence with all preventive medication. Those with elevated BP or receiving antihypertensive treatment were advised in salt reduction, smokers were advised to stop smoking and all patients were informed about the benefits of 30 min of moderate physical activity daily. Likewise, information about the risk of an intake of alcohol above seven drinks per week in women and 14 drinks in men was part of the program as well as the benefits of weight reduction in overweight patients with hypertension or diabetes.</p></sec><sec id=\\"sec-17\\"><label>2.3</label><title>Follow up</title><p id=\\"p-31\\">Participants in both groups were invited to the usual follow up visit three months after discharge at the outpatient clinic of the stroke unit as well as a follow up visit in the study a median of 9 (IQR 8–11) months after inclusion.</p><p id=\\"p-32\\">In accordance with the protocol the final follow up visits were performed by nurses in the outpatient clinic with measurement of BP and blood-cholesterols. Patients were asked not to reveal their group allocation but blinding of the nurses was not possible. Patients were interviewed about adherence to all preventive medications as well as their present life style. For practical purposes a minority of visits were performed by the first author. To do intention to treat analyses we used last observation carried forward regarding the endpoints of the study where patients had died or did not respond to the invitation to a follow up visit. Thus, we used the last recorded values in five patients in the intervention group and in seven controls.</p><p id=\\"p-33\\">After a median of 65 months (IQR: 61–66) from inclusion data on vascular events and death were attained from the hospital based medical records covering all hospitals of the region.</p></sec><sec id=\\"sec-18\\"><label>2.4</label><title>Statistics</title><p id=\\"p-34\\">Data were entered into Excel and imported into SAS. Statistical analyses were performed by the first author according to a pre-established statistical analysis plan. We used Chi square test (for the primary outcome) or Fisher’s exact test as appropriate for comparison of proportions, and for change from baseline we used McNemar’s test. For continuous variables we used t-test or Mann-Whitney’s test*. Change from baseline was analyzed by the paired t-test or Wilcoxon signed rank sum test* (*where data were not normally distributed). We used SAS 9.4 for Windows and <italic>p</italic> &lt; 0.05 was considered significant.</p></sec></sec><sec id=\\"sec-19\\" sec-type=\\"results\\"><label>3</label><title>RESULTS</title><p id=\\"p-35\\">We included 78 patients in the study. Due to revision of stroke diagnoses in four participants and as one participant never turned up for the intervention, data on 73 participants were available for follow up (<xref ref-type=\\"fig\\" rid=\\"fig-3\\">Figure 1</xref>). The median stay in hospital was 4 days (IQR: 3–6). As seen from <xref ref-type=\\"table\\" rid=\\"table-wrap-1\\">Table 1</xref> most participants had no or slight disability.</p><fig id=\\"fig-3\\" fig-type=\\"half-left\\"><label>Figure 1</label><caption><p>Flow chart of participants</p></caption><graphic xlink:href=\\"BRB3-2019-12-0787-fig-0001.png\\"><alt-text>example of alt text for graphics inside figures</alt-text><long-desc>example of long desc for graphics inside figures</long-desc></graphic></fig><table-wrap id=\\"table-wrap-1\\" position=\\"anchor\\"><label>Table 1</label><caption><title>Baseline characteristics of 73 patients</title></caption><alt-text>example of alt text for tables</alt-text><long-desc>example of long desc</long-desc><table id=\\"table-1\\"><colgroup><col width=\\"52.14%\\"/><col width=\\"11.92%\\"/><col width=\\"14.9%\\"/><col width=\\"13.1%\\"/><col width=\\"7.94%\\"/></colgroup><thead><tr><th valign=\\"top\\" align=\\"left\\" scope=\\"col\\" style=\\"border-top: solid 0.50pt; border-bottom: solid 0.50pt\\"><p>Characteristics</p></th><th valign=\\"top\\" align=\\"left\\" scope=\\"col\\" style=\\"border-top: solid 0.50pt; border-bottom: solid 0.50pt\\"><p>All(<italic>n</italic> = 73)</p></th><th valign=\\"top\\" align=\\"left\\" scope=\\"col\\" style=\\"border-top: solid 0.50pt; border-bottom: solid 0.50pt\\"><p>Intervention (<italic>n</italic> = 36)</p></th><th valign=\\"top\\" align=\\"left\\" scope=\\"col\\" style=\\"border-top: solid 0.50pt; border-bottom: solid 0.50pt\\"><p>Control (<italic>n</italic> = 37)</p></th><th valign=\\"top\\" align=\\"left\\" scope=\\"col\\" style=\\"border-top: solid 0.50pt; border-bottom: solid 0.50pt\\"><p>P</p></th></tr></thead><tbody><tr><td valign=\\"middle\\" align=\\"left\\" scope=\\"row\\" style=\\"border-top: solid 0.50pt\\"><p>Sex, female</p></td><td valign=\\"middle\\" align=\\"left\\" style=\\"border-top: solid 0.50pt\\"><p>29 (40)</p></td><td valign=\\"middle\\" align=\\"left\\" style=\\"border-top: solid 0.50pt\\"><p>15 (42)</p></td><td valign=\\"middle\\" align=\\"left\\" style=\\"border-top: solid 0.50pt\\"><p>14 (38)</p></td><td valign=\\"middle\\" align=\\"left\\" style=\\"border-top: solid 0.50pt\\"><p>0.74</p></td></tr><tr><td valign=\\"middle\\" align=\\"left\\" scope=\\"row\\"><p>Age (years), mean ± SD</p></td><td valign=\\"middle\\" align=\\"left\\"><p>66 ± 12</p></td><td valign=\\"middle\\" align=\\"left\\"><p>63 ± 13</p></td><td valign=\\"middle\\" align=\\"left\\"><p>68 ± 11</p></td><td valign=\\"middle\\" align=\\"left\\"><p>0.08</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Length of education&lt; 10 years10 – 12 years&gt; 12 years</p></td><td valign=\\"top\\" align=\\"left\\"><p>12 (17)22 (30)38 (53)</p></td><td valign=\\"top\\" align=\\"left\\"><p>6 (17)10 (29)19 (54)</p></td><td valign=\\"top\\" align=\\"left\\"><p>6 (16)12 (33)19 (51)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.95</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Diagnosis of strokeIschemic StrokeTIAHemorrhagic stroke</p></td><td valign=\\"top\\" align=\\"left\\"><p>63 (87)9 (12)1 (1)</p></td><td valign=\\"top\\" align=\\"left\\"><p>33 (92)3 (8)</p></td><td valign=\\"top\\" align=\\"left\\"><p>30 (81)6 (16)1 (3)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.60<sup>a</sup></p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Recurrent stroke</p></td><td valign=\\"top\\" align=\\"left\\"><p>11 (15)</p></td><td valign=\\"top\\" align=\\"left\\"><p>5 (14)</p></td><td valign=\\"top\\" align=\\"left\\"><p>6 (16)</p></td><td valign=\\"top\\" align=\\"left\\"><p>1.00<sup>a</sup></p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Modified Rankin Scale score &gt; 2</p></td><td valign=\\"top\\" align=\\"left\\"><p>5 (6)</p></td><td valign=\\"top\\" align=\\"left\\"><p>1 (3)</p></td><td valign=\\"top\\" align=\\"left\\"><p>4 (11)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.36<sup>a</sup></p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Antihypertensive medication before stroke</p></td><td valign=\\"top\\" align=\\"left\\"><p>39 (53)</p></td><td valign=\\"top\\" align=\\"left\\"><p>15 (42)</p></td><td valign=\\"top\\" align=\\"left\\"><p>24 (65)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.047</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Antihypertensive medication at discharge</p></td><td valign=\\"top\\" align=\\"left\\"><p>46 (63)</p></td><td valign=\\"top\\" align=\\"left\\"><p>20 (56)</p></td><td valign=\\"top\\" align=\\"left\\"><p>26 (70)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.19</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Cholesterol lowering medication before stroke</p></td><td valign=\\"top\\" align=\\"left\\"><p>25 (34)</p></td><td valign=\\"top\\" align=\\"left\\"><p>11 (31)</p></td><td valign=\\"top\\" align=\\"left\\"><p>14 (38)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.51</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Cholesterol lowering medication at discharge</p></td><td valign=\\"top\\" align=\\"left\\"><p>65 (89)</p></td><td valign=\\"top\\" align=\\"left\\"><p>35 (97)</p></td><td valign=\\"top\\" align=\\"left\\"><p>30 (81)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.03</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Diabetes at baseline</p></td><td valign=\\"top\\" align=\\"left\\"><p>14 (19)</p></td><td valign=\\"top\\" align=\\"left\\"><p>5 (14)</p></td><td valign=\\"top\\" align=\\"left\\"><p>9 (24)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.37<sup>a</sup></p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Diabetes at discharge</p></td><td valign=\\"top\\" align=\\"left\\"><p>16 (22)</p></td><td valign=\\"top\\" align=\\"left\\"><p>6 (17)</p></td><td valign=\\"top\\" align=\\"left\\"><p>10 (27)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.29</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Atrial fibrillation at baseline</p></td><td valign=\\"top\\" align=\\"left\\"><p>7 (10)</p></td><td valign=\\"top\\" align=\\"left\\"><p>3 (8)</p></td><td valign=\\"top\\" align=\\"left\\"><p>4 (11)</p></td><td valign=\\"top\\" align=\\"left\\"><p>1.00<sup>a</sup></p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Atrial fibrillation at discharge</p></td><td valign=\\"top\\" align=\\"left\\"><p>12 (16)</p></td><td valign=\\"top\\" align=\\"left\\"><p>6 (16)</p></td><td valign=\\"top\\" align=\\"left\\"><p>6 (17)</p></td><td valign=\\"top\\" align=\\"left\\"><p>1.00</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Unhealthy dieting<sup>b</sup></p></td><td valign=\\"top\\" align=\\"left\\"><p>59 (82)</p></td><td valign=\\"top\\" align=\\"left\\"><p>25 (71)</p></td><td valign=\\"top\\" align=\\"left\\"><p>34 (92)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.03</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Current smoking</p></td><td valign=\\"top\\" align=\\"left\\"><p>19 (26)</p></td><td valign=\\"top\\" align=\\"left\\"><p>11 (31)</p></td><td valign=\\"top\\" align=\\"left\\"><p>8 (22)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.62</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Alcohol above limits<sup>c</sup></p></td><td valign=\\"top\\" align=\\"left\\"><p>23 (32)</p></td><td valign=\\"top\\" align=\\"left\\"><p>12 (34)</p></td><td valign=\\"top\\" align=\\"left\\"><p>11 (30)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.68</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Sedentary lifestyle<sup>d</sup></p></td><td valign=\\"top\\" align=\\"left\\"><p>17 (24)</p></td><td valign=\\"top\\" align=\\"left\\"><p>9 (26)</p></td><td valign=\\"top\\" align=\\"left\\"><p>8 (22)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.68</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>BMI ≥ 25</p></td><td valign=\\"top\\" align=\\"left\\"><p>46 (63)</p></td><td valign=\\"top\\" align=\\"left\\"><p>24 (67)</p></td><td valign=\\"top\\" align=\\"left\\"><p>22 (59)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.52</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\" style=\\"border-bottom: solid 0.50pt\\"><p>Self-rated health: fair, poor, or very poor</p></td><td valign=\\"top\\" align=\\"left\\" style=\\"border-bottom: solid 0.50pt\\"><p>34 (47)</p></td><td valign=\\"top\\" align=\\"left\\" style=\\"border-bottom: solid 0.50pt\\"><p>15 (43)</p></td><td valign=\\"top\\" align=\\"left\\" style=\\"border-bottom: solid 0.50pt\\"><p>19 (51)</p></td><td valign=\\"top\\" align=\\"left\\" style=\\"border-bottom: solid 0.50pt\\"><p>0.47</p></td></tr></tbody></table><table-wrap-foot><p id=\\"p-36\\">Values are expressed as frequencies (%) or as mean ± standard deviations</p><fn-group id=\\"fn-group-1\\"><fn id=\\"fn-3\\"><p id=\\"p-37\\">Fisher’s exact test. <sup>b</sup> Less than 600 g of fruit and vegetables per day, fish for dinner less than twice per week. <sup>c</sup> More than 7 drinks per week in women/more than 14 drinks per week in men. <sup>d</sup> Less than 30 min of moderate physical activity per day.</p></fn></fn-group></table-wrap-foot></table-wrap><p id=\\"p-38\\">Less than 20% of patients had a baseline BP treated to target (<xref ref-type=\\"fig\\" rid=\\"fig-4\\">Figure 2</xref>). Twenty-eight patients (78%) in the intervention group and 29 patients (78%) in the control group had a 3-month visit in the outpatient clinic. Here 15 patients (42%) in the intervention group had their BP and blood cholesterol measured and so had 23 patients (62%) in the control group. At follow up patients in both groups reported a median of two visits including BP measurement at the general practitioner´s office since discharge from hospital.</p><fig id=\\"fig-4\\" fig-type=\\"half-left\\"><label>Figure 2</label><caption><p>Blood pressure and treatment of hypertension at baseline in 73 patients (%)</p></caption><graphic xlink:href=\\"BRB3-2019-12-0787-fig-0002.png\\"/></fig><sec id=\\"sec-20\\"><label>3.1</label><title>Primary endpoint</title><p id=\\"p-39\\">Follow up visits showed that 25 patients (69%) in the intervention group had a BP at target versus 14 (38%) of controls (<italic>p</italic> = 0.007). In four patients (10%) in the intervention group antihypertensive medication remained unchanged since discharge versus 23 (62%) of controls (<italic>p</italic> &lt; 0.0001) illustrated by the differences in BP treated to target as well as untreated hypertension in <xref ref-type=\\"fig\\" rid=\\"fig-5\\">Figure 3</xref>.</p><fig id=\\"fig-5\\" fig-type=\\"half-left\\"><label>Figure 3</label><caption><p>Blood pressure and treatment of hypertension at follow up in 73 patients (%)</p></caption><graphic xlink:href=\\"BRB3-2019-12-0787-fig-0003.png\\"/></fig></sec><sec id=\\"sec-21\\"><label>3.2</label><title>Secondary endpoints</title><p id=\\"p-40\\">Median reduction in systolic BP was 11 mm Hg (-5-19) with 14 mm Hg (IQR: 5–21) in the intervention group and 3 mm Hg (IQR -11-17) in the control group (<italic>p</italic> = 0.045). Median reduction in diastolic BP was 2 mm Hg (-2-11) with 7 mm Hg (IQR -1-13) in the intervention group and 1 mm Hg (IQR -6-8) in the control group (<italic>p</italic> = 0.04).</p><p id=\\"p-41\\">There was no difference between the groups regarding LDL-cholesterol treated to target with 32 patients (89%) at target in the intervention group versus 29 patients (78%) in the control group (<italic>p</italic> = 0.21). We found significant reductions in LDL-cholesterol in both groups, but no difference between the groups: 1.6 (IQR: 0.4–2.2) mmol/l in the intervention group versus 0.8 (IQR: 0.4–1.8) mmol/l among controls (<italic>p</italic> = 0.18).</p><p id=\\"p-42\\">In 11 patients (31%) in the intervention group cholesterol lowering medication remained unchanged since discharge versus 29 (78%) of controls (<italic>p</italic> &lt; 0.0001).</p><p id=\\"p-43\\">The combined endpoint of both BP and LDL-cholesterol at target was achieved in 22 (61%) of patients in the intervention group and in 10 patients (27%) in the control group (<italic>p</italic> = 0.003). At the end of the study 24 patients (68%) in the intervention group measured their BP at home versus 14 (38%) of controls (<italic>p</italic> = 0.03).</p><p id=\\"p-44\\">The only significant change in lifestyle was a reduction in current smokers by four in the control group (<xref ref-type=\\"table\\" rid=\\"table-wrap-2\\">Table 2</xref>).</p><table-wrap id=\\"table-wrap-2\\" position=\\"anchor\\"><label>Table 2</label><caption><title>Nine months follow up of 73 patients</title></caption><table id=\\"table-2\\"><colgroup><col width=\\"52.91%\\"/><col width=\\"11.06%\\"/><col width=\\"14.16%\\"/><col width=\\"11.5%\\"/><col width=\\"10.37%\\"/></colgroup><thead><tr><th valign=\\"top\\" align=\\"left\\" scope=\\"col\\" style=\\"border-top: solid 0.50pt; border-bottom: solid 0.50pt\\"><p>Characteristics</p></th><th valign=\\"top\\" align=\\"left\\" scope=\\"col\\" style=\\"border-top: solid 0.50pt; border-bottom: solid 0.50pt\\"><p>All(<italic>n</italic> = 73)</p></th><th valign=\\"top\\" align=\\"left\\" scope=\\"col\\" style=\\"border-top: solid 0.50pt; border-bottom: solid 0.50pt\\"><p>Intervention(<italic>n</italic> = 36)</p></th><th valign=\\"top\\" align=\\"left\\" scope=\\"col\\" style=\\"border-top: solid 0.50pt; border-bottom: solid 0.50pt\\"><p>Control(<italic>n</italic> = 37)</p></th><th valign=\\"top\\" align=\\"left\\" scope=\\"col\\" style=\\"border-top: solid 0.50pt; border-bottom: solid 0.50pt\\"><p>P</p></th></tr></thead><tbody><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\" style=\\"border-top: solid 0.50pt\\"><p>Systolic BP, mm Hg, mean ± SD</p></td><td valign=\\"top\\" align=\\"left\\" style=\\"border-top: solid 0.50pt\\"><p>134 ± 21</p></td><td valign=\\"top\\" align=\\"left\\" style=\\"border-top: solid 0.50pt\\"><p>130 ± 17</p></td><td valign=\\"top\\" align=\\"left\\" style=\\"border-top: solid 0.50pt\\"><p>137 ± 24</p></td><td valign=\\"top\\" align=\\"left\\" style=\\"border-top: solid 0.50pt\\"><p>0.12</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Diastolic BP, mm Hg, mean ± SD</p></td><td valign=\\"top\\" align=\\"left\\"><p>78 ± 11</p></td><td valign=\\"top\\" align=\\"left\\"><p>78 ± 10</p></td><td valign=\\"top\\" align=\\"left\\"><p>78 ± 12.8)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.94</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Antihypertensive medication</p></td><td valign=\\"top\\" align=\\"left\\"><p>55 (75)</p></td><td valign=\\"top\\" align=\\"left\\"><p>29 (81)</p></td><td valign=\\"top\\" align=\\"left\\"><p>26 (70)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.31</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>100% compliance with AHM (<italic>n</italic> = 45)</p></td><td valign=\\"top\\" align=\\"left\\"><p>38 (84)</p></td><td valign=\\"top\\" align=\\"left\\"><p>23 (89)</p></td><td valign=\\"top\\" align=\\"left\\"><p>15 (79)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.38</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>LDL-cholesterol, mmol/l (<italic>n</italic> = 72), mean ± SD</p></td><td valign=\\"top\\" align=\\"left\\"><p>1.9 ± 0.8</p></td><td valign=\\"top\\" align=\\"left\\"><p>1.9 ± 0.7</p></td><td valign=\\"top\\" align=\\"left\\"><p>2.0 ± 0.8</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.66</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Cholesterol lowering medication</p></td><td valign=\\"top\\" align=\\"left\\"><p>64 (88)</p></td><td valign=\\"top\\" align=\\"left\\"><p>32 (89)</p></td><td valign=\\"top\\" align=\\"left\\"><p>32 (86)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.76</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>100% compliance with CLM (<italic>n</italic> = 52)</p></td><td valign=\\"top\\" align=\\"left\\"><p>46 (89)</p></td><td valign=\\"top\\" align=\\"left\\"><p>24 (86)</p></td><td valign=\\"top\\" align=\\"left\\"><p>22 (92)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.50</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Unhealthy dieting<sup>b</sup></p></td><td valign=\\"top\\" align=\\"left\\"><p>59 (81)</p></td><td valign=\\"top\\" align=\\"left\\"><p>26 (72)</p></td><td valign=\\"top\\" align=\\"left\\"><p>33 (89)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.76</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Current smoker</p></td><td valign=\\"top\\" align=\\"left\\"><p>15 (21)</p></td><td valign=\\"top\\" align=\\"left\\"><p>11 (31)</p></td><td valign=\\"top\\" align=\\"left\\"><p>4 (11)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.046<sup>a</sup></p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Alcohol &gt; limits<sup>c</sup></p></td><td valign=\\"top\\" align=\\"left\\"><p>20 (27)</p></td><td valign=\\"top\\" align=\\"left\\"><p>11 (31)</p></td><td valign=\\"top\\" align=\\"left\\"><p>9 (24)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.55</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\"><p>Sedentary lifestyle<sup>d</sup></p></td><td valign=\\"top\\" align=\\"left\\"><p>16 (22)</p></td><td valign=\\"top\\" align=\\"left\\"><p>7 (20)</p></td><td valign=\\"top\\" align=\\"left\\"><p>9 (24)</p></td><td valign=\\"top\\" align=\\"left\\"><p>0.66</p></td></tr><tr><td valign=\\"top\\" align=\\"left\\" scope=\\"row\\" style=\\"border-bottom: solid 0.50pt\\"><p>BMI ≥ 25</p></td><td valign=\\"top\\" align=\\"left\\" style=\\"border-bottom: solid 0.50pt\\"><p>43 (59)</p></td><td valign=\\"top\\" align=\\"left\\" style=\\"border-bottom: solid 0.50pt\\"><p>21 (58)</p></td><td valign=\\"top\\" align=\\"left\\" style=\\"border-bottom: solid 0.50pt\\"><p>22 (60)</p></td><td valign=\\"top\\" align=\\"left\\" style=\\"border-bottom: solid 0.50pt\\"><p>0.92</p></td></tr></tbody></table><table-wrap-foot><p id=\\"p-45\\">Values are expressed as frequencies (%) or as mean ± standard deviations.
Abbreviations: AHM, antihypertensive medication; CLM, cholesterol lowering medication.</p><fn-group id=\\"fn-group-2\\"><fn id=\\"fn-4\\"><p id=\\"p-46\\">Fisher’s exact test. <sup>b</sup> Less than 600 g of fruit and vegetables per day, fish for dinner less than twice per week. <sup>c</sup> More than 7 drinks per week in women/more than 14 drinks per week in men. <sup>d</sup> Less than 30 min of moderate physical activity per day.</p></fn></fn-group></table-wrap-foot></table-wrap><p id=\\"p-47\\">Regarding vascular complications and death, we found 32 events in 22 patients after a median of 65 months. Median time to first event was 26 months (IQR: 4–49) with a median of 44 months (IQR: 11–49) in the intervention group and 19 months (IQR: 4–37) in the control group (<italic>p</italic> = 0.32). All in all, we found 11 events in nine patients in the intervention group: two recurrent strokes, three cases of TIA, and six patients died versus 21 events in 13 patients in the control group: seven recurrent strokes, five cases of TIA, one MI, and seven patients died (<italic>p</italic> = 0.49).</p></sec></sec><sec id=\\"sec-22\\" sec-type=\\"discussion\\"><label>4</label><title>DISCUSSION</title><p id=\\"p-48\\">In this randomized clinical trial, a larger proportion of patients in the intervention group compared to controls had BP within the above-mentioned limits and the study fulfilled the aim of the primary endpoint.</p><p id=\\"p-49\\">A systematic review of interventions aimed at modifiable risk factor control for secondary prevention of stroke revealed improvement in achieving BP target. <xref ref-type=\\"bibr\\" rid=\\"ref-22\\"><sup>22</sup></xref> However, as opposed to our study the review showed no significant change in systolic og diastolic BP.</p><p id=\\"p-50\\">In a study of integrated care with five prearranged visits to patients’ general practitioner versus usual care systolic BP at target set to 140 mm Hg was found in 75% versus 58% at 12-month follow up. <xref ref-type=\\"bibr\\" rid=\\"ref-19\\"><sup>19</sup></xref> We set individual targets for BP according to patients’ type of stroke, comorbidities and age. This is well in line with recommendations given by European Society of Hypertension, <xref ref-type=\\"bibr\\" rid=\\"ref-23\\"><sup>23</sup></xref> but as stated by Boan et al., not quite in accordance with international stroke guidelines. <xref ref-type=\\"bibr\\" rid=\\"ref-24\\"><sup>24</sup></xref></p><p id=\\"p-51\\">In a study where patients with minor stroke were randomized to six clinic visits by a pharmacist (intervention) or by a nurse (active control) aiming at treating both BP and LDL-cholesterol to target, 43% of patients in the pharmacist-led clinic met those two targets and so did 31% in the nurse-led clinic. <xref ref-type=\\"bibr\\" rid=\\"ref-25\\"><sup>25</sup></xref> In our study this combined endpoint was met in 22 (61%) of patients in the intervention group. Regarding BP in control 80% of patients in the pharmacist led clinic had systolic BP in control after six months versus 90% in the nurse led clinic. This is a far greater proportion than the 69% in our study. However, almost two thirds of patients had a baseline BP within the limits. The opposite was the case in our study with two thirds presenting with elevated BP. Both studies show that a dedicated follow up with stepwise escalation of preventive medication may be the way to reach the targets of the two important risk factors for recurrent stroke. In both studies five-six visits were needed, which is far beyond our usual treatment. However, despite visits to the outpatient clinic as well as to the general practitioner the proportion of patients with unchanged medication since discharge in the control group illustrate the necessity of frequent visits to a dedicated preventive facility. Considering the preventive effect of BP lowering, and - though insignificant - the difference in time to first event as well as the smaller proportion of events in the intervention group as found in our study, it may be well worth the time and resources for patients, their relatives and society.</p><sec id=\\"sec-23\\"><label>4.1</label><title>Strengths and limitations</title><p id=\\"p-52\\">Our study has some limitations. Most participants had a minor stroke and patients had to be independent and without severe cognitive deficits, which is not representative of a general stroke population. With only 73 participants caution is called for in the drawing of conclusions from the results. Nonetheless, we decided to reorganize the outpatient clinic of our stroke unit as of October 2014 implementing strategies of the present study.</p><p id=\\"p-53\\">The strength of the study is the individual target for BP taking into account the diagnosis of stroke as well as important comorbidity as recommended by Boan et al. <xref ref-type=\\"bibr\\" rid=\\"ref-24\\"><sup>24</sup></xref> Five-year follow up on vascular complications and death is another important advantage.</p></sec></sec><sec id=\\"sec-24\\" sec-type=\\"conclusions\\"><label>5</label><title>CONCLUSIONS</title><p id=\\"p-54\\">In conclusion, the feasibility study has demonstrated that timely follow up of stroke patients in a dedicated preventive outpatient clinic may result in BP and cholesterol treated to target in most patients. To some extent it may postpone time to stroke recurrence, MI and death.</p></sec></body><back><app-group/><ack><title>ACKNOWLEDGMENTS</title><p id=\\"p-55\\">None.<xref ref-type=\\"bibr\\" rid=\\"ref-21\\"><sup>21</sup></xref></p></ack><sec id=\\"sec-25\\" sec-type=\\"availability\\"><title>DATA AVAILABILITY</title><p id=\\"p-56\\">The data that support the findings of this study are not available due to national privacy or ethical restrictions.</p></sec><fn-group><fn fn-type=\\"con\\"><label>Contributor Information</label><p id=\\"p-57\\">Agnete Hviid Hornnes, Email: agnete.hviid.hornnes@regionh.dk <ext-link ext-link-type=\\"uri\\" xlink:href=\\"https://orcid.org/0000-0003-2217-5904\\">https//orcid.org/0000-0003-2217-5904</ext-link>
Mai Bang Poulsen, Email: mai.bang.poulsen.02@regionh.dk</p><p id=\\"p-58\\">Both authors have made substantial contributions to conception and design and acquisitions and analyses and interpretation of data and have; and been involved in writing the manuscript and given final approval of the version to be published. Both authors have participated sufficiently in the work to take public responsibility for the content; and agree to be accountable for all aspects of the work in ensuring that questions related to the accuracy or integrity of any part of the work are appropriately investigated and resolved.</p></fn></fn-group><ref-list><ref id=\\"ref-1\\"><label>1. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Wahlgren</surname> <given-names>N</given-names></string-name>, <string-name><surname>Ahmed</surname> <given-names>N</given-names></string-name>, <string-name><surname>Eriksson</surname> <given-names>N</given-names></string-name>, et al</person-group>. <article-title>Multivariable analysis of outcome predictors and adjustment</article-title> <source><italic>Stroke</italic></source>. <year>2008</year>;<volume>39</volume>:<fpage>3316</fpage>-<lpage>3322</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1161/STROKEAHA.107.510768</pub-id></mixed-citation></ref><ref id=\\"ref-2\\"><label>2. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Wahlgren</surname> <given-names>N</given-names></string-name></person-group>. <article-title>Systemic thrombolysis in clinical</article-title> <source><italic>Cerebrovascular Diseases (Basel, Switzerland)</italic></source>. <year>2009</year>;<volume>27</volume>:<fpage>168</fpage>-<lpage>176</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1159/000200456</pub-id></mixed-citation></ref><ref id=\\"ref-3\\"><label>3. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Thorvaldsen</surname> <given-names>P</given-names></string-name>, <string-name><surname>Davidsen</surname> <given-names>M</given-names></string-name>, <string-name><surname>Brønnum-Hansen</surname> <given-names>H</given-names></string-name>, <string-name><surname>Schroll</surname> <given-names>M</given-names></string-name></person-group>. <article-title>Stable stroke occurrence despite</article-title> <source><italic>Stroke</italic></source>. <year>1999</year>;<volume>30</volume>:<fpage>2529</fpage>-<lpage>2534</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1161/01.STR.30.12.2529</pub-id></mixed-citation></ref><ref id=\\"ref-4\\"><label>4. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Jørgensen</surname> <given-names>HS</given-names></string-name>, <string-name><surname>Nakayama</surname> <given-names>H</given-names></string-name>, <string-name><surname>Reith</surname> <given-names>J</given-names></string-name>, <string-name><surname>Raaschou</surname> <given-names>HO</given-names></string-name>, <string-name><surname>Olsen</surname> <given-names>TS</given-names></string-name></person-group>. <article-title>Stroke recurrence: Predictors, severity, and prognosis. The</article-title> <source><italic>Neurology</italic></source>. <year>1997</year>;<volume>48</volume>:<fpage>891</fpage>-<lpage>895</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1212/WNL.48.4.891</pub-id></mixed-citation></ref><ref id=\\"ref-5\\"><label>5.</label><mixed-citation specific-use=\\"unstructured-citation\\">Danish Stroke Registry. Danish Stroke
15
+ Registry, annual report 2011. 2011. Ref Type: Generic.</mixed-citation></ref><ref id=\\"ref-6\\"><label>6. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Friday</surname> <given-names>G</given-names></string-name>, <string-name><surname>Alter</surname> <given-names>M</given-names></string-name>, <string-name><surname>Lai</surname> <given-names>SM</given-names></string-name></person-group>. <article-title>Control of hypertension and risk of stroke</article-title> <source><italic>Stroke</italic></source>. <year>2002</year>;<volume>33</volume>:<fpage>2652</fpage>-<lpage>2657</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1161/01.STR.0000033929.62136.6F</pub-id></mixed-citation></ref><ref id=\\"ref-7\\"><label>7. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Lai</surname> <given-names>SM</given-names></string-name>, <string-name><surname>Alter</surname> <given-names>M</given-names></string-name>, <string-name><surname>Friday</surname> <given-names>G</given-names></string-name>, <string-name><surname>Sobel</surname> <given-names>E</given-names></string-name></person-group>. <article-title>A multifactorial analysis of risk</article-title> <source><italic>Stroke</italic></source>. <year>1994</year>;<volume>25</volume>:<fpage>958</fpage>-<lpage>962</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1161/01.STR.25.5.958</pub-id></mixed-citation></ref><ref id=\\"ref-8\\"><label>8. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Prencipe</surname> <given-names>M</given-names></string-name>, <string-name><surname>Culasso</surname> <given-names>F</given-names></string-name>, <string-name><surname>Rasura</surname> <given-names>M</given-names></string-name>, et al</person-group>. <article-title>Long-term prognosis after a minor</article-title> <source><italic>Stroke</italic></source>. <year>1998</year>;<volume>29</volume>:<fpage>126</fpage>-<lpage>132</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1161/01.STR.29.1.126</pub-id></mixed-citation></ref><ref id=\\"ref-9\\"><label>9. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Rashid</surname> <given-names>P</given-names></string-name>, <string-name><surname>Leonardi-Bee</surname> <given-names>J</given-names></string-name>, <string-name><surname>Bath</surname> <given-names>P</given-names></string-name></person-group>. <article-title>Blood pressure reduction and secondary</article-title> <source><italic>Stroke</italic></source>. <year>2003</year>;<volume>34</volume>:<fpage>2741</fpage>-<lpage>2748</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1161/01.STR.0000092488.40085.15</pub-id></mixed-citation></ref><ref id=\\"ref-10\\"><label>10. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Girot</surname> <given-names>M</given-names></string-name>, <string-name><surname>Mackowiak-Cordoliani</surname> <given-names>MA</given-names></string-name>, <string-name><surname>Deplanque</surname> <given-names>D</given-names></string-name>, <string-name><surname>Hénon</surname> <given-names>H</given-names></string-name>, <string-name><surname>Lucas</surname> <given-names>C</given-names></string-name>, <string-name><surname>Leys</surname> <given-names>D</given-names></string-name></person-group>. <article-title>Secondary prevention after ischemic</article-title> <source><italic>Journal of Neurology</italic></source>. <year>2005</year>;<volume>252</volume>:<fpage>14</fpage>-<lpage>20</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1007/s00415-005-0591-8</pub-id></mixed-citation></ref><ref id=\\"ref-11\\"><label>11. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Johnson</surname> <given-names>P</given-names></string-name>, <string-name><surname>Rosewell</surname> <given-names>M</given-names></string-name>, <string-name><surname>James</surname> <given-names>MA</given-names></string-name></person-group>. <article-title>How good is the management of vascular risk after stroke</article-title>, <source><italic>Cerebrovascular Diseases (Basel, Switzerland)</italic></source>. <year>2007</year>;<volume>23</volume>:<fpage>156</fpage>-<lpage>161</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1159/000097053</pub-id></mixed-citation></ref><ref id=\\"ref-12\\"><label>12. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Paul</surname> <given-names>SL</given-names></string-name>, <string-name><surname>Thrift</surname> <given-names>AG</given-names></string-name></person-group>. <article-title>Control of hypertension 5 years after stroke in the North</article-title> <source><italic>Hypertension</italic></source>. <year>2006</year>;<volume>48</volume>:<fpage>260</fpage>-<lpage>265</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1161/01.HYP.0000230610.81947.04</pub-id></mixed-citation></ref><ref id=\\"ref-13\\"><label>13. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Hornnes</surname> <given-names>N</given-names></string-name>, <string-name><surname>Larsen</surname> <given-names>K</given-names></string-name>, <string-name><surname>Boysen</surname> <given-names>G</given-names></string-name></person-group>. <article-title>Little change of modifiable risk factors</article-title> <source><italic>International Journal of Stroke</italic></source>. <year>2010</year>;<volume>5</volume>:<fpage>157</fpage>-<lpage>162</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1111/j.1747-4949.2010.00424.x</pub-id></mixed-citation></ref><ref id=\\"ref-14\\"><label>14. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Adie</surname> <given-names>K</given-names></string-name>, <string-name><surname>James</surname> <given-names>MA</given-names></string-name></person-group>. <article-title>Does telephone follow-up improve blood pressure after minor</article-title> <source><italic>Age and Ageing</italic></source>. <year>2010</year>;<volume>39</volume>:<fpage>598</fpage>-<lpage>603</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1093/ageing/afq085</pub-id></mixed-citation></ref><ref id=\\"ref-15\\"><label>15. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Chiu</surname> <given-names>CC</given-names></string-name>, <string-name><surname>Wu</surname> <given-names>SS</given-names></string-name>, <string-name><surname>Lee</surname> <given-names>PY</given-names></string-name>, <string-name><surname>Huang</surname> <given-names>YC</given-names></string-name>, <string-name><surname>Tan</surname> <given-names>TY</given-names></string-name>, <string-name><surname>Chang</surname> <given-names>KC</given-names></string-name></person-group>. <article-title>Control of modifiable risk factors in ischemic stroke</article-title> <source><italic>Journal of Clinical Pharmacy and Therapeutics</italic></source>. <year>2008</year>;<volume>33</volume>:<fpage>529</fpage>-<lpage>535</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1111/j.1365-2710.2008.00940.x</pub-id></mixed-citation></ref><ref id=\\"ref-16\\"><label>16. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Ellis</surname> <given-names>G</given-names></string-name>, <string-name><surname>Rodger</surname> <given-names>J</given-names></string-name>, <string-name><surname>McAlpine</surname> <given-names>C</given-names></string-name>, <string-name><surname>Langhorne</surname> <given-names>P</given-names></string-name></person-group>. <article-title>The impact of stroke nurse specialist</article-title> <source><italic>Age and Ageing</italic></source>. <year>2005</year>;<volume>34</volume>:<fpage>389</fpage>-<lpage>392</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1093/ageing/afi075</pub-id></mixed-citation></ref><ref id=\\"ref-17\\"><label>17. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Hornnes</surname> <given-names>N</given-names></string-name>, <string-name><surname>Larsen</surname> <given-names>K</given-names></string-name>, <string-name><surname>Boysen</surname> <given-names>G</given-names></string-name></person-group>. <article-title>Blood pressure 1 year after stroke: The</article-title> <source><italic>Journal of Stroke and Cerebrovascular Diseases</italic></source>. <year>2011</year>;<volume>20</volume>:<fpage>16</fpage>-<lpage>23</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1016/j.jstrokecerebrovasdis.2009.10.002</pub-id></mixed-citation></ref><ref id=\\"ref-18\\"><label>18. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Johnston</surname> <given-names>SC</given-names></string-name>, <string-name><surname>Sidney</surname> <given-names>S</given-names></string-name>, <string-name><surname>Hills</surname> <given-names>NK</given-names></string-name>, et al</person-group>. <article-title>Standardized discharge orders after</article-title> <source><italic>Annals of Neurology</italic></source>. <year>2010</year>;<volume>67</volume>:<fpage>579</fpage>-<lpage>589</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1002/ana.22019</pub-id></mixed-citation></ref><ref id=\\"ref-19\\"><label>19. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Joubert</surname> <given-names>J</given-names></string-name>, <string-name><surname>Reid</surname> <given-names>C</given-names></string-name>, <string-name><surname>Barton</surname> <given-names>D</given-names></string-name>, et al</person-group>. <article-title>Integrated care improves risk-factor</article-title> <source><italic>Journal of Neurology, Neurosurgery, and Psychiatry</italic></source>. <year>2009</year>;<volume>80</volume>:<fpage>279</fpage>-<lpage>284</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1136/jnnp.2008.148122</pub-id></mixed-citation></ref><ref id=\\"ref-20\\"><label>20. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Fahey</surname> <given-names>T</given-names></string-name>, <string-name><surname>Schroeder</surname> <given-names>K</given-names></string-name>, <string-name><surname>Ebrahim</surname> <given-names>S</given-names></string-name></person-group>. <article-title>Interventions used to improve control of</article-title> <source><italic>Cochrane Database of Systematic Reviews</italic></source>. <year>2006</year>.</mixed-citation></ref><ref id=\\"ref-21\\"><label>21. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Furie</surname> <given-names>KL</given-names></string-name>, <string-name><surname>Kasner</surname> <given-names>SE</given-names></string-name>, <string-name><surname>Adams</surname> <given-names>RJ</given-names></string-name>, et al</person-group>. <article-title>Guidelines for the prevention of stroke</article-title> <source><italic>Stroke</italic></source>. <year>2011</year>;<volume>42</volume>:<fpage>227</fpage>-<lpage>276</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1161/STR.0b013e3181f7d043</pub-id></mixed-citation></ref><ref id=\\"ref-22\\"><label>22. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Bridgwood</surname> <given-names>B</given-names></string-name>, <string-name><surname>Lager</surname> <given-names>KE</given-names></string-name>, <string-name><surname>Mistri</surname> <given-names>AK</given-names></string-name>, <string-name><surname>Khunti</surname> <given-names>K</given-names></string-name>, <string-name><surname>Wilson</surname> <given-names>AD</given-names></string-name>, <string-name><surname>Modi</surname> <given-names>P</given-names></string-name></person-group>. <article-title>Interventions for improving modifiable</article-title> <source><italic>Cochrane Database of Systematic Reviews</italic></source>. <year>2018</year>;<volume>5</volume>.</mixed-citation></ref><ref id=\\"ref-23\\"><label>23. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Mancia</surname> <given-names>G</given-names></string-name>, <string-name><surname>Fagard</surname> <given-names>R</given-names></string-name>, <string-name><surname>Narkiewicz</surname> <given-names>K</given-names></string-name>, et al</person-group>. <article-title>2013 Practice guidelines for the management of arterial</article-title> <source><italic>Journal of Hypertension</italic></source>. <year>2013</year>;<volume>31</volume>:<fpage>1925</fpage>-<lpage>1938</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1097/HJH.0b013e328364ca4c</pub-id></mixed-citation></ref><ref id=\\"ref-24\\"><label>24. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Boan</surname> <given-names>AD</given-names></string-name>, <string-name><surname>Lackland</surname> <given-names>DT</given-names></string-name>, <string-name><surname>Ovbiagele</surname> <given-names>B</given-names></string-name></person-group>. <article-title>Lowering of blood pressure for recurrent</article-title> <source><italic>Stroke</italic></source>. <year>2014</year>;<volume>45</volume>:<fpage>2506</fpage>-<lpage>2513</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1161/STROKEAHA.114.003666</pub-id></mixed-citation></ref><ref id=\\"ref-25\\"><label>25. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>McAlister</surname> <given-names>FA</given-names></string-name>, <string-name><surname>Majumdar</surname> <given-names>SR</given-names></string-name>, <string-name><surname>Padwal</surname> <given-names>RS</given-names></string-name>, et al</person-group>. <article-title>Case management for blood pressure and</article-title> <source><italic>Canadian Medical Association Journal</italic></source>. <year>2014</year>;<volume>186</volume>:<fpage>577</fpage>-<lpage>584</lpage>. doi:<pub-id pub-id-type=\\"doi\\">https://doi.org/10.1503/cmaj.140053</pub-id></mixed-citation></ref></ref-list></back><floats-group><graphic xlink:href=\\"fig1.png\\" content-type=\\"leading\\"><alt-text>example of alt text for hero-image</alt-text><long-desc>example of long desc for hero image</long-desc></graphic></floats-group></article>"
16
+ `;
17
+
18
+ exports[`JATS roundtrip > jats-roundtrip.xml roundtrip 1`] = `"<!DOCTYPE article PUBLIC \\"-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD with OASIS Tables with MathML3 v1.2 20190208//EN\\" \\"http://jats.nlm.nih.gov/archiving/1.2/JATS-archive-oasis-article1-mathml3.dtd\\"><article xmlns:xlink=\\"http://www.w3.org/1999/xlink\\" article-type=\\"research-article\\" xml:lang=\\"en\\"><front><article-meta><title-group><article-title>A complete manuscript</article-title></title-group><contrib-group content-type=\\"authors\\"><contrib contrib-type=\\"author\\" id=\\"contrib-1\\"><name><surname>Macintosh</surname><given-names>Alfred</given-names></name><email>flinserl@hotmail.com</email></contrib><contrib contrib-type=\\"author\\" id=\\"contrib-2\\" corresp=\\"yes\\"><name><surname>Adam</surname><given-names>Rein</given-names></name><email>rein.brys@inbo.be</email></contrib></contrib-group><author-notes><p id=\\"p-1\\">rana nofal testing</p></author-notes><counts><fig-count count=\\"2\\"/><ref-count count=\\"2\\"/><word-count count=\\"107\\"/></counts></article-meta></front><body><sec id=\\"sec-1\\"><title>Figures</title><fig id=\\"fig-1\\" fig-type=\\"half-left\\"><label>Figure 1</label><caption><p>Test1</p><p>Test2</p></caption><p id=\\"p-2\\">A paragraph</p><graphic xlink:href=\\"graphic/111111.jpeg\\"/><graphic specific-use=\\"MISSING\\" xlink:href=\\"\\"/><graphic xlink:href=\\"graphic/333333.jpeg\\"/><attrib>Source: Wikipedia.</attrib></fig></sec></body><back><app-group/><fn-group><fn fn-type=\\"con\\"><label>Author contributions</label><p id=\\"p-3\\">JM and AB wrote the manuscript. All co-authors provided comments and helped revising the manuscript.</p></fn><fn fn-type=\\"financial-disclosure\\"><label>FUNDING INFORMATION</label><p id=\\"p-4\\">This work was supported by the National Natural Science Foundation of China (81771439), Jiangsu Provincial Key <xref ref-type=\\"bibr\\" rid=\\"ref-1\\"><sup>1</sup></xref>Research and Development Program (BE2020661 and BE2018662), Jiangsu Provincial Health Commission Science Research Program (QNRC2016228, H2019056 and LGY2018010), Jiangsu Provincial Six Talent Peaks Project (WSN-165), Suzhou Municipal Health Commission Science Research Program (SZYJTD201715, LCZX201820, Kjxw2018048 and Gwzx201801), Suzhou Municipal Sci-Tech Bureau Program (SZS201722, SS201706, SYS2019113 and SS2019009), and CAS Key Laboratory of Mental Health, Institute of Psychology (KLMH2019K03).</p></fn></fn-group><ref-list><ref id=\\"ref-1\\"><label>1. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Caldwell</surname> <given-names>CB</given-names></string-name>, <string-name><surname>Gottesman</surname> <given-names>II</given-names></string-name></person-group>. <article-title>Schizophrenia-a high-risk factor for suicide: clues to risk reduction</article-title>. <source><italic>Suicide Life Threat Behav</italic></source>. <year>1992</year>;<volume>22</volume><issue>(4)</issue>:<fpage>479</fpage>-<lpage>493</lpage>.</mixed-citation></ref></ref-list></back></article>"`;
@@ -0,0 +1,25 @@
1
+ /*!
2
+ * © 2024 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ export const en =
18
+ '<?xml version="1.0" encoding="utf-8"?><locale xmlns="http://purl.org/net/xbiblio/csl" version="1.0" xml:lang="en-US"><info><translator><name>Andrew Dunning</name></translator><translator><name>Sebastian Karcher</name></translator><translator><name>Rintze M. Zelle</name></translator><translator><name>Denis Meier</name></translator><translator><name>Brenton M. Wiernik</name></translator><rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights><updated>2015-10-10T23:31:02+00:00</updated></info><style-options punctuation-in-quote="true"/><date form="text"><date-part name="month" suffix=" "/><date-part name="day" suffix=", "/><date-part name="year"/></date><date form="numeric"><date-part name="month" form="numeric-leading-zeros" suffix="/"/><date-part name="day" form="numeric-leading-zeros" suffix="/"/><date-part name="year"/></date><terms><term name="advance-online-publication">advance online publication</term><term name="album">album</term><term name="audio-recording">audio recording</term><term name="film">film</term><term name="henceforth">henceforth</term><term name="loc-cit">loc. cit.</term><!-- like ibid., the abbreviated form is the regular form --><term name="no-place">no place</term><term name="no-place" form="short">n.p.</term><term name="no-publisher">no publisher</term><!-- sine nomine --><term name="no-publisher" form="short">n.p.</term><term name="on">on</term><term name="op-cit">op. cit.</term><!-- like ibid., the abbreviated form is the regular form --><term name="original-work-published">original work published</term><term name="personal-communication">personal communication</term><term name="podcast">podcast</term><term name="podcast-episode">podcast episode</term><term name="preprint">preprint</term><term name="radio-broadcast">radio broadcast</term><term name="radio-series">radio series</term><term name="radio-series-episode">radio series episode</term><term name="special-issue">special issue</term><term name="special-section">special section</term><term name="television-broadcast">television broadcast</term><term name="television-series">television series</term><term name="television-series-episode">television series episode</term><term name="video">video</term><term name="working-paper">working paper</term><term name="accessed">accessed</term><term name="and">and</term><term name="and others">and others</term><term name="anonymous">anonymous</term><term name="anonymous" form="short">anon.</term><term name="at">at</term><term name="available at">available at</term><term name="by">by</term><term name="circa">circa</term><term name="circa" form="short">c.</term><term name="cited">cited</term><term name="edition"><single>edition</single><multiple>editions</multiple></term><term name="edition" form="short">ed.</term><term name="et-al">et al.</term><term name="forthcoming">forthcoming</term><term name="from">from</term><term name="ibid">ibid.</term><term name="in">in</term><term name="in press">in press</term><term name="internet">internet</term><term name="letter">letter</term><term name="no date">no date</term><term name="no date" form="short">n.d.</term><term name="online">online</term><term name="presented at">presented at the</term><term name="reference"><single>reference</single><multiple>references</multiple></term><term name="reference" form="short"><single>ref.</single><multiple>refs.</multiple></term><term name="retrieved">retrieved</term><term name="scale">scale</term><term name="version">version</term><!-- LONG ITEM TYPE FORMS --><term name="article">preprint</term><term name="article-journal">journal article</term><term name="article-magazine">magazine article</term><term name="article-newspaper">newspaper article</term><term name="bill">bill</term><!-- book is in the list of locator terms --><term name="broadcast">broadcast</term><!-- chapter is in the list of locator terms --><term name="classic">classic</term><term name="collection">collection</term><term name="dataset">dataset</term><term name="document">document</term><term name="entry">entry</term><term name="entry-dictionary">dictionary entry</term><term name="entry-encyclopedia">encyclopedia entry</term><term name="event">event</term><!-- figure is in the list of locator terms --><term name="graphic">graphic</term><term name="hearing">hearing</term><term name="interview">interview</term><term name="legal_case">legal case</term><term name="legislation">legislation</term><term name="manuscript">manuscript</term><term name="map">map</term><term name="motion_picture">video recording</term><term name="musical_score">musical score</term><term name="pamphlet">pamphlet</term><term name="paper-conference">conference paper</term><term name="patent">patent</term><term name="performance">performance</term><term name="periodical">periodical</term><term name="personal_communication">personal communication</term><term name="post">post</term><term name="post-weblog">blog post</term><term name="regulation">regulation</term><term name="report">report</term><term name="review">review</term><term name="review-book">book review</term><term name="software">software</term><term name="song">audio recording</term><term name="speech">presentation</term><term name="standard">standard</term><term name="thesis">thesis</term><term name="treaty">treaty</term><term name="webpage">webpage</term><!-- SHORT ITEM TYPE FORMS --><term name="article-journal" form="short">journal art.</term><term name="article-magazine" form="short">mag. art.</term><term name="article-newspaper" form="short">newspaper art.</term><!-- book is in the list of locator terms --><!-- chapter is in the list of locator terms --><term name="document" form="short">doc.</term><!-- figure is in the list of locator terms --><term name="graphic" form="short">graph.</term><term name="interview" form="short">interv.</term><term name="manuscript" form="short">MS</term><term name="motion_picture" form="short">video rec.</term><term name="report" form="short">rep.</term><term name="review" form="short">rev.</term><term name="review-book" form="short">bk. rev.</term><term name="song" form="short">audio rec.</term><!-- HISTORICAL ERA TERMS --><term name="ad">AD</term><term name="bc">BC</term><term name="bce">BCE</term><term name="ce">CE</term><!-- PUNCTUATION --><term name="open-quote">“</term><term name="close-quote">”</term><term name="open-inner-quote">‘</term><term name="close-inner-quote">’</term><term name="page-range-delimiter">–</term><term name="colon">:</term><term name="comma">,</term><term name="semicolon">;</term><!-- ORDINALS --><term name="ordinal">th</term><term name="ordinal-01">st</term><term name="ordinal-02">nd</term><term name="ordinal-03">rd</term><term name="ordinal-11">th</term><term name="ordinal-12">th</term><term name="ordinal-13">th</term><!-- LONG ORDINALS --><term name="long-ordinal-01">first</term><term name="long-ordinal-02">second</term><term name="long-ordinal-03">third</term><term name="long-ordinal-04">fourth</term><term name="long-ordinal-05">fifth</term><term name="long-ordinal-06">sixth</term><term name="long-ordinal-07">seventh</term><term name="long-ordinal-08">eighth</term><term name="long-ordinal-09">ninth</term><term name="long-ordinal-10">tenth</term><!-- LONG LOCATOR FORMS --><term name="act"><single>act</single><multiple>acts</multiple></term><term name="appendix"><single>appendix</single><multiple>appendices</multiple></term><term name="article-locator"><single>article</single><multiple>articles</multiple></term><term name="canon"><single>canon</single><multiple>canons</multiple></term><term name="elocation"><single>location</single><multiple>locations</multiple></term><term name="equation"><single>equation</single><multiple>equations</multiple></term><term name="rule"><single>rule</single><multiple>rules</multiple></term><term name="scene"><single>scene</single><multiple>scenes</multiple></term><term name="table"><single>table</single><multiple>tables</multiple></term><term name="utils"><!-- generally blank --><single></single><multiple></multiple></term><term name="title-locator"><single>title</single><multiple>titles</multiple></term><term name="book"><single>book</single><multiple>books</multiple></term><term name="chapter"><single>chapter</single><multiple>chapters</multiple></term><term name="column"><single>column</single><multiple>columns</multiple></term><term name="figure"><single>figure</single><multiple>figures</multiple></term><term name="folio"><single>folio</single><multiple>folios</multiple></term><term name="issue"><single>number</single><multiple>numbers</multiple></term><term name="line"><single>line</single><multiple>lines</multiple></term><term name="note"><single>note</single><multiple>notes</multiple></term><term name="opus"><single>opus</single><multiple>opera</multiple></term><term name="page"><single>page</single><multiple>pages</multiple></term><term name="number-of-pages"><single>page</single><multiple>pages</multiple></term><term name="paragraph"><single>paragraph</single><multiple>paragraphs</multiple></term><term name="part"><single>part</single><multiple>parts</multiple></term><term name="section"><single>section</single><multiple>sections</multiple></term><term name="sub-verbo"><single>sub verbo</single><multiple>sub verbis</multiple></term><term name="verse"><single>verse</single><multiple>verses</multiple></term><term name="volume"><single>volume</single><multiple>volumes</multiple></term><!-- SHORT LOCATOR FORMS --><term name="appendix" form="short"><single>app.</single><multiple>apps.</multiple></term><term name="article-locator" form="short"><single>art.</single><multiple>arts.</multiple></term><term name="elocation" form="short"><single>loc.</single><multiple>locs.</multiple></term><term name="equation" form="short"><single>eq.</single><multiple>eqs.</multiple></term><term name="rule" form="short"><single>r.</single><multiple>rr.</multiple></term><term name="scene" form="short"><single>sc.</single><multiple>scs.</multiple></term><term name="table" form="short"><single>tbl.</single><multiple>tbls.</multiple></term><term name="utils" form="short"><!-- generally blank --><single></single><multiple></multiple></term><term name="title-locator" form="short"><single>tit.</single><multiple>tits.</multiple></term><term name="book" form="short"><single>bk.</single><multiple>bks.</multiple></term><term name="chapter" form="short"><single>chap.</single><multiple>chaps.</multiple></term><term name="column" form="short"><single>col.</single><multiple>cols.</multiple></term><term name="figure" form="short"><single>fig.</single><multiple>figs.</multiple></term><term name="folio" form="short"><single>fol.</single><multiple>fols.</multiple></term><term name="issue" form="short"><single>no.</single><multiple>nos.</multiple></term><term name="line" form="short"><single>l.</single><multiple>ll.</multiple></term><term name="note" form="short"><single>n.</single><multiple>nn.</multiple></term><term name="opus" form="short"><single>op.</single><multiple>opp.</multiple></term><term name="page" form="short"><single>p.</single><multiple>pp.</multiple></term><term name="number-of-pages" form="short"><single>p.</single><multiple>pp.</multiple></term><term name="paragraph" form="short"><single>para.</single><multiple>paras.</multiple></term><term name="part" form="short"><single>pt.</single><multiple>pts.</multiple></term><term name="section" form="short"><single>sec.</single><multiple>secs.</multiple></term><term name="sub-verbo" form="short"><single>s.v.</single><multiple>s.vv.</multiple></term><term name="verse" form="short"><single>v.</single><multiple>vv.</multiple></term><term name="volume" form="short"><single>vol.</single><multiple>vols.</multiple></term><!-- SYMBOL LOCATOR FORMS --><term name="paragraph" form="symbol"><single>¶</single><multiple>¶¶</multiple></term><term name="section" form="symbol"><single>§</single><multiple>§§</multiple></term><!-- LONG ROLE FORMS --><term name="chair"><single>chair</single><multiple>chairs</multiple></term><term name="compiler"><single>compiler</single><multiple>compilers</multiple></term><term name="contributor"><single>contributor</single><multiple>contributors</multiple></term><term name="curator"><single>curator</single><multiple>curators</multiple></term><term name="executive-producer"><single>executive producer</single><multiple>executive producers</multiple></term><term name="guest"><single>guest</single><multiple>guests</multiple></term><term name="host"><single>host</single><multiple>hosts</multiple></term><term name="narrator"><single>narrator</single><multiple>narrators</multiple></term><term name="organizer"><single>organizer</single><multiple>organizers</multiple></term><term name="performer"><single>performer</single><multiple>performers</multiple></term><term name="producer"><single>producer</single><multiple>producers</multiple></term><term name="script-writer"><single>writer</single><multiple>writers</multiple></term><term name="series-creator"><single>series creator</single><multiple>series creators</multiple></term><term name="director"><single>director</single><multiple>directors</multiple></term><term name="editor"><single>editor</single><multiple>editors</multiple></term><term name="editorial-director"><single>editor</single><multiple>editors</multiple></term><term name="illustrator"><single>illustrator</single><multiple>illustrators</multiple></term><term name="translator"><single>translator</single><multiple>translators</multiple></term><term name="editortranslator"><single>editor &amp; translator</single><multiple>editors &amp; translators</multiple></term><!-- SHORT ROLE FORMS --><term name="compiler" form="short"><single>comp.</single><multiple>comps.</multiple></term><term name="contributor" form="short"><single>contrib.</single><multiple>contribs.</multiple></term><term name="curator" form="short"><single>cur.</single><multiple>curs.</multiple></term><term name="executive-producer" form="short"><single>exec. prod.</single><multiple>exec. prods.</multiple></term><term name="narrator" form="short"><single>narr.</single><multiple>narrs.</multiple></term><term name="organizer" form="short"><single>org.</single><multiple>orgs.</multiple></term><term name="performer" form="short"><single>perf.</single><multiple>perfs.</multiple></term><term name="producer" form="short"><single>prod.</single><multiple>prods.</multiple></term><term name="script-writer" form="short"><single>writ.</single><multiple>writs.</multiple></term><term name="series-creator" form="short"><single>cre.</single><multiple>cres.</multiple></term><term name="director" form="short"><single>dir.</single><multiple>dirs.</multiple></term><term name="editor" form="short"><single>ed.</single><multiple>eds.</multiple></term><term name="editorial-director" form="short"><single>ed.</single><multiple>eds.</multiple></term><term name="illustrator" form="short"><single>ill.</single><multiple>ills.</multiple></term><term name="translator" form="short"><single>tran.</single><multiple>trans.</multiple></term><term name="editortranslator" form="short"><single>ed. &amp; tran.</single><multiple>eds. &amp; trans.</multiple></term><!-- VERB ROLE FORMS --><term name="chair" form="verb">chaired by</term><term name="compiler" form="verb">compiled by</term><term name="contributor" form="verb">with</term><term name="curator" form="verb">curated by</term><term name="executive-producer" form="verb">executive produced by</term><term name="guest" form="verb">with guest</term><term name="host" form="verb">hosted by</term><term name="narrator" form="verb">narrated by</term><term name="organizer" form="verb">organized by</term><term name="performer" form="verb">performed by</term><term name="producer" form="verb">produced by</term><term name="script-writer" form="verb">written by</term><term name="series-creator" form="verb">created by</term><term name="container-author" form="verb">by</term><term name="director" form="verb">directed by</term><term name="editor" form="verb">edited by</term><term name="editorial-director" form="verb">edited by</term><term name="illustrator" form="verb">illustrated by</term><term name="interviewer" form="verb">interview by</term><term name="recipient" form="verb">to</term><term name="reviewed-author" form="verb">by</term><term name="translator" form="verb">translated by</term><term name="editortranslator" form="verb">edited &amp; translated by</term><!-- SHORT VERB ROLE FORMS --><term name="compiler" form="verb-short">comp. by</term><term name="contributor" form="verb-short">w.</term><term name="curator" form="verb-short">cur. by</term><term name="executive-producer" form="verb-short">exec. prod. by</term><term name="guest" form="verb-short">w. guest</term><term name="host" form="verb-short">hosted by</term><term name="narrator" form="verb-short">narr. by</term><term name="organizer" form="verb-short">org. by</term><term name="performer" form="verb-short">perf. by</term><term name="producer" form="verb-short">prod. by</term><term name="script-writer" form="verb-short">writ. by</term><term name="series-creator" form="verb-short">cre. by</term><term name="director" form="verb-short">dir. by</term><term name="editor" form="verb-short">ed. by</term><term name="editorial-director" form="verb-short">ed. by</term><term name="illustrator" form="verb-short">illus. by</term><term name="translator" form="verb-short">trans. by</term><term name="editortranslator" form="verb-short">ed. &amp; trans. by</term><!-- LONG MONTH FORMS --><term name="month-01">January</term><term name="month-02">February</term><term name="month-03">March</term><term name="month-04">April</term><term name="month-05">May</term><term name="month-06">June</term><term name="month-07">July</term><term name="month-08">August</term><term name="month-09">September</term><term name="month-10">October</term><term name="month-11">November</term><term name="month-12">December</term><!-- SHORT MONTH FORMS --><term name="month-01" form="short">Jan.</term><term name="month-02" form="short">Feb.</term><term name="month-03" form="short">Mar.</term><term name="month-04" form="short">Apr.</term><term name="month-05" form="short">May</term><term name="month-06" form="short">Jun.</term><term name="month-07" form="short">Jul.</term><term name="month-08" form="short">Aug.</term><term name="month-09" form="short">Sep.</term><term name="month-10" form="short">Oct.</term><term name="month-11" form="short">Nov.</term><term name="month-12" form="short">Dec.</term><!-- SEASONS --><term name="season-01">Spring</term><term name="season-02">Summer</term><term name="season-03">Autumn</term><term name="season-04">Winter</term></terms></locale>'
19
+
20
+ export const ama = `<?xml version="1.0" encoding="utf-8"?><style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US" page-range-format="expanded"> <info> <title>American Medical Association</title> <title-short>AMA</title-short> <id>http://www.zotero.org/styles/american-medical-association</id> <link href="http://www.zotero.org/styles/american-medical-association" rel="self"/> <link href="https://westlibrary.txwes.edu/sites/default/files/pdf/AMACitationStyle.pdf" rel="documentation"/> <author> <name>Julian Onions</name> <email>julian.onions@gmail.com</email> </author> <contributor> <name>Christian Pietsch</name> <uri>http://purl.org/net/pietsch</uri> </contributor> <contributor> <name>Daniel W Chan</name> <email>danwchan@protonmail.com</email> </contributor> <category citation-format="numeric"/> <category field="medicine"/> <summary>The American Medical Association style as used in JAMA.</summary> <updated>2019-03-07T04:35:47+00:00</updated> <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights> </info> <locale xml:lang="en"> <terms> <term name="page-range-delimiter">-</term> </terms> </locale> <macro name="editor"> <names variable="editor"> <name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/> <label form="short" prefix=", "/> </names> </macro> <macro name="author"> <group suffix="."> <names variable="author"> <name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/> <label form="short" prefix=", "/> <substitute> <names variable="editor"/> <text macro="title"/> </substitute> </names> </group> </macro> <macro name="access"> <choose> <if type="article-newspaper" match="none"> <choose> <if variable="DOI"> <text value="doi:"/> <text variable="DOI"/> </if> <else-if variable="URL"> <group delimiter=". " suffix="."> <text variable="URL"/> <choose> <if type="webpage"> <date variable="issued" prefix="Published " form="text"/> </if> </choose> <group> <text term="accessed" text-case="capitalize-first" suffix=" "/> <date variable="accessed"> <date-part name="month" suffix=" "/> <date-part name="day" suffix=", "/> <date-part name="year"/> </date> </group> </group> </else-if> </choose> </if> </choose> </macro> <macro name="title"> <choose> <if type="bill book graphic legal_case legislation motion_picture report song" match="any"> <text variable="title" font-style="italic" text-case="title"/> </if> <else> <text variable="title"/> </else> </choose> </macro> <macro name="publisher"> <group delimiter=": "> <text variable="publisher-place"/> <text variable="publisher"/> </group> </macro> <macro name="edition"> <choose> <if is-numeric="edition"> <group delimiter=" "> <number variable="edition" form="ordinal"/> <text term="edition" form="short"/> </group> </if> <else> <text variable="edition" suffix="."/> </else> </choose> </macro> <citation collapse="citation-number"> <sort> <key variable="citation-number"/> </sort> <layout delimiter="," vertical-align="sup"> <text variable="citation-number"/> <group prefix="(" suffix=")"> <label variable="locator" form="short" strip-periods="true"/> <text variable="locator"/> </group> </layout> </citation> <bibliography hanging-indent="false" et-al-min="7" et-al-use-first="3" second-field-align="flush"> <layout> <text variable="citation-number" suffix=". "/> <text macro="author"/> <text macro="title" prefix=" " suffix="."/> <choose> <if type="bill book graphic legislation motion_picture report song" match="any"> <group suffix="." prefix=" " delimiter=" "> <group delimiter=" "> <text term="volume" form="short" text-case="capitalize-first" strip-periods="true"/> <text variable="volume" suffix="."/> </group> <text macro="edition"/> <text macro="editor" prefix="(" suffix=")"/> </group> <text macro="publisher" prefix=" "/> <group suffix="." prefix="; "> <date variable="issued"> <date-part name="year"/> </date> <text variable="page" prefix=":"/> </group> </if> <else-if type="chapter paper-conference entry-dictionary entry-encyclopedia" match="any"> <group prefix=" " delimiter=" "> <text term="in" text-case="capitalize-first" suffix=":"/> <text macro="editor"/> <text variable="container-title" font-style="italic" suffix="." text-case="title"/> <group delimiter=" "> <text term="volume" form="short" text-case="capitalize-first" strip-periods="true"/> <text variable="volume" suffix="."/> </group> <text macro="edition"/> <text variable="collection-title" suffix="."/> <group suffix="."> <text macro="publisher"/> <group suffix="." prefix="; "> <date variable="issued"> <date-part name="year"/> </date> <text variable="page" prefix=":"/> </group> </group> </group> </else-if> <else-if type="article-newspaper"> <text variable="container-title" font-style="italic" prefix=" " suffix=". "/> <choose> <if variable="URL"> <group delimiter=". " suffix="."> <text variable="URL"/> <group prefix="Published "> <date variable="issued"> <date-part name="month" suffix=" "/> <date-part name="day" suffix=", "/> <date-part name="year"/> </date> </group> <group> <text term="accessed" text-case="capitalize-first" suffix=" "/> <date variable="accessed"> <date-part name="month" suffix=" "/> <date-part name="day" suffix=", "/> <date-part name="year"/> </date> </group> </group> </if> <else> <group delimiter=":" suffix="."> <group> <date variable="issued"> <date-part name="month" suffix=" "/> <date-part name="day" suffix=", "/> <date-part name="year"/> </date> </group> <text variable="page"/> </group> </else> </choose> </else-if> <else-if type="legal_case"> <group suffix="," prefix=" " delimiter=" "> <text macro="editor" prefix="(" suffix=")"/> </group> <group prefix=" " delimiter=" "> <text variable="container-title"/> <text variable="volume"/> </group> <text variable="page" prefix=", " suffix=" "/> <group prefix="(" suffix=")." delimiter=" "> <text variable="authority"/> <date variable="issued"> <date-part name="year"/> </date> </group> </else-if> <else-if type="webpage"> <text variable="container-title" prefix=" " suffix="."/> </else-if> <else-if type="speech"> <group prefix=" " suffix=":"> <choose> <if variable="genre"> <text variable="genre" suffix=" "/> <text term="presented at"/> </if> <else> <text term="presented at" text-case="capitalize-first"/> </else> </choose> </group> <group delimiter="; " prefix=" " suffix="."> <text variable="event"/> <group> <date delimiter=" " variable="issued"> <date-part name="month"/> <date-part name="day" suffix=","/> <date-part name="year"/> </date> </group> <text variable="event-place"/> </group> </else-if> <else> <text macro="editor" prefix=" " suffix="."/> <group prefix=" " suffix="."> <text variable="container-title" font-style="italic" form="short" strip-periods="true" suffix="."/> <group delimiter=";" prefix=" "> <choose> <if variable="issue volume" match="any"> <date variable="issued"> <date-part name="year"/> </date> </if> <else> <date variable="issued"> <date-part name="month" suffix=" "/> <date-part name="year"/> </date> </else> </choose> <group> <text variable="volume"/> <text variable="issue" prefix="(" suffix=")"/> </group> </group> <text variable="page" prefix=":"/> </group> </else> </choose> <text prefix=" " macro="access"/> </layout> </bibliography></style>`
21
+ export const chicago = `<?xml version="1.0" encoding="utf-8"?><style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="display-and-sort" page-range-format="chicago"> <info> <title>Chicago Manual of Style 17th edition (author-date)</title> <id>http://www.zotero.org/styles/chicago-author-date</id> <link href="http://www.zotero.org/styles/chicago-author-date" rel="self"/> <link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation"/> <author> <name>Julian Onions</name> <email>julian.onions@gmail.com</email> </author> <contributor> <name>Sebastian Karcher</name> </contributor> <contributor> <name>Richard Karnesky</name> <email>karnesky+zotero@gmail.com</email> <uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri> </contributor> <contributor> <name>Andrew Dunning</name> <email>andrew.dunning@utoronto.ca</email> <uri>https://orcid.org/0000-0003-0464-5036</uri> </contributor> <contributor> <name>Matthew Roth</name> <email>matthew.g.roth@yale.edu</email> <uri> https://orcid.org/0000-0001-7902-6331</uri> </contributor> <category citation-format="author-date"/> <category field="generic-base"/> <summary>The author-date variant of the Chicago style</summary> <updated>2019-08-14T01:10:21+00:00</updated> <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights> </info> <locale xml:lang="en"> <terms> <term name="editor" form="verb-short">ed.</term> <term name="container-author" form="verb">by</term> <term name="translator" form="verb-short">trans.</term> <term name="editortranslator" form="verb">edited and translated by</term> <term name="translator" form="short">trans.</term> </terms> </locale> <macro name="secondary-contributors"> <choose> <if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="none"> <group delimiter=". "> <names variable="editor translator" delimiter=". "> <label form="verb" text-case="capitalize-first" suffix=" "/> <name and="text" delimiter=", "/> </names> <names variable="director" delimiter=". "> <label form="verb" text-case="capitalize-first" suffix=" "/> <name and="text" delimiter=", "/> </names> </group> </if> </choose> </macro> <macro name="container-contributors"> <choose> <if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="any"> <group prefix=", " delimiter=", "> <names variable="container-author" delimiter=", "> <label form="verb" suffix=" "/> <name and="text" delimiter=", "/> </names> <names variable="editor translator" delimiter=", "> <label form="verb" suffix=" "/> <name and="text" delimiter=", "/> </names> </group> </if> </choose> </macro> <macro name="editor"> <names variable="editor"> <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/> <label form="short" prefix=", "/> </names> </macro> <macro name="translator"> <names variable="translator"> <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/> <label form="short" prefix=", "/> </names> </macro> <macro name="recipient"> <choose> <if type="personal_communication"> <choose> <if variable="genre"> <text variable="genre" text-case="capitalize-first"/> </if> <else> <text term="letter" text-case="capitalize-first"/> </else> </choose> </if> </choose> <names variable="recipient" delimiter=", "> <label form="verb" prefix=" " text-case="lowercase" suffix=" "/> <name and="text" delimiter=", "/> </names> </macro> <macro name="substitute-title"> <choose> <if type="article-magazine article-newspaper review review-book" match="any"> <text macro="container-title"/> </if> </choose> </macro> <macro name="contributors"> <group delimiter=". "> <names variable="author"> <name and="text" name-as-sort-order="first" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/> <label form="short" prefix=", "/> <substitute> <names variable="editor"/> <names variable="translator"/> <names variable="director"/> <text macro="substitute-title"/> <text macro="title"/> </substitute> </names> <text macro="recipient"/> </group> </macro> <macro name="contributors-short"> <names variable="author"> <name form="short" and="text" delimiter=", " initialize-with=". "/> <substitute> <names variable="editor"/> <names variable="translator"/> <names variable="director"/> <text macro="substitute-title"/> <text macro="title"/> </substitute> </names> </macro> <macro name="interviewer"> <names variable="interviewer" delimiter=", "> <label form="verb" prefix=" " text-case="capitalize-first" suffix=" "/> <name and="text" delimiter=", "/> </names> </macro> <macro name="archive"> <group delimiter=". "> <text variable="archive_location" text-case="capitalize-first"/> <text variable="archive"/> <text variable="archive-place"/> </group> </macro> <macro name="access"> <group delimiter=". "> <choose> <if type="graphic report" match="any"> <text macro="archive"/> </if> <else-if type="article-journal bill book chapter legal_case legislation motion_picture paper-conference" match="none"> <text macro="archive"/> </else-if> </choose> <choose> <if type="webpage post-weblog" match="any"> <date variable="issued" form="text"/> </if> </choose> <choose> <if variable="issued" match="none"> <group delimiter=" "> <text term="accessed" text-case="capitalize-first"/> <date variable="accessed" form="text"/> </group> </if> </choose> <choose> <if type="legal_case" match="none"> <choose> <if variable="DOI"> <text variable="DOI" prefix="https://doi.org/"/> </if> <else> <text variable="URL"/> </else> </choose> </if> </choose> </group> </macro> <macro name="title"> <choose> <if variable="title" match="none"> <choose> <if type="personal_communication" match="none"> <text variable="genre" text-case="capitalize-first"/> </if> </choose> </if> <else-if type="bill book graphic legislation motion_picture song" match="any"> <text variable="title" text-case="title" font-style="italic"/> <group prefix=" (" suffix=")" delimiter=" "> <text term="version"/> <text variable="version"/> </group> </else-if> <else-if variable="reviewed-author"> <choose> <if variable="reviewed-title"> <group delimiter=". "> <text variable="title" text-case="title" quotes="true"/> <group delimiter=", "> <text variable="reviewed-title" text-case="title" font-style="italic" prefix="Review of "/> <names variable="reviewed-author"> <label form="verb-short" text-case="lowercase" suffix=" "/> <name and="text" delimiter=", "/> </names> </group> </group> </if> <else> <group delimiter=", "> <text variable="title" text-case="title" font-style="italic" prefix="Review of "/> <names variable="reviewed-author"> <label form="verb-short" text-case="lowercase" suffix=" "/> <name and="text" delimiter=", "/> </names> </group> </else> </choose> </else-if> <else-if type="legal_case interview patent" match="any"> <text variable="title"/> </else-if> <else> <text variable="title" text-case="title" quotes="true"/> </else> </choose> </macro> <macro name="edition"> <choose> <if type="bill book graphic legal_case legislation motion_picture report song" match="any"> <choose> <if is-numeric="edition"> <group delimiter=" " prefix=". "> <number variable="edition" form="ordinal"/> <text term="edition" form="short" strip-periods="true"/> </group> </if> <else> <text variable="edition" text-case="capitalize-first" prefix=". "/> </else> </choose> </if> <else-if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="any"> <choose> <if is-numeric="edition"> <group delimiter=" " prefix=", "> <number variable="edition" form="ordinal"/> <text term="edition" form="short"/> </group> </if> <else> <text variable="edition" prefix=", "/> </else> </choose> </else-if> </choose> </macro> <macro name="locators"> <choose> <if type="article-journal"> <choose> <if variable="volume"> <text variable="volume" prefix=" "/> <group prefix=" (" suffix=")"> <choose> <if variable="issue"> <text variable="issue"/> </if> <else> <date variable="issued"> <date-part name="month"/> </date> </else> </choose> </group> </if> <else-if variable="issue"> <group delimiter=" " prefix=", "> <text term="issue" form="short"/> <text variable="issue"/> <date variable="issued" prefix="(" suffix=")"> <date-part name="month"/> </date> </group> </else-if> <else> <date variable="issued" prefix=", "> <date-part name="month"/> </date> </else> </choose> </if> <else-if type="legal_case"> <text variable="volume" prefix=", "/> <text variable="container-title" prefix=" "/> <text variable="page" prefix=" "/> </else-if> <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any"> <group prefix=". " delimiter=". "> <group> <text term="volume" form="short" text-case="capitalize-first" suffix=" "/> <number variable="volume" form="numeric"/> </group> <group> <number variable="number-of-volumes" form="numeric"/> <text term="volume" form="short" prefix=" " plural="true"/> </group> </group> </else-if> <else-if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="any"> <choose> <if variable="page" match="none"> <group prefix=". "> <text term="volume" form="short" text-case="capitalize-first" suffix=" "/> <number variable="volume" form="numeric"/> </group> </if> </choose> </else-if> </choose> </macro> <macro name="locators-chapter"> <choose> <if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="any"> <choose> <if variable="page"> <group prefix=", "> <text variable="volume" suffix=":"/> <text variable="page"/> </group> </if> </choose> </if> </choose> </macro> <macro name="locators-article"> <choose> <if type="article-newspaper"> <group prefix=", " delimiter=", "> <group delimiter=" "> <text variable="edition"/> <text term="edition"/> </group> <group> <text term="section" form="short" suffix=" "/> <text variable="section"/> </group> </group> </if> <else-if type="article-journal"> <choose> <if variable="volume issue" match="any"> <text variable="page" prefix=": "/> </if> <else> <text variable="page" prefix=", "/> </else> </choose> </else-if> </choose> </macro> <macro name="point-locators"> <choose> <if variable="locator"> <choose> <if locator="page" match="none"> <choose> <if type="bill book graphic legal_case legislation motion_picture report song" match="any"> <choose> <if variable="volume"> <group> <text term="volume" form="short" suffix=" "/> <number variable="volume" form="numeric"/> <label variable="locator" form="short" prefix=", " suffix=" "/> </group> </if> <else> <label variable="locator" form="short" suffix=" "/> </else> </choose> </if> <else> <label variable="locator" form="short" suffix=" "/> </else> </choose> </if> <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any"> <number variable="volume" form="numeric" suffix=":"/> </else-if> </choose> <text variable="locator"/> </if> </choose> </macro> <macro name="container-prefix"> <text term="in" text-case="capitalize-first"/> </macro> <macro name="container-title"> <choose> <if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="any"> <text macro="container-prefix" suffix=" "/> </if> </choose> <choose> <if type="webpage"> <text variable="container-title" text-case="title"/> </if> <else-if type="legal_case" match="none"> <group delimiter=" "> <text variable="container-title" text-case="title" font-style="italic"/> <choose> <if type="post-weblog"> <text value="(blog)"/> </if> </choose> </group> </else-if> </choose> </macro> <macro name="publisher"> <group delimiter=": "> <text variable="publisher-place"/> <text variable="publisher"/> </group> </macro> <macro name="date"> <choose> <if variable="issued"> <group delimiter=" "> <date variable="original-date" form="text" date-parts="year" prefix="(" suffix=")"/> <date variable="issued"> <date-part name="year"/> </date> </group> </if> <else-if variable="status"> <text variable="status" text-case="capitalize-first"/> </else-if> <else> <text term="no date" form="short"/> </else> </choose> </macro> <macro name="date-in-text"> <choose> <if variable="issued"> <group delimiter=" "> <date variable="original-date" form="text" date-parts="year" prefix="[" suffix="]"/> <date variable="issued"> <date-part name="year"/> </date> </group> </if> <else-if variable="status"> <text variable="status"/> </else-if> <else> <text term="no date" form="short"/> </else> </choose> </macro> <macro name="day-month"> <date variable="issued"> <date-part name="month"/> <date-part name="day" prefix=" "/> </date> </macro> <macro name="collection-title"> <choose> <if match="none" type="article-journal"> <choose> <if match="none" is-numeric="collection-number"> <group delimiter=", "> <text variable="collection-title" text-case="title"/> <text variable="collection-number"/> </group> </if> <else> <group delimiter=" "> <text variable="collection-title" text-case="title"/> <text variable="collection-number"/> </group> </else> </choose> </if> </choose> </macro> <macro name="collection-title-journal"> <choose> <if type="article-journal"> <group delimiter=" "> <text variable="collection-title"/> <text variable="collection-number"/> </group> </if> </choose> </macro> <macro name="event"> <group> <text term="presented at" suffix=" "/> <text variable="event"/> </group> </macro> <macro name="description"> <choose> <if type="interview"> <group delimiter=". "> <text macro="interviewer"/> <text variable="medium" text-case="capitalize-first"/> </group> </if> <else-if type="patent"> <group delimiter=" " prefix=". "> <text variable="authority"/> <text variable="number"/> </group> </else-if> <else> <text variable="medium" text-case="capitalize-first" prefix=". "/> </else> </choose> <choose> <if variable="title" match="none"/> <else-if type="thesis personal_communication speech" match="any"/> <else> <group delimiter=" " prefix=". "> <text variable="genre" text-case="capitalize-first"/> <choose> <if type="report"> <text variable="number"/> </if> </choose> </group> </else> </choose> </macro> <macro name="issue"> <choose> <if type="legal_case"> <text variable="authority" prefix=". "/> </if> <else-if type="speech"> <group prefix=". " delimiter=", "> <group delimiter=" "> <text variable="genre" text-case="capitalize-first"/> <text macro="event"/> </group> <text variable="event-place"/> <text macro="day-month"/> </group> </else-if> <else-if type="article-newspaper article-magazine personal_communication" match="any"> <date variable="issued" form="text" prefix=", "/> </else-if> <else-if type="patent"> <group delimiter=", " prefix=", "> <group delimiter=" "> <!--Needs Localization--> <text value="filed"/> <date variable="submitted" form="text"/> </group> <group delimiter=" "> <choose> <if variable="issued submitted" match="all"> <text term="and"/> </if> </choose> <!--Needs Localization--> <text value="issued"/> <date variable="issued" form="text"/> </group> </group> </else-if> <else-if type="article-journal" match="any"/> <else> <group prefix=". " delimiter=", "> <choose> <if type="thesis"> <text variable="genre" text-case="capitalize-first"/> </if> </choose> <text macro="publisher"/> </group> </else> </choose> </macro> <citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" givenname-disambiguation-rule="primary-name" collapse="year" after-collapse-delimiter="; "> <layout prefix="(" suffix=")" delimiter="; "> <group delimiter=", "> <choose> <if variable="issued accessed" match="any"> <group delimiter=" "> <text macro="contributors-short"/> <text macro="date-in-text"/> </group> </if> <!---comma before forthcoming and n.d.--> <else> <group delimiter=", "> <text macro="contributors-short"/> <text macro="date-in-text"/> </group> </else> </choose> <text macro="point-locators"/> </group> </layout> </citation> <bibliography hanging-indent="true" et-al-min="11" et-al-use-first="7" subsequent-author-substitute="&#8212;&#8212;&#8212;" entry-spacing="0"> <sort> <key macro="contributors"/> <key variable="issued"/> <key variable="title"/> </sort> <layout suffix="."> <group delimiter=". "> <text macro="contributors"/> <text macro="date"/> <text macro="title"/> </group> <text macro="description"/> <text macro="secondary-contributors" prefix=". "/> <text macro="container-title" prefix=". "/> <text macro="container-contributors"/> <text macro="edition"/> <text macro="locators-chapter"/> <text macro="collection-title-journal" prefix=", " suffix=", "/> <text macro="locators"/> <text macro="collection-title" prefix=". "/> <text macro="issue"/> <text macro="locators-article"/> <text macro="access" prefix=". "/> </layout> </bibliography></style>`
22
+ export const DEFAULT_CSL_OPTIONS = {
23
+ style: ama,
24
+ locale: en,
25
+ }