-
Notifications
You must be signed in to change notification settings - Fork 976
ohdsi-symposium-submission:0.1.0 #4444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
huanhe4096
wants to merge
5
commits into
typst:main
Choose a base branch
from
huanhe4096:codex/ohdsi-symposium-template
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+269
−0
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
74c4804
Create README.md
huanhe4096 64f11da
Add OHDSI symposium submission template
huanhe4096 2f78e08
Fix OHDSI package citation style and thumbnail
huanhe4096 8009a31
Update OHDSI symposium template examples
huanhe4096 290b950
Update OHDSI symposium template assets
huanhe4096 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
65
packages/preview/ohdsi-symposium-submission/0.1.0/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
| ] | ||
| } |
65 changes: 65 additions & 0 deletions
65
packages/preview/ohdsi-symposium-submission/0.1.0/template/main.typ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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") | ||
| ] |
27 changes: 27 additions & 0 deletions
27
packages/preview/ohdsi-symposium-submission/0.1.0/template/refs.bib
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
18
packages/preview/ohdsi-symposium-submission/0.1.0/typst.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" | ||
| 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" | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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.