SlideShare a Scribd company logo
2
Most read
8
Most read
14
Most read
How to Build ADaM Basic Data
Structure from Mock Up tables
By Kevin Lee
Cytel, Inc.

1
Instruction of Basic Data Structure
BDS is the standard domain structure in ADaM.
BDS is designed as one or more records per subject
per analysis parameter per analysis time point.
One of the main purposes of ADaM BDS is analysisready, meaning that all the numbers in the final
report should be calculated with one procedure in
SAS.
The naming convention of BDS is ADxxxxxx.

2
BDS Structure
Subject Identifier Variables
Treatment Variables
Timing Variables
Analysis Parameter Variables
Analysis Descriptor Variables
Indicator Variables
Analysis Enabling Variables
Data Point Traceability Variables
SDTM Variables
3
Steps to create ADaM BDS from Mock Up tables
Design Mock Up Tables (typically created by
Statistician) according to SAP
Annotate Mock Up Tables
Design Metadata according to Mock Up
Tables
Create ADaM BDS data sets according to
Metadata

4
Flowchart
SAP

Mock Up tables

Metadata

Annotated
Mock Up tables

SDTM
5

ADaM

TFL
Mock Up table
Table 14.4.1
Summary of table of Creatine at baseline
(Per Protocol Population)

Group 1:
Treatment 1
(N=xxx)
n
Mean
Observed
Value
Creatine
Log of
Creatine

6

n

Group 2:
Placebo
(N=xxx)
Mean
Observed
Value
Annotated Mock Up table
Table 14.4.1
Summary of table of Creatine at baseline ADLB.AVISIT=‘BASELINE’
(Per Protocol Population) ADLB.PPROTFL=‘Y’
Group 1:
Treatment 1
(N=xxx)
ADLB.TRTAN = 1
n

Creatine
where ADLB.
PARAMCD=‘CREAT’

Mean
Observed
Value

Count(
ADLB.
AVAL)

MEAN(ADL
B.AVAL)

Log of Creatine
where ADLB.
PARAMCD=‘L10CREAT’

7

Group 2:
Placebo
(N=xxx)
ADLB.TRTAN = 2
n

Mean
Observed
Value

Count MEAN(ADLB.
(ADLB AVAL)
.AVAL)
New Variables according to annotation
Protocol population variable – PPROTFL
Baseline – AVISIT, AVISITN
Treatment variable – TRTAN, TRTA
Parameter Variable – PARAM, PARAMCD
Observed Mean Value Variable – AVAL
New Parameters according to annotation
Creatine – Its paramcd is “CREAT” and its analysis
values, AVAL, come from LB.LBSTRESN.
Log of Creatine – Its paramcd is “L10CREAT” and
its analysis values, AVAL, come from log of
LB.LBSTRESN.

8
Analysis Dataset Metadata
Class of Documentation
Dataset

Dataset
Name

Dataset
Description

Dataset
Location

Dataset
Structure

Key
variables
of
Dataset

ADLB

Laboratory
analysis
data

ADLB.xpt

one record
per subject
per
parameter
per
analysis
timepoint

USUBJID, BDS
PARAM,
AVISIT

9

ADLB.SAS
Analysis Variable Metadata including Analysis
Parameter Value-Level Metadata
Parameter
Identifier

Variable
Name

Variable
Label

Type

Format

Codelist/
Controlle
d Term

Source/
Derivation

Subject Identifier Variables
** ALL **

STUDYID

Study
Identifier

Char

$12.

** ALL **

ADDOMAIN

Analysis
Domain

Char

$8.

** ALL **

USUBJID

Unique
Subject
Identifier

Char

$20.

LB.USUBJID

** ALL **

SUBJID

Subject
Identifier for
the Study

Char

$8.

ADSL.SUBJID

** ALL **

SITEID

Study Site
Identifier

Char

$10.

ADSL.SITEID

10

ADSL.STUDYID
ADLB

Derived
Parameter
Identifier

Variable
Name

Variable
Label

Type

For
mat

Codelist/Contr
olled Term

Source/
Derivation

Treatment Variables
** ALL **

TRTA

Actual
Treatment
Group

Char

$20.

ADSL.TRTA

** ALL **

TRTAN

Actual
Treatment
Number

Num

8.

ADSL.TRTAN

Timing Variables
** ALL **

AVISIT

Analysis
Timepoint
Description

Char

$50.

BASELINE
VISIT 1

LB.VISIT

** ALL **

AVISITN

Analysis
Timepoint
Number

Num

8.

0 = BASELINE
1 = VISIT 1

LB.VISITNUM

11
Parameter
Identifier

Variable
Name

Variable Label

Type Form
at

Codelist/C
ontrolled
Term

Source/
Derivation

Analysis Parameter Variables
CREAT

PARAM

Parameter
Description

Char $100.

Creatine(
mg/dL)

LB.LBTESTCD
+ unit

L10CREAT PARAM

Parameter
Description

Char $100.

Log of
Creatine(
mg/dL)

LB.LBTESTCD
+ unit

** ALL **

Parameter Code Char $8.

CREAT
LB.LBTESTCD
L10CREAT

L10CREAT PARAMTYP

Parameter Type

Char $8.

DERIVED

CREAT

AVAL

Analysis Value

Num 8.

LB.LBSTRESN

L10CREAT AVAL

Analysis Value

Num 8.

Log10(LB.LBST
RESN)

PARAMCD

12
Parameter
Identifier

Variable
Name

Variable Label

Type

For
mat

Codelist/Co Source/
ntrolled
Derivation
Term

Indicator Variables
** ALL **

PPROTFL Per Protocol
Population Flag

Char

$1.

ADSL.PPROT
FL

** ALL **

ABLFL

Baseline Flag

Char

$1.

‘Y’ at
ADLB.AVISIT=
‘BASELINE’

Supportive Variables
** ALL **

SRCDOM

Source Domain

Char

$8.

LB

** ALL **

SRCVAR

Source Variable

Char

$8.

LBSTRESN

** ALL **

SRCSEQ

Source Sequence
Number

Num

8.

13

LB.LBSEQ
Other Possible Variables
Analysis Parameter Variables - BASE, CHG
Analysis Descriptor variables – DTYPE
Categorical variables - CRIT1 and CRIT1FL
Indicator variables - ANL1FL

Sample codes using ADaM data set
proc sql;
**** The Count for and Mean value for Creatine and log of Creatine for
protocol population at Baseline;
create table line1_1 as
select trtan, paramcd, count(aval) as count, mean(aval) as mean
from adlb
where paramcd in (‘CREAT’, ‘L10CREAT’) and avisit = ‘BASELINE’
and pprotfl = ‘Y’ and aval is not missing
group by trtan, paramcd;
quit;

14
Advantages using Annotated Mock Up tables
Easy to create the metadata
Analysis Dataset metadata
Analysis Variable metadata
Analysis Parameter Value-level metadata
Analysis Results metadata

Easy to explain
Easy for SAS programmers to follow
More visual
More accurate number of ADaM data sets

15
Conclusion
ADaM is structured as analysis-ready. In order to build
analysis-ready ADaM data sets, SAS programmers need to
start from analysis, which are Mock Up tables. From Mock
Up tables, SAS programmers figure out what procedures
could be used for the analysis. Based on the procedure
statements and analyses, SAS programmers annotate the
Mock Up tables. The annotations on the Mock Up tables will
help SAS programmers to find out what variables are
needed in the analyses and eventually what variables and
parameters should be created in ADaM data sets. SAS
programmers now can create Metadata according to the
annotations. According to Metadata, SAS programmers can
create ADaM data sets from SDTM data sets. From ADaM
data sets, SAS programmers will be able to produce all the
results in the Mock Up tables using one proc procedure.

16
Contact Information
Kevin Lee
Cytel, Inc.
Chesterbrook, PA
(610) 994 - 9840
Email:Kevin.lee@cytel.com

17

More Related Content

PPTX
ADaM - Where Do I Start?
PDF
Cdisc sdtm implementation_process _v1
PPT
Finding everything about findings about (fa)
PPTX
SDTM Fnal Detail Training
PPTX
CDISC SDTM and ADaM for survival data
PPT
SDTM - Adverse Events Vs. Clinical Events
PPT
SDTM modelling: from study protocol to SDTM-compliant datasets
PPT
Trial Design Domains
ADaM - Where Do I Start?
Cdisc sdtm implementation_process _v1
Finding everything about findings about (fa)
SDTM Fnal Detail Training
CDISC SDTM and ADaM for survival data
SDTM - Adverse Events Vs. Clinical Events
SDTM modelling: from study protocol to SDTM-compliant datasets
Trial Design Domains

What's hot (20)

PDF
INTERPRETING CDISC ADaM IG THROUGH USERS INTERPRETATION
PDF
A complex ADaM dataset - three different ways to create one
PDF
Why ADaM for a statistician?
PPTX
Metadata and ADaM
PPT
CDISC SDTM Domain Presentation
PPTX
SDTM (Study Data Tabulation Model)
PPTX
A Systematic Review of ADaM IG Interpretation
PPTX
Introduction to SDTM
PDF
Implementation of CDISC ADAM in The Pharmacokinetics Department
 
PDF
CDISC's CDASH and SDTM: Why You Need Both!
PPTX
Post-lock Data Flow: From CRF to FDA
PPT
CLINICAL STUDY REPORT - IN-TEXT TABLES, TABLES FIGURES AND GRAPHS, PATIENT AN...
PPT
Base SAS Statistics Procedures
PPT
Study data tabulation model
PDF
PDF
Oncology Therapeutic Area Workshop
PPTX
Presentation on CDISC- SDTM guidelines.
PPTX
regulatory.pptx
PPTX
CDISC Electronic Submission to FDA
PPT
CDISCs_SDTM_basics.ppt
INTERPRETING CDISC ADaM IG THROUGH USERS INTERPRETATION
A complex ADaM dataset - three different ways to create one
Why ADaM for a statistician?
Metadata and ADaM
CDISC SDTM Domain Presentation
SDTM (Study Data Tabulation Model)
A Systematic Review of ADaM IG Interpretation
Introduction to SDTM
Implementation of CDISC ADAM in The Pharmacokinetics Department
 
CDISC's CDASH and SDTM: Why You Need Both!
Post-lock Data Flow: From CRF to FDA
CLINICAL STUDY REPORT - IN-TEXT TABLES, TABLES FIGURES AND GRAPHS, PATIENT AN...
Base SAS Statistics Procedures
Study data tabulation model
Oncology Therapeutic Area Workshop
Presentation on CDISC- SDTM guidelines.
regulatory.pptx
CDISC Electronic Submission to FDA
CDISCs_SDTM_basics.ppt
Ad

Similar to How to build ADaM BDS dataset from mock up table (14)

PPTX
Session4_TrackA_Workshop_Tinazzi_Faini.pptx
PPTX
A Systematic Review of ADaM IG Interpretation presented by Angelo Tinazzi, Cytel
PPTX
Combining process metadata and cdisc metadata to achieve automation
PDF
Interpreting CDISC ADaM IG through Users Interpretation
PPTX
CLINICAL SAS PROGRAMMING course details.pptx
PDF
data warehousing
PPT
Standardization of “Safety Drug” Reporting Applications
PDF
Creating a Coding Book in IBM SPSS Statistics
PDF
Elements of Data Documentation
PDF
An Easier Way to Prepare Clinical Trial Data for Reporting and Analysis
PPTX
Running a Codebook in IBM SPSS Statistics .pptx
PDF
1 a slides
PPTX
SPSS Statistics - Running a Codebook.pptx
PPTX
4 Statistical Software.pptx
Session4_TrackA_Workshop_Tinazzi_Faini.pptx
A Systematic Review of ADaM IG Interpretation presented by Angelo Tinazzi, Cytel
Combining process metadata and cdisc metadata to achieve automation
Interpreting CDISC ADaM IG through Users Interpretation
CLINICAL SAS PROGRAMMING course details.pptx
data warehousing
Standardization of “Safety Drug” Reporting Applications
Creating a Coding Book in IBM SPSS Statistics
Elements of Data Documentation
An Easier Way to Prepare Clinical Trial Data for Reporting and Analysis
Running a Codebook in IBM SPSS Statistics .pptx
1 a slides
SPSS Statistics - Running a Codebook.pptx
4 Statistical Software.pptx
Ad

More from Kevin Lee (20)

PDF
Patient’s Journey using Real World Data and its Advanced Analytics
PDF
Introduction of AWS Cloud Computing and its future for Biometric Department
PDF
A fear of missing out and a fear of messing up : A Strategic Roadmap for Chat...
PDF
Prompt it, not Google it - Prompt Engineering for Data Scientists
PPTX
Leading into the Unknown? Yes, we need Change Management Leadership
PDF
How to create SDTM DM.xpt using Python v1.1
PDF
Enterprise-level Transition from SAS to Open-source Programming for the whole...
PDF
How I became ML Engineer
PDF
Artificial Intelligence in Pharmaceutical Industry
PDF
Tell stories with jupyter notebook
PDF
Perfect partnership - machine learning and CDISC standard data
PDF
Machine Learning : why we should know and how it works
PDF
Big data for SAS programmers
PDF
Big data in pharmaceutical industry
PDF
How FDA will reject non compliant electronic submission
PDF
End to end standards driven oncology study (solid tumor, Immunotherapy, Leuke...
PDF
Are you ready for Dec 17, 2016 - CDISC compliant data?
PDF
SAS integration with NoSQL data
PDF
Introduction of semantic technology for SAS programmers
PPTX
Standards Metadata Management (system)
Patient’s Journey using Real World Data and its Advanced Analytics
Introduction of AWS Cloud Computing and its future for Biometric Department
A fear of missing out and a fear of messing up : A Strategic Roadmap for Chat...
Prompt it, not Google it - Prompt Engineering for Data Scientists
Leading into the Unknown? Yes, we need Change Management Leadership
How to create SDTM DM.xpt using Python v1.1
Enterprise-level Transition from SAS to Open-source Programming for the whole...
How I became ML Engineer
Artificial Intelligence in Pharmaceutical Industry
Tell stories with jupyter notebook
Perfect partnership - machine learning and CDISC standard data
Machine Learning : why we should know and how it works
Big data for SAS programmers
Big data in pharmaceutical industry
How FDA will reject non compliant electronic submission
End to end standards driven oncology study (solid tumor, Immunotherapy, Leuke...
Are you ready for Dec 17, 2016 - CDISC compliant data?
SAS integration with NoSQL data
Introduction of semantic technology for SAS programmers
Standards Metadata Management (system)

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
A Presentation on Artificial Intelligence
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Encapsulation theory and applications.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Assigned Numbers - 2025 - Bluetooth® Document
Agricultural_Statistics_at_a_Glance_2022_0.pdf
SOPHOS-XG Firewall Administrator PPT.pptx
MIND Revenue Release Quarter 2 2025 Press Release
Network Security Unit 5.pdf for BCA BBA.
NewMind AI Weekly Chronicles - August'25-Week II
Spectral efficient network and resource selection model in 5G networks
MYSQL Presentation for SQL database connectivity
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Encapsulation_ Review paper, used for researhc scholars
A Presentation on Artificial Intelligence
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Per capita expenditure prediction using model stacking based on satellite ima...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Electronic commerce courselecture one. Pdf
Programs and apps: productivity, graphics, security and other tools
A comparative analysis of optical character recognition models for extracting...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx

How to build ADaM BDS dataset from mock up table

  • 1. How to Build ADaM Basic Data Structure from Mock Up tables By Kevin Lee Cytel, Inc. 1
  • 2. Instruction of Basic Data Structure BDS is the standard domain structure in ADaM. BDS is designed as one or more records per subject per analysis parameter per analysis time point. One of the main purposes of ADaM BDS is analysisready, meaning that all the numbers in the final report should be calculated with one procedure in SAS. The naming convention of BDS is ADxxxxxx. 2
  • 3. BDS Structure Subject Identifier Variables Treatment Variables Timing Variables Analysis Parameter Variables Analysis Descriptor Variables Indicator Variables Analysis Enabling Variables Data Point Traceability Variables SDTM Variables 3
  • 4. Steps to create ADaM BDS from Mock Up tables Design Mock Up Tables (typically created by Statistician) according to SAP Annotate Mock Up Tables Design Metadata according to Mock Up Tables Create ADaM BDS data sets according to Metadata 4
  • 6. Mock Up table Table 14.4.1 Summary of table of Creatine at baseline (Per Protocol Population) Group 1: Treatment 1 (N=xxx) n Mean Observed Value Creatine Log of Creatine 6 n Group 2: Placebo (N=xxx) Mean Observed Value
  • 7. Annotated Mock Up table Table 14.4.1 Summary of table of Creatine at baseline ADLB.AVISIT=‘BASELINE’ (Per Protocol Population) ADLB.PPROTFL=‘Y’ Group 1: Treatment 1 (N=xxx) ADLB.TRTAN = 1 n Creatine where ADLB. PARAMCD=‘CREAT’ Mean Observed Value Count( ADLB. AVAL) MEAN(ADL B.AVAL) Log of Creatine where ADLB. PARAMCD=‘L10CREAT’ 7 Group 2: Placebo (N=xxx) ADLB.TRTAN = 2 n Mean Observed Value Count MEAN(ADLB. (ADLB AVAL) .AVAL)
  • 8. New Variables according to annotation Protocol population variable – PPROTFL Baseline – AVISIT, AVISITN Treatment variable – TRTAN, TRTA Parameter Variable – PARAM, PARAMCD Observed Mean Value Variable – AVAL New Parameters according to annotation Creatine – Its paramcd is “CREAT” and its analysis values, AVAL, come from LB.LBSTRESN. Log of Creatine – Its paramcd is “L10CREAT” and its analysis values, AVAL, come from log of LB.LBSTRESN. 8
  • 9. Analysis Dataset Metadata Class of Documentation Dataset Dataset Name Dataset Description Dataset Location Dataset Structure Key variables of Dataset ADLB Laboratory analysis data ADLB.xpt one record per subject per parameter per analysis timepoint USUBJID, BDS PARAM, AVISIT 9 ADLB.SAS
  • 10. Analysis Variable Metadata including Analysis Parameter Value-Level Metadata Parameter Identifier Variable Name Variable Label Type Format Codelist/ Controlle d Term Source/ Derivation Subject Identifier Variables ** ALL ** STUDYID Study Identifier Char $12. ** ALL ** ADDOMAIN Analysis Domain Char $8. ** ALL ** USUBJID Unique Subject Identifier Char $20. LB.USUBJID ** ALL ** SUBJID Subject Identifier for the Study Char $8. ADSL.SUBJID ** ALL ** SITEID Study Site Identifier Char $10. ADSL.SITEID 10 ADSL.STUDYID ADLB Derived
  • 11. Parameter Identifier Variable Name Variable Label Type For mat Codelist/Contr olled Term Source/ Derivation Treatment Variables ** ALL ** TRTA Actual Treatment Group Char $20. ADSL.TRTA ** ALL ** TRTAN Actual Treatment Number Num 8. ADSL.TRTAN Timing Variables ** ALL ** AVISIT Analysis Timepoint Description Char $50. BASELINE VISIT 1 LB.VISIT ** ALL ** AVISITN Analysis Timepoint Number Num 8. 0 = BASELINE 1 = VISIT 1 LB.VISITNUM 11
  • 12. Parameter Identifier Variable Name Variable Label Type Form at Codelist/C ontrolled Term Source/ Derivation Analysis Parameter Variables CREAT PARAM Parameter Description Char $100. Creatine( mg/dL) LB.LBTESTCD + unit L10CREAT PARAM Parameter Description Char $100. Log of Creatine( mg/dL) LB.LBTESTCD + unit ** ALL ** Parameter Code Char $8. CREAT LB.LBTESTCD L10CREAT L10CREAT PARAMTYP Parameter Type Char $8. DERIVED CREAT AVAL Analysis Value Num 8. LB.LBSTRESN L10CREAT AVAL Analysis Value Num 8. Log10(LB.LBST RESN) PARAMCD 12
  • 13. Parameter Identifier Variable Name Variable Label Type For mat Codelist/Co Source/ ntrolled Derivation Term Indicator Variables ** ALL ** PPROTFL Per Protocol Population Flag Char $1. ADSL.PPROT FL ** ALL ** ABLFL Baseline Flag Char $1. ‘Y’ at ADLB.AVISIT= ‘BASELINE’ Supportive Variables ** ALL ** SRCDOM Source Domain Char $8. LB ** ALL ** SRCVAR Source Variable Char $8. LBSTRESN ** ALL ** SRCSEQ Source Sequence Number Num 8. 13 LB.LBSEQ
  • 14. Other Possible Variables Analysis Parameter Variables - BASE, CHG Analysis Descriptor variables – DTYPE Categorical variables - CRIT1 and CRIT1FL Indicator variables - ANL1FL Sample codes using ADaM data set proc sql; **** The Count for and Mean value for Creatine and log of Creatine for protocol population at Baseline; create table line1_1 as select trtan, paramcd, count(aval) as count, mean(aval) as mean from adlb where paramcd in (‘CREAT’, ‘L10CREAT’) and avisit = ‘BASELINE’ and pprotfl = ‘Y’ and aval is not missing group by trtan, paramcd; quit; 14
  • 15. Advantages using Annotated Mock Up tables Easy to create the metadata Analysis Dataset metadata Analysis Variable metadata Analysis Parameter Value-level metadata Analysis Results metadata Easy to explain Easy for SAS programmers to follow More visual More accurate number of ADaM data sets 15
  • 16. Conclusion ADaM is structured as analysis-ready. In order to build analysis-ready ADaM data sets, SAS programmers need to start from analysis, which are Mock Up tables. From Mock Up tables, SAS programmers figure out what procedures could be used for the analysis. Based on the procedure statements and analyses, SAS programmers annotate the Mock Up tables. The annotations on the Mock Up tables will help SAS programmers to find out what variables are needed in the analyses and eventually what variables and parameters should be created in ADaM data sets. SAS programmers now can create Metadata according to the annotations. According to Metadata, SAS programmers can create ADaM data sets from SDTM data sets. From ADaM data sets, SAS programmers will be able to produce all the results in the Mock Up tables using one proc procedure. 16
  • 17. Contact Information Kevin Lee Cytel, Inc. Chesterbrook, PA (610) 994 - 9840 Email:Kevin.lee@cytel.com 17