Engineering

How TheragenX is built, and how you can check it.

Every module stands on one foundation for validated AI in pharmacovigilance, and the hardest job on it, getting any document into a case, runs through a seven layer pipeline. Below: the pipeline, what is enforced, how every page is accounted for, how two models and a person divide the work, how a change reaches production, and where it can run.

  1. TheraHub
  2. TheraInfo
  3. TheraLit
  4. TheraSafe
  5. TheraSentriX
  6. TheraIntel
  7. TheraQ
  8. TheraSure

Every module is built on

  1. One data modelA product, a case or a reporter is defined once.
  2. One audit trailWho did what, when and why, recorded the same way everywhere.
  3. One sign inSingle sign-on, role based access, least privilege.
  4. Model governance by evaluationA model earns its place on adjudicated cases. Versions are locked under change control.
  5. Clinical Intelligence & Evidence EngineProprietary to TheragenX. The clinical logic that turns evidence into a draft a reviewer can check.
  6. A named, qualified reviewerThe last action on every decision belongs to a person.
  7. Your hosting choiceOur cloud, your cloud or your own data center.

How the hardest job works: getting any document into a case.

Built first for case intake in TheraSafe. Every module runs on the engine and uses the pipeline layers its work needs: literature screening reuses document processing, translation and retrieval; medical inquiries and regulatory intelligence add retrieval. Every module ends with a named, qualified reviewer.

  1. L1

    Universal intake

    Email, literature, PDFs, medical records and E2B files. Printed, scanned, handwritten, in many languages, at a hundred pages or more.

    Bring your own hardest documents to a sandbox session and watch them go in.

  2. L2

    Document processing

    The original file is kept. Layout, tables and exact page coordinates are recorded for every piece of text.

    Open any extracted text and see the page and the position it came from in the original file.

  3. L3

    Page ledger and safety screening

    Every page is logged, its language detected and its content screened for possible safety facts, independently of retrieval.

    The count of pages read, skipped and sent to a person, for every document.

  4. L4

    Translation with original evidence

    Original language text is kept beside the translation, aligned span to span. Negation, drug names and doses are verified across the pair.

    Original and translation side by side. Uncertain terms, doses and negation are flagged for review.

  5. L5

    Retrieval

    Assembles evidence that is spread across pages and files. It builds context. It never decides a page is safe.

    The ledger shows every page was screened, whether or not retrieval selected it.

  6. L6

    Proprietary to TheragenX

    Clinical Intelligence & Evidence Engine

    The clinical logic that turns evidence into a draft a reviewer can check. Four stages. The logic is ours, and it stays the same whichever qualified model sits behind it.

    Which rule fired, and its version. The pinned configuration behind each draft. Any fact without a verified source is an exception.

    1. Stage 1

      Clinical evidence mapping

      Candidate patients, products, events and timelines are linked to exact source spans. When identity is ambiguous, patients and cases are kept separate until a person resolves them.

    2. Stage 2

      Controlled model calls

      One clinical output schema. The prompt, schema, model version and rule version are pinned for each run, so any result can be traced to the exact configuration that produced it.

    3. Stage 3

      Evidence reconciliation

      The two models' outputs are compared patient by patient and fact by fact. Every citation is verified against the original span. Mixed patients, missing candidates, contradictions and translation errors are flagged.

    4. Stage 4

      Deterministic safety rules

      After the models, fixed rules check the case validity elements, medical negation, potential seriousness, duplicates and page coverage. The rules do not infer uncertain clinical conclusions.

    Two outputs only: a draft ready for review with every fact linked to its evidence, or an explicit exception. There is no automatic closure.

  7. L7

    PV review

    A named, qualified reviewer sees the original source beside each fact, decides, and signs. The approved case enters TheraSafe for processing and submission.A named, qualified reviewer decides

    The audit record: the source, the draft, the changes and the signature.

Evaluation and observability run across every layer.Gold sets adjudicated by PV physicians gate every release. Runtime tracing runs with personal data redacted. The GxP audit trail is kept separately, in TheragenX controlled records.

Every page is accounted for.

Detection is checked against cases our physicians reviewed.

What we claim

What is enforced, and what is evaluated.

Two different kinds of statement. We keep them apart.

EnforcedThe system cannot do otherwise

  1. Page coverage

    Enforced on every document by the page ledger.

    We tell youThe count of pages received, read, skipped and sent to a person, per document.

  2. Source linkage

    Enforced: every citation is verified against the original span.

    We tell youAny fact without a verified source is an exception.

  3. Case validity, negation, duplicates

    Deterministic rules after the models.

    We tell youWhich rule fired, and its version.

EvaluatedMeasured before every release

  1. Adverse event detection

    Evaluated against cases adjudicated by PV physicians.

    We tell youResults on the gold sets for the qualified configuration.

  2. Translation of clinical content

    Evaluated per language; originals always kept beside the translation.

    We tell youUncertain terms, doses and negation flagged for review.

  3. Handwriting and poor scans

    Qualified per intended use; low confidence becomes an exception.

    We tell youThe pages a person must read.

Results for the configuration you would run are shared in an evaluation.Request a technical session

Page accounting

Every page is accounted for.

The illustration is one 140 page literature article. Each square is a page, and each page ends in one of three places.

Page ledger

Illustration: one published case series

  • 133pages read and screened by the AI
  • 3pages skipped, each with a recorded reason (for example the reference list)
  • 4pages sent to a person to read (for example a scanned table the AI could not read with confidence)

All 140 pages are accounted for: read by the AI, read by a person, or skipped with the reason on record. None is silently dropped.

A reviewer confirms each fact before it is used.

  1. 01

    Each page gets an entry

    Document, page, language, status. A document is complete only when every entry is resolved.

  2. 02

    Each page is screened

    For possible safety facts, whether or not retrieval would have selected it.

  3. 03

    Unreadable is a status

    A faint scan or uncertain handwriting goes to a person. It is never skipped silently.

  4. 04

    The original stays in view

    Each fact carries its page and exact span, with the translation beside it.

Why missed pages come first: in the clinical benchmark in the Stanford AI Index 2026, 76.6% of severely harmful errors by leading models were omissions (clinical medicine, not pharmacovigilance). Source.

Extraction and checking

Two models with different jobs.

A model that checks its own work tends to agree with itself. So the checker is a different model.

  1. Model one

    The primary model extracts

    • Patients, products, events and dates
    • Chronology across pages and documents
    • The exact source span for every fact
    • Output in one fixed clinical schema
  2. Model two

    The independent model checks

    • Events the first model omitted
    • Negation read as affirmation, and the reverse
    • Conflicts between sources
    • Screening alerts the draft did not account for
  3. A person

    Disagreement is a finding

    It routes to a reviewer with both readings and the source. Seriousness, causality and medical judgment stay with qualified people.

    A named, qualified reviewer decides

Worked illustrationOne sentence, two readings. Fictional product and patient.

Source, page 36, original Spanish

Niega dolor torácico. Erupción cutánea desde el día 3 de Zeltrava; ingresó una noche.

Translation, aligned span to span English

Denies chest pain. Skin rash since day 3 of Zeltrava; admitted for one night.

Primary model

  • EventSkin rash
  • ProductZeltrava
  • OnsetDay 3

Independent model

  • AgreesChest pain is negated, and was correctly left out
  • OmissionA hospital admission is in the source and missing from the draft. Possible seriousness criterion

A named, qualified reviewer decidesThe draft goes to the reviewer as an exception, with both readings and the passage on screen.

Human review

AI drafts. A qualified person decides.

Across every module, AI drafts and a qualified person reviews and approves. The final action on every case, signal and report is always taken by a qualified person, never by the AI.

  1. 01

    A draft arrives with its evidence

    Each fact sits beside the original passage it came from, in the original language and in translation.

  2. 02

    Exceptions arrive with their reason

    Unreadable handwriting, ambiguous identity, a conflict between models or a missing page. The reviewer sees why the system stopped.

  3. 03

    The reviewer confirms, corrects or rejects

    Seriousness, causality and medical judgment stay with qualified people. The system does not close a case.

    A named, qualified reviewer decides

  4. 04

    The decision is recorded

    The approved case enters TheraSafe with a permanent audit record of the source, the draft, the changes and the signature.

Known failure modes

Ten ways AI goes wrong in pharmacovigilance, and our control for each.

Each one is a known failure of AI on safety data. Each control is in place from go-live.

  1. 01

    Relative and partial dates

    What goes wrong: Exact dates are invented, or the order of events is lost, which breaks time to onset and dechallenge.

    Our control: The reporter's words are kept as written. A date engine resolves them only as precisely as the report allows, and onset is worked out by rules.

  2. 02

    Reports in other languages

    What goes wrong: Translation loses clinical nuance and replaces the reporter's words.

    Our control: The original text and the English translation are stored separately, and a pharmacovigilance glossary guides the clinical terms.

  3. 03

    Silence read as “No”

    What goes wrong: An unmentioned pregnancy, overdose or hospital stay is set to No, and age or outcome is guessed.

    Our control: Every answer is Yes, No, Unknown or Not reported. No needs cited evidence, and each gap feeds a follow-up question.

  4. 04

    Several patients in one document

    What goes wrong: A case series or an email thread is merged into one case.

    Our control: A reviewer confirms the split before extraction, and follow-ups go to the existing case.

  5. 05

    Coding

    What goes wrong: Terms that do not exist, symptoms coded instead of the diagnosis, brand and combination products confused.

    Our control: The model takes the reporter's exact words. The licensed dictionary returns only valid terms, and your own products are checked first.

  6. 06

    Seriousness over-flagged

    What goes wrong: Any mention of a hospital is flagged serious, and important medical events are caught inconsistently.

    Our control: Seriousness rules with cited evidence. Important medical events and events of special interest are checked against your configured lists, not the model's judgment.

  7. 07

    Expectedness and causality

    What goes wrong: Expectedness is judged on general medical knowledge or an outdated label.

    Our control: Expectedness is checked against your versioned reference safety information. Causality stays with the medical reviewer.

  8. 08

    Narrative consistency

    What goes wrong: Narratives add details the case does not support, miss follow-ups or drift in style.

    Our control: Narratives are built only from verified fields and your templates. An automated check flags any fact that differs from the case.

  9. 09

    Duplicates and follow-ups

    What goes wrong: Exact matching misses variants, and matching by AI alone finds false duplicates.

    Our control: Fixed rules plus similarity scoring, with the reasons shown. A person decides, and the AI never merges cases.

  10. 10

    Model updates

    What goes wrong: An update to the underlying model changes the output with no change on our side.

    Our control: Model versions are pinned, a regression suite runs before every release, changes go through change control, and the version is logged on every output.

The model extracts evidence, fixed rules decide, and a reviewer confirms.

Model governance

Frontier models, governed by evaluation.

A model earns its place on evidence, and keeps it only while the evidence holds.

One proposed change: a model, a prompt, a schema or a rule

  1. 01 Qualify

    Qualified for an intended use

    A model is qualified for a defined task, such as extraction or independent checking, on defined document types and languages. Qualification for one use says nothing about another.

  2. 02 Compare

    Compared on identical cases

    Candidate models run the same examples, adjudicated by our PV physicians, before one is chosen.

  3. 03 Gate

    Gold sets block a release

    Any change to a model, prompt, schema or rule reruns the adjudicated sets. A regression fails the release.

  4. 04 Release

    Released through change control

    Nothing changes in production automatically. A new version passes evaluation and Quality approval first.

    A named, qualified reviewer decides

  5. Production

    Pinned for every run

    Prompts, schemas, model versions and rule versions are fixed per run and recorded with the output.

  1. Back to 01

    The next evaluation cycle

    The cycle starts again at 01.

  2. Blocked

    Regression: release blocked

    The change goes back. The pinned version keeps running, and nothing reaches production.

  3. 05 Learn

    Corrections feed evaluation

    Reviewer corrections and discrepancies are tracked and reviewed. They inform the next evaluation cycle; your data is never used to train models.

Deployment profiles

One codebase. Three places it can run.

Each profile is qualified in its own right, with its own evaluation results. Both models still run in the isolated profile.

OursOne codebaseThe same application, the same contracts, the same controls on this page.

  1. Profile 1

    Our cloud

    Hosted in the region you choose, so your data stays where your policies and regulations need it. A dedicated database for every customer.

  2. Profile 2

    Your cloud

    The same application, deployed in your own cloud tenancy under your network and identity controls.

  3. Profile 3

    Your data center

    Including fully isolated profiles with no external AI calls, using models qualified to run inside your environment.

Tracing and audit

Engineering telemetry and the GxP record are two separate things.

An inspector reads the audit trail. It does not depend on an engineering tool being available.

For engineersRuntime tracing

Specimenextraction call configuration pinned patient reporter

  • Every model call traced for discrepancies, latency and cost
  • Personal data redacted from telemetry
  • Reviewer corrections logged against the configuration that ran
  • Used by engineering to find and fix failures

For inspectorsThe GxP audit trail

Specimenwho decided what when on which evidence signed

  • Kept in TheragenX controlled records
  • Who decided what, when, on which evidence
  • The pinned configuration behind each draft
  • Quality approvals for every release

Questions

What technical reviewers ask.

Which models do you use?

Frontier models, qualified per intended use. We name them to customers and share, during an evaluation, the results for the configuration you would run.

Can it run with no external connection?

Yes. The fully isolated profile runs in your data center with models qualified to run inside your environment. It is the same codebase and it is qualified as its own profile.

What happens when a model vendor releases a new version?

Nothing, until we choose to evaluate it. The pinned version keeps running. A new version must pass the adjudicated gold sets and go through change control before it reaches production.

How do you handle handwriting?

Handwriting recognition is qualified for its intended use. Text read with low confidence is an exception for a person, shown with the page image.

What can we review before we buy?

Our AI oversight statement is public in the Trust Center. The AI governance and validation approach is shared in an evaluation, and model details come to customers with the signed SOW. Explainability is shown in a sandbox on your own scenarios.

Technical session

Bring your hardest document.

A long record, a poor scan, three languages, two patients in one letter. We will run it in a sandbox with your reviewers and your engineers watching.

  • A session with our engineers and safety scientists
  • Your own deidentified documents, in a sandbox
  • Evaluation results during your evaluation; model details once you are a customer
ISO/IEC 27001:2022 certified information security management systemISO 9001:2015 certified quality management systemSOC 2 Type II attestation

ISO certificates are public in the Trust Center. SOC 2 Type II: the full report follows a call and a mutual NDA.

Program membership

NVIDIA Inception Program member

We use these details only to reply to you. See our privacy policy.