offdataai
CDISCSDTMClinical TrialsHealthcareData Modeling

CDISC SDTM Explained: Domains, Variables and Structure

What the CDISC Study Data Tabulation Model (SDTM) is, how its domains and observation classes are organised, the key variables, how SDTM relates to CDASH and ADaM, and how to model SDTM data in a warehouse.

ooffdataai5 min read

SDTM, the Study Data Tabulation Model, is the CDISC standard for organising the data collected in a clinical trial into a fixed set of datasets called domains, with standard names, variables and formats. Regulators such as the US FDA and Japan's PMDA require study data in CDISC standards for submissions, and SDTM is the standard for the tabulated (collected) data. The rules for applying it are in the SDTM Implementation Guide (SDTMIG).

This guide explains how SDTM is structured, the variables you see in every domain, and how SDTM data is usually modelled for analytics.

Where SDTM fits among CDISC standards

StandardPurpose
CDASHHow data is collected on case report forms
SDTMHow collected data is tabulated for submission
ADaMHow analysis datasets are derived from SDTM
Define-XMLMachine-readable metadata describing the datasets
Controlled TerminologyThe allowed values for coded variables

The usual flow is CDASH-based collection, then SDTM datasets, then ADaM analysis datasets, each with Define-XML metadata.

SDTM observation classes and domains

SDTM groups domains into classes. Each class has a standard set of variables.

ClassWhat it recordsExample domains
InterventionsTreatments given to or taken by the subjectEX (exposure), CM (concomitant medications), PR (procedures), SU (substance use)
EventsThings that happen to the subjectAE (adverse events), MH (medical history), DS (disposition), DV (protocol deviations)
FindingsMeasurements and test resultsLB (lab results), VS (vital signs), EG (ECG), PE (physical exam), QS (questionnaires), IE (inclusion/exclusion)
Findings AboutFindings about an event or interventionFA
Special-purposeSubject-level and visit informationDM (demographics), SV (subject visits), SE (subject elements), CO (comments)
Trial designHow the trial is plannedTA (arms), TE (elements), TV (visits), TI (inclusion/exclusion criteria), TS (summary)
RelationshipLinks between records and extra variablesRELREC, SUPP-- (supplemental qualifiers)

DM is the anchor: one row per subject, with USUBJID, arm, country, sex, age and reference dates. Every other domain refers back to it.

Key SDTM variables

Variables have roles: identifiers, topic, timing and qualifiers. Some appear in every domain, with the domain code replacing the -- prefix:

VariableRoleMeaning
STUDYIDIdentifierStudy identifier
DOMAINIdentifierTwo-letter domain code, such as LB
USUBJIDIdentifierUnique subject identifier across the whole submission
--SEQIdentifierSequence number, unique per subject within the domain
--TESTCD / --TESTTopicShort code and name of the test (Findings)
--TRT / --TERMTopicTreatment name (Interventions) or reported term (Events)
--ORRES / --ORRESUResult qualifierOriginal result and unit as collected
--STRESC / --STRESN / --STRESUResult qualifierStandardised result (character, numeric) and unit
VISITNUM / VISITTimingPlanned visit number and name
--DTCTimingDate and time in ISO 8601 text, such as 2026-03-14T09:30
--DYTimingStudy day relative to the reference start date

The Findings structure

Findings domains are long (vertical): one row per subject, per test, per time point. A lab panel with 20 tests at 6 visits for one subject is 120 rows in LB, not one wide row. This makes SDTM consistent and extensible, but it means most analytics needs pivoting or a well-designed model on top.

Supplemental qualifiers and RELREC

SDTM does not allow sponsors to add arbitrary columns to standard domains. Extra variables go into a SUPP-- dataset (for example SUPPAE) as name-value pairs linked by USUBJID, IDVAR and IDVARVAL. Relationships between records in different domains (an adverse event treated by a concomitant medication) are recorded in RELREC. Both are easy to forget in analytics and are a common source of missing data.

Modelling SDTM data in a warehouse

SDTM is a submission format, not an analytics model. Teams that want cross-study analysis, safety signal monitoring or operational dashboards usually build on top of it:

  • A conformed subject dimension from DM, keyed on USUBJID, with arm, demographics and reference dates.
  • A study dimension from TS and the trial design domains.
  • A visit dimension from TV and SV.
  • Fact tables per class: adverse events, exposure, lab results and vital signs, each at its SDTM grain.
  • SUPP-- qualifiers pivoted back onto their parent records.
  • ISO 8601 dates parsed into proper dates, keeping partial dates (2026-03) as text with an imputation flag rather than guessing.

offdataai has a ready-made Clinical Trials (CDISC SDTM) data model template you can open, adapt and generate as DDL for Snowflake, Databricks, BigQuery and other warehouses. See all healthcare and life sciences templates.

Frequently asked questions

What does SDTM stand for?

Study Data Tabulation Model. It is a CDISC standard for organising clinical trial data for regulatory submission.

What is the difference between SDTM and ADaM?

SDTM holds the collected data in standard domains. ADaM holds analysis-ready datasets derived from SDTM, such as subject-level (ADSL) and time-to-event datasets, built to support the statistical analysis plan.

Is SDTM required by the FDA?

The FDA requires study data in the standards listed in its Data Standards Catalog for many submission types, and SDTM is the listed standard for tabulation data. Check current FDA guidance for the rules that apply to your study.

What are SDTM domains?

Domains are the standard datasets, each identified by a two-letter code: DM for demographics, AE for adverse events, LB for laboratory results, VS for vital signs, and so on.

What format are SDTM datasets submitted in?

Traditionally SAS Version 5 transport (XPT) files, accompanied by Define-XML metadata. Check current regulatory guidance for accepted formats.

Try offdataai

Ship a warehouse from a single conversation.

Describe your domain. Get ERDs, DDL, dbt projects, and seed data for every major cloud warehouse.

Start building

Keep reading

All posts →