== C0 file read: adam_adae.sas has 145 lines; ae rows 1191 ; adae rows 1191 ; adsl rows 254 == C1 (line 15, 120, 125, 131): program creates ADUR; delivered xpt has ADURN and ADURU instead only in xpt: ADURN ADURU program's retain list (lines 124-127) has 55 names incl. ADUR; xpt has 55 columns; ADUR in xpt: FALSE label of ADURN in xpt: AE Duration (N) | label given in program line 120: AE Duration (days) == C2 (lines 13-14, 28-31, 40-41): partial start dates AESTDTC length 4 (year only): 11 length 7 (YYYY-MM): 15 length 10: 1165 ASTDT missing after the program ran: 11 of which TRTEMFL='N': 11 year-only start year vs TRT start year (rows where the year equals the treatment-start year): 0 of 11 month-only starts imputed to day 01: 15 ; of these in the SAME month as TRTSDT: 0 month-only starts with TRTEMFL='Y': 6 'N': 9 AEENDTC blank (never imputed, so AENDT/AENDY/ADUR missing): 473 of 1191 == C3 (line 40): TRTEMFL has no upper bound TRTEMFL='Y' with ASTDT after TRTEDT: 35 ; largest gap (days): 14 TRTEMFL counts: N Y 65 1126 rows with TRTEMFL='N' and a non-missing ASTDT before TRTSDT: 54 == C4 (lines 42-47): CQ01NAM; see cq01_vs_csr.R for the comparison with CSR Table 12-2 lower-case letters in AEDECOD/AEBODSYS (index() and = are case-sensitive): 0 0 skin-SOC rows excluded by the hard-coded list in line 46: 21 ( ALOPECIA 1, COLD SWEAT 3, HYPERHIDROSIS 17 ) == C5 (lines 56-57, 65-68): first-occurrence ties. SAS PROC SORT keeps input order within ties (EQUALS), input order is AESEQ AOCCFL='Y' in xpt: 218 ; rows equal to the AESEQ tie-break: 218 ; rows equal to a reverse tie-break: 95 == C6 (lines 19-20, 25-27): ADSL key and SAFFL ADSL USUBJID unique: TRUE ; AE subjects missing from ADSL: 0 ; SAFFL values in ADAE: Y == C7 (line 37): ANLSTDY is derived and never kept ANLSTDY in xpt: FALSE == C8: text checks on the .sas file (lines are 1-based) lines starting a * comment or touching a /* */ comment: 13 of 145 hard-coded Windows paths on lines: 141 'endsas;' on line: 140 upper-case character literals in the CQ rule (line 42-47): 'APPLICATION' | 'DERMATITIS' | 'ERYTHEMA' | 'BLISTER' | 'SKIN AND SUBCUTANEOUS TISSUE DISORDERS' | 'COLD SWEAT' | 'HYPERHIDROSIS' | 'ALOPECIA' | 'DERMATOLOGIC EVENTS' == C9 (lines 81-82, 96-97): PT under more than one SOC; keys unique in SDTM AE PTs appearing under more than one SOC in ADAE: 0 SDTM AE (USUBJID, AESEQ) duplicated rows: 0 == C10 (lines 42-47, 90): effect of the CQ01 rule on AOCC01FL, compared with the PT list in CSR Table 12-2 subjects with a first TE dermatologic event: xpt AOCC01FL = 152 ; using the CSR Table 12-2 list = 152 AOCC01FL='Y' records that differ between the two: 0 subjects with any CQ01 row but none in the CSR list: 0