Skip to content

Reports and templates

A report in Verin is a long-form document generated from your evidence base — APQRs, 483 responses, validation summaries, audit-readiness packages — where claims are generated with inline citations back to the source. Ungrounded sections are flagged for reviewer attention rather than silently dropped; validated environments can enable a strict citation gate that withholds them (see How citations work in a report).

Chat works well for one question at a time. Compliance work is not one question at a time:

  • An APQR pulls from a year of batch records, deviations, complaints, and trending data and has 30+ sections that all need citations
  • A 483 response addresses a specific observation but pulls from multiple SOPs, training records, and CAPAs
  • A validation summary touches IQ, OQ, PQ, requirements, traceability matrices

Reports let you generate the whole document — section by section, citation by citation — without losing context between sections.

Verin ships with templates for common regulated outputs. Each template defines:

  • The section structure (typed table of contents)
  • The kind of evidence each section expects (which document categories, which date ranges)
  • The format-specific details (header levels, citation marker style, page-break rules for PDF export)

You can also define customer-specific templates matching your organization’s house style. Templates are versioned — older reports retain the template version they were generated against.

Each section of a report is generated with retrieval grounded in your evidence base — the relevant subset of your indexed documents, the regulatory and standards content you’ve subscribed to, and the structured records produced by approved extractions. Inline citation markers link to whichever source supports the claim:

  • [D-#] — your document, with page and section reference
  • [R-#] — a regulatory source (FDA, EUR-Lex, ICH, or a customer-licensed standard)
  • [Deviation D-1234], [CAPA C-89], etc. — a typed compliance record (the structured-records layer produced by approved extractions)

The citation list at the end of the report has the full reference for each marker. For exports to PDF or DOCX, citations remain hyperlinked and the bibliography is preserved.

By default the citation gate runs in warn mode: report sections whose claims can’t be grounded are logged and flagged for the reviewer rather than withheld. Validated / CSV environments should enable the strict gate (VERIN_STRICT_CITATION_GATE), which withholds ungrounded sections instead of flagging them.

Where the content for each section comes from

Section titled “Where the content for each section comes from”

Reports use hybrid search — combining vector retrieval over document text with exact queries over the structured-records layer. Different sections of the same report use different combinations:

  • Narrative paragraphs — text RAG over your SOPs, validation packages, and the regulatory KB. The output cites passages: “Per SOP-XYZ §4.2 [D-SOP-XYZ §4.2], major deviations must be closed within 30 days…”
  • Tables and lists of records — structured queries over the typed records (Deviation, CAPA, batch record, etc.). The output cites individual records: a row per record, each with its own clickable identifier.
  • Counts, trends, and KPIs — structured aggregates. “Q3 closure rate for major deviations: 17 of 22 within 30 days (77%)” comes from a count over the Deviation table, not from text retrieval.
  • Mixed assertions — many compliance claims combine the two: a policy assertion from a document plus a metric from the structured layer. The system constructs answers like “Your SOP-XYZ requires [D-SOP-XYZ §4.2] 30-day closure for major deviations; in Q3, 5 of 22 closed late ([Deviation D-1234], [Deviation D-1289], …).”

The accuracy advantage over pure text retrieval is concrete. Counts and dates come from typed records (exact). Filters by product, batch, date range, severity narrow the input set before retrieval (more focused). The same query produces the same numbers on re-run (reproducible) — important when two QA leads need to produce identical inputs to the same report.

A generated report is a draft. Verin does not pretend to write the final document for you; the QA / RA / Compliance lead is responsible for the output. The expected workflow:

  1. Generate the report from the relevant evidence
  2. Review the citations — every claim should be defensible
  3. Edit content as needed (clarifications, internal terminology, recommendations)
  4. Re-export

Edits made in Verin’s editor preserve citation markers so you don’t lose provenance during revision.

  • Sign off as approved automatically. A report with a generated signature line is still a draft until a human approves it (separately from the document being generated).
  • Replace your eQMS or document control. Reports are deliverables; canonical versions live where your team’s controlled-document policy says they live.
  • Auto-publish. Generated reports stay private to the workspace until exported.