Skip to main content

Featured Post

What is ADaM- Day:01 of Onco-ADaM project

ADaM, short for Analysis Data Model, transforms raw data into analysis-ready datasets, crucial for clinical research. While SDTM standardizes data, ADaM prepares it for analysis. Dive into the world of ADaM with me! Understanding its three key structures: 1. ADSL (Subject Level Analysis Dataset) ADSL: The backbone of analysis. 2. BDS (Basic Data Structure) ADLB, ADEX, ADEG, and ADVS: Building blocks for insightful analysis. 3. OCCDS (Occurrence Data Structure) ADCM, ADAE: Uncover critical occurrences for thorough analysis. To kickstart ADaM programming, essential documents include: 1. ADaM Implementation Guide ( ADaMIG ) 2. Protocol : The blueprint of study design and objectives. 3. CRF : Capturing crucial data points. 4. SAP : Guiding the analysis journey. 5. Mockup Shells : Visualizing dataset structures. 6. ADaM Specification : Navigating dataset creation. 7. Raw SDTM dataset : The foundation of analysis. In this project, armed with these documents, I started the journey by: 1. Prot...

Creation of OCCDS-ADAE Dataset- Day 04 of Onco-ADaM Project

 

Introduction

This is a statistical analysis data structure that describes the general data structure and content typically found in occurrence analysis.

For example like adverse events, concomitant medications, and medical history data structure.

Some required variables for OCCDS are:

  • Identifier Variables: STUDYID, USUBJID, — SEQ
  • MedDRA Dictionary Coding Variables: — TERM
  • Adverse Event Descriptive Variables: AESER(Serious Event)
  • WHO Drug Dictionary Coding Variables: CMTRT

ADAE stands for Adverse Events Analysis Dataset. The base datasets for ADAE is ADaM.ADSL, SDTM.AE, & SDTM.SUPPAE.

Variables

I am not including the general variables like USUBJID, SITEID, AGE, SEX, etc., and also not from ADSL. Note that the variables i mention is not limited to this.

  1. Adverse Event related variables
    • AESPID
    • AETERM
    • AEDECOD
    • ADECOD
    • AEBODSYS
    • AEBDSYCD
    • AESTDTC
    • AEENDTC
    • AEACN
    • AESHOSP
    • AECONTRT
    • AEREL
    • AREL
    • AEOUT
    • AEENRF
    • ASEV
    • ASEVN
    • AETOXGR
    • AEDLTTOX
    • AECMEDID
  2. Date & Time Imputation
    • ASTDT
    • ASTDTF
    • AENDT
    • AENDTF
  3. Study Day Variable
    • ASTDY
    • AENDY
  4. Flag Variables
    • TRTEMFL
    • FUPFL

Steps:

  1. Identify the SDTM datasets required for programming ADAE.
  2. Mark the variables that is carry forwarded from the ADSL dataset.
  3. Identify the variables that is as same as in SDTM datasets
  4. Transposing Supplemental dataset
    1. Create a variable AESEQ with the value of IDVARVAL in numeric format.
    2. Sort the above dataset by USUBJID and AESEQ
    3. Transpose the supplementary dataset.
    4. Merge with the main dataset AE.
  5. Merge the ADAE to ADSL dataset.
  6. Now create all the variables that are that is same but just the variable name is different. (for ex., ADECOD=AEDECOD)
  7. Creating Causality and severity related variable
  8. Date & Time and Imputation variable
    1. Creation of start date with imputation of partial date
    2. Creation of end date with imputation of partial date
  9. Creation of Study day variable
    1. Study start day variable
    2. Study end day variable
  10. Creating flag variables
    1. Creating Treatment Emergent Flag
    2. Creating Follow-up flag
  11. Final, keeping required variable and saving the file to the destination.

Key-notes

  • If any AE is started on or after the treatment start date, or on or after, a specific date of, treatment end date, we populate the treatment emergent flag as ‘Y’.
  • If any appear after the treatment end date, then we populate the follow-up flag as ‘Y’.

Important

If this the first post you read, then i highly recommend to read my last blogs on this series, link is below down:
Thank You for Visiting :)

Comments

Popular Post

Creation of ADSL Dataset - Day:02 of Onco-ADaM Project

 Introduction Hey everyone, welcome to day 2 of the Onco-ADaM project! Today, I'll be working on creating the ADSL dataset, which is similar to DM for SDTM. Let's keep it short and simple. ADSL stands for Subject-Level Analysis Dataset, containing one record per subject regardless of the clinical trial design. The main dataset for creating ADSL is SDTM.DM. We won't include every variable, as that's not the purpose of ADSL. It's designed to include variables necessary for analysis only. ADSL includes demographic information, key date variables, randomization factors, planned and actual treatment variables, subject-level population flag, subgrouping variables, and baseline values. Variables in ADSL I am not including the general variables like USUBJID, SITEID, AGE, SEX, etc. Note that the variables I mention is not limited to this. a. Key Date variables RFICDT (Informed Consent Date) RANNDT (Randomization Date) TRTSDT (Treatment Start Date) TRTEDT (Treatment...