StatAgentWeekly email

Reviewer's guide sections from a define.xml extract

Paste a define.xml extract and protocol summary, get seven draft ADRG sections with gaps marked NOT IN INPUT.

About 20 minWord and ExcelTrace-checked

What you get

DRAFT, NOT VALIDATED
Analysis Data Reviewer's Guide: draft sections
1 Introduction

This guide accompanies the ADaM datasets for Study CDISCPILOT01. [FROM INPUT] The datasets are described in a define.xml that declares StandardName "CDISC ADaM", StandardVersion "2.1" and DefineVersion "1.0.0". [FROM INPUT] This guide gives reviewer context and does not repeat the dataset, variable or derivation metadata held in define.xml. [PROPOSED - CONFIRM] Sponsor, submission identifiers, and the document version and date are [NOT IN INPUT].

2 Protocol description

Title: Safety and Efficacy of the Xanomeline Transdermal Therapeutic System (TTS) in Patients with Mild to Moderate Alzheimer's Disease. [FROM INPUT] The study was Phase 2, ran from 06 July 2012 to 05 March 2015, and was conducted at 17 centers. [FROM INPUT] It was prospective, randomized, multi-center, double-blind, placebo-controlled and parallel-group. [FROM INPUT] Subjects were randomized equally to placebo, xanomeline low dose or xanomeline high dose. [FROM INPUT] They applied 2 patches daily and were followed for a total of 26 weeks. [FROM INPUT] 254 subjects were randomized (86 placebo, 84 xanomeline low dose, 84 xanomeline high dose). [FROM INPUT]

3 Analysis considerations related to multiple analysis datasets

Ten datasets are listed in define.xml. [FROM INPUT] The BDS datasets ADLBH and ADLBHY use the same structure as ADLBC, and ADQSCIBC and ADQSNPIX use the same structure as ADQSADAS. [FROM INPUT] The ADSL population flags are ITTFL, SAFFL, EFFFL and COMP24FL, with their derivations in the ADSL variable comments in define.xml. [FROM INPUT] The synopsis states that the primary analysis used the efficacy population, which corresponds to the EFFFL flag. [PROPOSED - CONFIRM] Which population flag each dataset or analysis uses, cross-dataset dependencies, and any common-dataset or ordering conventions are [NOT IN INPUT].

Sections 5 to 7, the open questions and the 18-row check table are in the download.

Swipe sideways to see every column.

Sections 1 to 3 of 7. Generated by Claude from the extract alone; tags removed here, shown in the download.

Draft for review. Public data only.

Get the next workflow by email

The prompt

Draft seven ADRG sections from the extract below: Introduction, Protocol Description, Multiple Analysis
Datasets, Data Creation and Processing, Dataset Overview, Data Conformance Summary, Submission of Programs.
Use only the extract. Point to define.xml instead of repeating derivations. Copy dataset labels exactly.
Write NOT IN INPUT for anything missing and list it once at the end.
Never say the package is conformant or ready.

EXTRACT: [paste]

Works in any chat assistant. Not tested in Microsoft 365 Copilot.

Sample input used here

CDISC pilot extract: synopsis, define.xml, ADSL flags

[Source A: CDISCPILOT01 CSR, section 2 Synopsis, pp.2-3. Quoted in part; "..." marks omitted text.]
Case Study Title: Safety and Efficacy of the Xanomeline Transdermal Therapeutic System (TTS) in Patients with Mild to Moderate Alzheimer's Disease
Development Phase: Phase 2. Study Period: 06 July 2012 to 05 March 2015. Conducted at 17 centers.
Methodology: This was a prospective, randomized, multi-center, double-blind, placebo-controlled, parallel-group study. Subjects were randomized equally to placebo, xanomeline low dose, or xanomeline high dose. Subjects applied 2 patches daily and were followed for a total of 26 weeks.
Number of Subjects Enrolled: 254 subjects were randomized (86 placebo, 84 xanomeline low dose, 84 xanomeline high dose)
Primary Efficacy Endpoints: ADAS-Cog (11) at Week 24; CIBIC+ at Week 24. Secondary: ADAS-Cog (11) and CIBIC+ at Weeks 8 and 16; mean NPI-X from Week 4 to Week 24. Safety: adverse events, vital signs, laboratory evaluations.
Statistical Methods: "The primary analysis of the ADAS-Cog (11) or CIBIC+ at Week 24 used the efficacy population with LOCF imputation for any missing values at Week 24." ... "Treatment emergent adverse events and serious adverse events were summarized by system organ class (SOC) and preferred term (PT)." ... "The time to the first dermatological event was compared across the treatment groups using Kaplan-Meier methods."

[Source B: adam_define.xml header, and the "ADaM Datasets for Study CDISCPILOT01" table, adam_define.pdf p.26]
define.xml: StandardName "CDISC ADaM", StandardVersion "2.1", DefineVersion "1.0.0", Study CDISCPILOT01.
Dataset | Description | Class | Structure | Documentation
ADSL | Subject-Level Analysis | ADSL | one record per subject | -

CDISC SDTM/ADaM Pilot Project (public), short excerpts, credited to CDISC.

How this was checked

Result

Generated by Claude on 2026-10-21.

Trace-checked. A second Claude agent checked each statement against the source. No script recomputed it. A person did not recheck every line.

Matched10 of 10 dataset rows and every study number match define.xml, the CSR and ADSL; no invented study facts in 54 checked; 3 FROM INPUT tags stretched the excerpt.
Left open54 statements: 32 correct, 8 partly, 14 wrongly said missing (answered by the pilot guide), 0 wrong.
Not in sourceNo public validation report exists, so every conformance statement is unverifiable.

Prompt shortened for this page. The output shown came from the earlier run of the longer prompt (2026-10-21).

The longer prompt that was checked

VERIFIED PROMPT (used for the run shown):
You are drafting sections of an Analysis Data Reviewer's Guide (ADRG) for a regulatory reviewer. Use ONLY the extract below. Do not use general knowledge about this or any study to fill gaps.

Draft a short paragraph or table for each section: 1 Introduction; 2 Protocol Description; 3 Analysis Considerations Related to Multiple Analysis Datasets; 4 Analysis Data Creation and Processing Issues; 5 Analysis Dataset Overview; 6 Data Conformance Summary; 7 Submission of Programs. Do not restate derivations the define file already holds; point to define.xml. Copy dataset labels exactly.

Tag every sentence [FROM INPUT] or [PROPOSED - CONFIRM]. If something needed is missing, write [NOT IN INPUT] once, and list it once under OPEN QUESTIONS. Do not invent numbers, dates, names, software, or validation results. Do not say or imply the package is conformant, validated, or ready for submission. End with a CHECK TABLE: statement | quote from the extract that supports it.

EXTRACT:
[excerpt pasted here]

VARIANT, section 6 (prompt only, no worked example; untested):
Rewrite my notes on each unresolved validation finding as short reviewer-guide text, one entry per finding:
rule ID, dataset, count, cause, effect on the analysis, decision.
Cause, effect and decision come only from my notes. If a note is missing, write NOT IN INPUT.
Do not suggest a fix.

A one-line prompt for comparison

Prompt: Write the ADRG sections for our Alzheimer's study.

I can draft these, but I don't have the study details yet (the instructions say not to read files), so the text below is a template with placeholders in [brackets]. Send me the protocol, SAP, and data specs and I'll fill it in. The sections follow the PHUSE/CDISC ADRG template.

**1. Introduction**
1.1 Purpose: This Analysis Data Reviewer's Guide (ADRG) describes the ADaM datasets and associated programs for Study [XXXX-###], a [phase] [randomized, double-blind, placebo-controlled] study of [drug] in participants with [mild cognitive impairment due to Alzheimer's disease / mild-to-moderate Alzheimer's disease]. It helps regulatory reviewers understand the analysis data structure, derivations, and traceability to SDTM.
1.2 Study Design Summary: [N] participants randomized [1:1] to [drug dose(s)] or placebo for [76] weeks. Primary endpoint: change from baseline in [CDR-SB / ADAS-Cog13 / iADRS] at Week [X]. Key secondary endpoints: [ADCS-ADL, MMSE, amyloid PET centiloid, plasma p-tau217, etc.]. Safety includes ARIA-E/ARIA-H from MRI, adverse events, and laboratory data.

**2. Protocol Description**
2.1 Protocol Number and Title: [ ]
2.2 Protocol Design in Relation to ADaM Concepts: Visit schedule, treatment periods (double-blind, open-label extension if applicable), and the baseline definition (last non-missing value before first dose). APOE e4 carrier status and baseline disease severity are stratification factors used as covariates.
2.3 Trial Design Diagram: [insert schema].

**3. Analysis Considerations**
3.1 Analysis Data Creation and Dependencies: SDTM version [3.x] and IG [3.x]. ADaM IG v1.[x]. Dataset flow: ADSL first; then BDS datasets (ADCDR, ADADAS, ADMMSE, ADADL, ADBIOM), ADAE, ADLB, ADVS, ADMRI (ARIA), and ADTTE if time-to-event endpoints exist.
3.2 Analysis Datasets Overview: ADSL (one record per subject), ADAE (OCCDS), BDS datasets as above, with analysis sets in ADSL flags (SAFFL, ITTFL, MITTFL, PPROTFL).
...

All 4 checks

  1. Tags help but are not proof: 3 FROM INPUT tags went slightly past the extract. Check section names against your current template.

csdrg-validation-finding-explanations is a variant prompt for section 6 here; it has no worked example.

Sources

Scripts

Related workflows

All workflows. How we check. Public data only. Drafts for review, not validated output.

Get one workflow a week

Unsubscribe anytime. Privacy.