[adam_define.xml, ADAE ItemDef comments; typographic quotes normalised] TRTSDT (Date of First Exposure to Treatment): ADSL.TRTSDT ASTDT (Analysis Start Date): AE.AESTDTC, converted to a numeric SAS date. Some events with partial dates are imputed in a conservative manner. If the day component is missing, a value of '01' is used. If both the month and day are missing no imputation is performed as these dates clearly indicate a start prior to the beginning of treatment. There are no events with completely missing start dates. ASTDTF (Analysis Start Date Imputation Flag): ASTDTF='D' if the day value within the character date is imputed. Note that only day values needed to be imputed for this study. AENDT (Analysis End Date): AE.AEENDTC, converted to a numeric SAS date ASTDY (Analysis Start Relative Day): IF ASTDT>=TRTSDT>MISSING then ASTDY=ASTDT-TRTSDT+1 Else if TRTSDT>ASTDT>MISSING then ASTDY=ASTDT-TRTSDT AENDY (Analysis End Relative Day): IF AENDT>=TRTSDT>MISSING then AENDY=AENDT-TRTSDT+1 Else if TRTSDT>AENDT>MISSING then AENDY=AENDT-TRTSDT ADURN (AE Duration (N)): ADURN=AENDT-ASTDT+1 ADURU (AE Duration Units): If ADURN is not missing then ADURU='DAY' TRTEMFL (Treatment Emergent Analysis Flag): If ASTDT >= TRTSDT > . then TRTEMFL='Y'. Otherwise TRTEMFL='N' AOCCFL (1st Occurrence of Any AE Flag): Subset to TRTEMFL='Y' and sort by Subject (USUBJID), Start Date (ASTDT), and Sequence Number (AESEQ) and flag the first record (set AOCCFL='Y') within each Subject AOCCSFL (1st Occurrence of SOC Flag): Subset to TRTEMFL='Y' and sort by Subject (USUBJID), System Organ Class (AEBODSYS), Start Date (ASTDT), and Sequence Number (AESEQ) and flag the first record (set AOCCSFL='Y') within each Subject and SOC AOCCPFL (1st Occurrence of Preferred Term Flag): Subset to TRTEMFL='Y' and sort by Subject (USUBJID), System Organ Class (AEBODSYS), Preferred Term (AEDECOD), Start Date (ASTDT), and Sequence Number (AESEQ) and flag the first record (set AOCCPFL='Y') within each Subject, SOC, and PT AOCC02FL (1st Occurrence 02 Flag for Serious): Subset to TRTEMFL='Y' and AESER='Y' and sort by Subject (USUBJID), Start Date (ASTDT), and Sequence Number (AESEQ) and flag the first record (set AOCC02FL='Y') within each Subject CQ01NAM (Customized Query 01 Name): If AEDECOD contains any of the character strings of ('APPLICATION', 'DERMATITIS', 'ERYTHEMA', 'BLISTER') OR if AEBODSYS='SKIN AND SUBC UTANEOUS TISSUE DISORDERS' but AEDECOD is not in ('COLD SWEAT', 'HYPERHIDROSIS', 'ALOPECIA') then CQ01NAM='DERMATOLOGIC EVENTS' Otherwise CQ01NAM=NULL AOCC01FL (1st Occurrence 01 Flag for CQ01): Subset to CQ01NAM='' and TRTEMFL='Y' and sort by Subject (USUBJID), Start Date (ASTDT), and Sequence Number (AESEQ) and flag the first record (set AOCC01FL='Y') within each Subject (Flag First Treatment Emergent Dermatological Event for Time to Event Analysis) [Input files: sdtm_ae.xpt, one row per adverse event (USUBJID, AESEQ, AEDECOD, AEBODSYS, AESER, AESTDTC, AEENDTC); adam_adsl.xpt, one row per subject (USUBJID, TRTSDT).]