ADaM Core ⏱️ 6 min read

ADSL Subject-Level Analysis Dataset: Derivation Rules & Keys

Master the structure of ADSL, the single most critical dataset in any clinical trial submission.

Made2Stick
Made2Stick Editorial Team Reviewed by Senior Clinical Research & CDISC Faculty

📌 Direct Answer / Executive Definition

ADSL (Subject-Level Analysis Dataset) is the mandatory master dataset in CDISC ADaM containing exactly one record per subject. It contains demographic attributes, baseline characteristics, treatment start/end dates, treatment duration, and population analysis flags (SAFFL, ITTFL, PPROTFL) used across all subsequent analysis domains.

🎬 Classroom Video Blueprint: ADSL Subject-Level Analysis Dataset: Derivation Rules & Keys
Masterclass Frame
ADSL Subject-Level Analysis Dataset: Derivation Rules & Keys Video Slide ▶ Watch in Video Player →

Why ADSL Subject-Level Architecture Matters in Clinical Submissions

Every BDS analysis dataset (ADAE, ADLB, ADVS, ADTTE) merges with ADSL to inherit treatment arms, baseline covariates, and safety flags.

Standard Syntax, Derivation & Framework Pattern

/* Building Key Baseline Flags in ADSL */
DATA adam.adsl;
    SET sdtm.dm;
    
    /* Standard Character & Numeric Treatment Variables */
    IF ARM = 'Drug X 50mg' THEN TRT01PN = 1;
    ELSE IF ARM = 'Drug X 100mg' THEN TRT01PN = 2;
    ELSE IF ARM = 'Placebo' THEN TRT01PN = 3;
    TRT01P = ARM;
    
    /* Age Group Categorization */
    LENGTH AGEGR1 $20;
    IF AGE < 65 THEN AGEGR1 = '<65 years';
    ELSE IF AGE >= 65 THEN AGEGR1 = '>=65 years';
    
    /* Intent-to-Treat & Safety Population Flags */
    IF ARM NE 'Screen Failure' THEN ITTFL = 'Y';
    ELSE ITTFL = 'N';
RUN;

Core Rules & Certification Takeaways

  • ADSL has exactly one observation per subject (USUBJID is the primary unique sorting key).
  • Contains paired character and numeric variables for treatment (TRT01P / TRT01PN) and stratification factors.
  • Stores master dates: TRTSDT (Treatment Start Date), TRTEDT (Treatment End Date), and TRTDURD (Treatment Duration in Days).
  • Acts as the denominator donor for calculating incidence percentages in AE and Safety tables.

🔗 Related Architectural Concepts & Next Steps

Deepen your mastery with connected topics across our curriculum and knowledge hubs.

TLFs Reporting Clinical
Building Demographics Table 14.1.1 Read Guide →
Safety Analysis Clinical
ADAE Safety Merges & Denominators Read Guide →
Data Reshaping SAS
PROC TRANSPOSE Long-to-Wide Restructuring Read Guide →

Frequently Asked Questions (FAQ)

Why does ADSL have only one record per subject?

ADSL represents subject-level metadata. Having exactly one row per subject guarantees consistent population denominators and baseline characteristics across all clinical trial reporting.

What is the difference between TRT01P and TRT01A in ADSL?

TRT01P represents Planned Treatment (the arm randomized to receive), while TRT01A represents Actual Treatment (the drug dose actually administered).

Want complete video breakdowns & exercises?

Explore full step-by-step masterclass training in Clinical SAS Programming & Clinical Trials.

Enroll in Clinical SAS Masterclass →
← Back to Clinical SAS & CDISC Knowledge Hub Overview