Extractions and review workflow
An extraction is structured data pulled out of an unstructured document — for example, the IQ/OQ/PQ summary fields out of a validation package, or the deviation identifiers from a batch record. Extractions are AI-proposed, human-reviewed, and approved with an electronic signature.
Why extractions exist
Section titled “Why extractions exist”Reading a 200-page validation package to fill in 12 fields on a form takes hours, but the actual content of the form is tightly defined. Extractions automate the search-and-transcribe step while keeping human judgment in the loop for the parts that actually require it.
Verin extractions are designed to be:
- Cited. Every extracted field carries provenance — the document, page, and section the value came from.
- Reviewable. A reviewer sees the AI proposal alongside the source passage and can accept, edit, or reject.
- Signed. Approval creates an electronic signature record bound to the reviewer’s identity. See Electronic signatures.
- Exportable. Extractions and their signatures can be exported as part of an evidence bundle.
The review workflow
Section titled “The review workflow”┌─────────────────────┐│ Document selected │└──────────┬──────────┘ │ ▼┌─────────────────────┐│ AI extraction │ Fields proposed with provenance│ (per-field │ (page, section, confidence)│ confidence) │└──────────┬──────────┘ │ ▼┌─────────────────────┐│ Reviewer dialog │ Side-by-side: proposed values vs.│ │ source passages. Edit / accept.└──────────┬──────────┘ │ │ Reviewer enters signing password ▼┌─────────────────────┐│ Electronic │ Immutable record bound to user, document,│ signature │ content-manifest hash, timestamp, and intent.└──────────┬──────────┘ │ ▼┌─────────────────────┐│ Approved extract │ Visible to downstream consumers│ + audit trail │ (reports, exports, etc.)└─────────────────────┘Per-field confidence
Section titled “Per-field confidence”The AI layer reports a confidence score per field. Below a configurable threshold (default ~0.3), the system marks the field as “needs review” and the reviewer must explicitly edit or accept it before approval.
This is not a substitute for human judgment — high confidence does not mean the value is correct. It just changes the default UX from “click through” to “stop and think”.
What an approved extraction guarantees
Section titled “What an approved extraction guarantees”After a reviewer approves an extraction:
- The signed values are the system of record for that extraction
- The signature record is immutable at the database level (Postgres triggers; SQLite listeners) and bound by a content hash to the exact values signed — see Electronic signatures for what’s enforced and what’s still maturing
- The original AI proposal is preserved alongside the reviewer’s edits, so you can later reconstruct what the system suggested vs. what the reviewer accepted
- Re-running the extraction produces a new proposal but does not invalidate the existing signed record
Where the structured record goes next
Section titled “Where the structured record goes next”An approved extraction isn’t a dead-end record — it’s the start of a typed compliance record (Deviation, CAPA, batch record, validation package, training record, complaint, etc.) that downstream features query directly. The same record participates in:
- Reports — APQR, Audit Report, Part 11 Gap Analysis, Management Review, and custom templates pull structured fields directly into tables and charts. See Reports and templates.
- Compliance dashboards — KPIs, trend charts, recurrence analysis, lot-acceptance rates, CAPA effectiveness — all run against the structured records, not against text.
- Hybrid search — chat answers and report sections that need both narrative and counts use hybrid search to combine vector retrieval over text with exact queries over the structured records. The structured layer is what makes counts, dates, and filters precise.
- Regulatory monitoring — when a tracked regulation changes, the monitor flags the structured records that reference the affected section, in addition to the source documents. That’s how a customer learns “the new EU MDR amendment affects these 14 of your existing technical-file entries.”
- Citations — citations like
[Deviation D-1234]link directly to the typed record, so a reader can verify a claim by clicking through to the structured data, not just to a passage in a 200-page document.
The accuracy improvement is concrete: pure text retrieval can tell you what your SOP says about deviation closure timeframes, but only the structured layer can tell you whether your actual closure rate meets that target this quarter. Most useful answers need both.
What’s next
Section titled “What’s next”- Hybrid search — how text and structured retrieval combine
- Reports and templates — what consumes the structured records
- Electronic signatures — what an e-signature actually contains
- Audit log — how extractions and signatures are recorded
- The Approve an extraction with an electronic signature guide walks through the UI