Appendix A: Source Data Programs

adverse Dataset

demographics Dataset

dosing Dataset

laboratory Dataset

pain scores Dataset

This appendix presents Base SAS programs that you can run to generate the source data for the SDTM datasets. The trial design dataset source data are available as a Microsoft Excel file called trialdesign.xlsx that can be downloaded from the author page for this book. See

adverse Dataset


demographics Dataset

proc format;

   value trt

      1 = "Active"

      0 = "Placebo";

   value gender

      1 = "Male"

      2 = "Female";

   value race

      1 = "White"

      2 = "Black"

Get Implementing CDISC Using SAS now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.