Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions packages/preview/ohdsi-symposium-submission/0.1.0/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 Huan He

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
65 changes: 65 additions & 0 deletions packages/preview/ohdsi-symposium-submission/0.1.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# OHDSI Symposium Submission

`ohdsi-symposium-submission` is a minimal Typst template package for OHDSI
symposium-style brief reports.

## Usage

Create a new project from the template:

```bash
typst init @preview/ohdsi-symposium-submission:0.1.0
```

The generated starter includes:

- `main.typ` with a title block and standard report sections
- `refs.bib` with sample BibTeX entries

## Package API

```typst
#import "@preview/ohdsi-symposium-submission:0.1.0": submission, references-section
```

Use `submission` as a document wrapper:

```typst
#show: doc => submission(
title: "OHDSI Symposium Submission Title",
authors: (
(name: "First Author", affiliations: ("1",)),
(name: "Second Author", affiliations: ("1", "2")),
),
affiliations: (
(id: "1", name: "Department or Organization, City, Country"),
(id: "2", name: "Second Department or Organization, City, Country"),
),
doc,
)
```

Render the bibliography with:

```typst
#references-section[
#bibliography("refs.bib", title: none, style: "vancouver-superscript")
]
```

## Notes

- The template uses an OHDSI-style paper layout with serif typography, single-ish
line spacing, and `6pt` paragraph spacing after each paragraph.
- The sample starter uses the `vancouver-superscript` bibliography style so
in-text citations render as superscript numbers and the reference list uses
`1.`, `2.`, `3.` numbering.
- The template uses `Libertinus Serif` by default for reliable cross-platform
rendering. You can override the font in your project if you need exact
institution-specific typography.
- If there is only one affiliation, superscript affiliation markers are hidden.

## License

This package is distributed under the `MIT` license. See
[`LICENSE`](LICENSE).
73 changes: 73 additions & 0 deletions packages/preview/ohdsi-symposium-submission/0.1.0/lib.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
#let references-section(body) = [
#align(center)[
#block(above: 12pt, below: 6pt)[
#text(weight: "bold", size: 11pt)[References]
]
]

#body
]

#let submission(
title: "",
authors: (),
affiliations: (),
keywords: (),
abstract: [],
body,
) = {
let show-affiliation-markers = affiliations.len() > 1

set page(
paper: "us-letter",
margin: (x: 1in, y: 1in),
)

set text(
font: "Libertinus Serif",
size: 11pt,
)

set par(
justify: true,
leading: 0.4em,
spacing: 0.8em,
)

show heading.where(level: 1): it => {
set align(left)
set text(weight: "bold", size: 11pt)
block(above: 12pt, below: 6pt)[#it.body]
}

show heading.where(level: 2): it => {
set align(left)
set text(weight: "semibold", size: 11pt)
block(above: 12pt, below: 6pt)[#it.body]
}

[
#align(center)[
#text(size: 16pt, weight: "bold")[#title]

#v(0.5em)

#set text(weight: "bold")
#for (index, author) in authors.enumerate() [#author.name#if show-affiliation-markers and "affiliations" in author [#super[#author.affiliations.join(",")]]#if index < authors.len() - 1 [, ]]

#if affiliations.len() > 0 [
#set text(size: 10pt, weight: "bold")
#for affiliation in affiliations [
#if show-affiliation-markers [#super[#affiliation.id] ]
#affiliation.name
#if "email" in affiliation [ (#affiliation.email) ]
#linebreak()
]
]
]

#v(1em)

#body
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
#import "@preview/ohdsi-symposium-submission:0.1.0": submission, references-section

#show: doc => submission(
title: "OHDSI Symposium Submission Title",
authors: (
(
name: "FIRST AUTHOR",
affiliations: ("1",),
),
(
name: "SECOND AUTHOR",
affiliations: ("1", "2"),
),
(
name: "THIRD AUTHOR",
affiliations: ("2",),
),
),
affiliations: (
(
id: "1",
name: "Department or Organization, City, Country",
),
(
id: "2",
name: "Second Department or Organization, City, Country",
),
),
doc,
)

= Background

Use this section to summarize the scientific background, explain the gap your
work addresses, and clarify why the topic matters to the OHDSI community. This
submission should describe unpublished work at the time of submission, although
preprints are acceptable. Cite relevant prior OHDSI or domain work directly in
the text. @hripcsak2015 @reps2018

This brief report should stay between 200 and 1000 words, excluding references,
authors, affiliations, and optional figures or tables. Community resources can
also be cited when useful. @ohdsi2024

= Methods

Describe the data source, cohort definition, study design, tooling, and
analysis approach clearly enough for reviewers to understand what was done. If
helpful, you may include up to three supporting figures or tables in the
submission.

= Results

Summarize the main findings and emphasize the concrete evidence generated by the
analysis, software demonstration, or implementation work. Use concise text and
only include figures or tables when they materially support the results.

= Conclusions

Close with the main takeaway, the relevance for OHDSI collaborators, and the
next step or expected impact of the work. References are recommended, with a
practical target of no more than 15 citations.

#references-section[
#bibliography("refs.bib", title: none, style: "vancouver-superscript")
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
@article{hripcsak2015,
author = {Hripcsak, George and Duke, Jon D. and Shah, Nigam H. and Reich, Christian G. and Huser, Vojtech and Schuemie, Martijn J. and Suchard, Marc A. and Park, Rae Woong and Wong, Ian Chi Kei and Rijnbeek, Peter R. and van der Lei, Johan and Pratt, Nicole and Madigan, David and Ryan, Patrick B.},
title = {Observational Health Data Sciences and Informatics (OHDSI): Opportunities for Observational Researchers},
journal = {Studies in Health Technology and Informatics},
volume = {216},
pages = {574--578},
year = {2015}
}

@article{reps2018,
author = {Reps, Jenna M. and Schuemie, Martijn J. and Suchard, Marc A. and Ryan, Patrick B. and Rijnbeek, Peter R.},
title = {Design and Implementation of a Standardized Framework to Generate and Evaluate Patient-Level Prediction Models Using Observational Healthcare Data},
journal = {Journal of the American Medical Informatics Association},
volume = {25},
number = {8},
pages = {969--975},
year = {2018}
}

@misc{ohdsi2024,
author = {{OHDSI}},
title = {OHDSI Community},
year = {2024},
url = {https://www.ohdsi.org/},
note = {Accessed 2026-03-26}
}

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions packages/preview/ohdsi-symposium-submission/0.1.0/typst.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
name = "ohdsi-symposium-submission"
version = "0.1.0"
entrypoint = "lib.typ"
authors = ["Huan He"]
license = "MIT"
description = "A minimal submission template for OHDSI symposium brief reports."
homepage = "https://github.com/huanhe4096/packages/tree/main/packages/preview/ohdsi-symposium-submission/0.1.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please remove that field? It should only be used if there is an actual web page dedicated to the package.

repository = "https://github.com/huanhe4096/packages"
keywords = ["ohdsi", "symposium", "submission", "template", "paper"]
categories = ["paper", "report"]
disciplines = ["medicine", "computer-science"]
compiler = "0.14.0"

[template]
path = "template"
entrypoint = "main.typ"
thumbnail = "thumbnail.png"
Loading