Skip to content

feat(presets): add prisma-2020-db-only (databases & registers only)#1

Open
medilife-c11g wants to merge 1 commit into
htlin222:mainfrom
medilife-c11g:feat/prisma-2020-db-only-preset
Open

feat(presets): add prisma-2020-db-only (databases & registers only)#1
medilife-c11g wants to merge 1 commit into
htlin222:mainfrom
medilife-c11g:feat/prisma-2020-db-only-preset

Conversation

@medilife-c11g

Copy link
Copy Markdown

Adds a single-column PRISMA 2020 preset prisma-2020-db-only for reviews that searched databases & registers only (no other-methods arm). The bundled prisma-2020 always renders the two-arm template, leaving an empty 'other methods' column for database-only reviews — common in PRISMA-DTA and many intervention reviews.

  • new src/presets/prisma-2020-db-only/index.ts (2-col grid; same fields/invariants minus the other-methods arm; included box spans both cols)
  • register in src/presets/index.ts
  • update registry assertion in test/matrix.test.mjs

Tests: 80/80 pass. Verified validate + render (svg/pdf/png/drawio/mermaid) on a real DTA review.

🤖 Generated with Claude Code

Adds a single-column PRISMA 2020 flow-diagram preset for reviews that
searched databases and registers only (no websites/organisations/
citation-searching arm). The bundled prisma-2020 preset always renders
the two-arm template, leaving an empty 'other methods' column for
database-only reviews — common in diagnostic-test-accuracy (PRISMA-DTA)
and many intervention reviews.

- new preset src/presets/prisma-2020-db-only/index.ts (2-col grid; same
  fields/invariants as prisma-2020 minus the other-methods arm)
- register in src/presets/index.ts
- update registry test in test/matrix.test.mjs

Tests: 80/80 pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants