A Quarto extension that renders professional adult neuropsychological evaluation reports using Typst. Part of the broader Neurotyp ecosystem maintained by brainworkup.
Version: 0.2.0 | Requires: Quarto ≥ 1.4.0 | License: MIT
neurotyp-adult provides a modular Quarto template for generating polished, clinic-ready neuropsychological reports for adult patients. Reports are typeset via Typst and can include:
- Patient demographics and case metadata
- Tests administered
- Neurological symptom evaluation (NSE) narrative
- Behavioral observations
- Cognitive domain findings (dynamically included)
- Summary, impressions, recommendations & findings (SIRF)
- Clinical recommendations
- Clinician signature block
- Appendices
The template integrates with the cingulate R package for data processing, visualization, and AI-assisted narrative generation via a local Ollama backend.
Use the template to scaffold a new report directory:
quarto use template brainworkup/neurotyp-adultThis installs the extension and copies template.qmd as a starting point.
Add the extension (format only, without the template file) to an existing project:
quarto add brainworkup/neurotyp-adultPull the latest version of the extension:
quarto update extension brainworkup/neurotyp-adult-
Configure patient metadata in your
.qmdYAML front matter:--- title: NEUROCOGNITIVE EXAMINATION patient: Doe name: Doe, Jane dob: "1980-01-15" age: 45 doe: "2025-03-10" doe2: "2025-03-11" doe3: "2025-03-12" date_of_report: last-modified case_number: "2025-001" ---
-
Render the report:
quarto render template.qmd
This produces a PDF via Typst.
neurotyp-adult/
├── _extensions/
│ └── neurotyp-adult/
│ ├── _extension.yml # Extension metadata (v0.2.0)
│ ├── typst-template.typ # Typst page layout & header rules
│ └── typst-show.typ # Typst show rules & typography
├── _brand/
│ └── _brand.yml # Brand colors, fonts & logo config
├── template.qmd # Master report template
├── LICENSE
└── README.md
- A4 page with 30 mm top margin and 25 mm side margins
- Pages 2+ automatically display a CONFIDENTIAL header with patient name and date
- Justified body text; centered level-0 headings
- Preferred fonts: Equity B, IBM Plex Sans/Serif, Source Sans 3, JetBrains Mono (falls back gracefully if unavailable)
| Requirement | Notes |
|---|---|
| Quarto ≥ 1.4.0 | Document engine |
| Typst | PDF rendering (bundled with Quarto) |
| cingulate | Data processing & visualization |
| Ollama (optional) | Local LLM backend for AI-assisted narratives |
Key R packages used inside the template: dplyr, readr, here, yaml, ggplot2, systemfonts.
| Repo | Description |
|---|---|
brainworkup/neurotyp-pediatric |
Pediatric report template |
brainworkup/neurotyp-forensic |
Forensic evaluation template |
brainworkup/cingulate |
Core R package |
Joey W. Trampush, Ph.D.
@brainworkup
joey.trampush@brainworkup.org
MIT © 2023 Joey Trampush