Dive into CDISC Express (5): Generate and Validate SDTM domains and define.xml

This post was kindly contributed by From a Logical Point of View » SAS - go there to comment and to read the full post.

Dive into CDISC Express (1): Introductory

Dive into CDISC Express (2): Create a New Study

Dive into CDISC Express (3): Navigate mapping file

Dive into CDISC Express (4): Data manipulation techniques

A more friendly PDF version of these all CDISC Express series is also available in

http://jiangtanghu.com/docs/en/CDISCExpress.pdf

The following tasks, such as generating SDTM domains and define.xml, need just some clicking button work in CDISC Express using a well designed mapping file. Few words needed due to the software.

5. Step 3 of 6: Validate mapping file (Validate_Mapping_File.sas)

It would be back and forth to design, validate then modify and re-validate the mapping file. And sure finally, you will get all the work done, at least no syntax error (how to avoid semantic errors is upon your domain knowledge). A validated mapping file, named mapping.xls will be copied to …\ doc\Mapping file – validated version\ from the working file, tmpmaping.xls. You will see

The corresponding log file in folder …\ log\

A report in …\results\Mapping Validation\, named Mapping_validation.html

validate

Also the temporary datasets in …\tempdata\ and …\temp\:

clip_image004

clip_image006

6. Step 4 of 6: Generate SDTM datasets (generate_SDTM.sas)

If mapping file is OK, generating SDTM domains is just clicking the button. After submitting the codes, you will see the log file, reports, SDTM datasets and temporary datasets in corresponding folders:

SDTM

7. Step 5 of 6: Validate SDTM datasets (Validate_SDTM_Domains.sas)

The outputs files of validating SDTM datasets are all located in C:\Program Files\CDISC Express\SDTM Validation\:

clip_image010

8. Step 6 of 6: Generate Define.xml and xpt (generate_Definexml.sas)

Get the final define.xml file and SAS transport files (.xpt):

clip_image012

9. Recommended reading and action taken

For a quick start and deep understanding, you could read the official documentations in the following sequence:

C:\Program Files\CDISC Express\documentation\FAQ.htm

C:\Program Files\CDISC Express\documentation\Quick Start.htm

C:\Program Files\CDISC Express\documentation\User guide.htm

A video tutorial would be also helpful:

C:\Program Files\CDISC Express\documentation\videotutorial.htm

A must-read conference paper, An Excel Framework to Convert Clinical Data to CDISC SDTM Leveraging SAS Technology by Sophie McCallum and Stephen Chan of Clinovo, supplies a wonderful discussion the architectures of CDISC Express:

http://www.lexjansen.com/pharmasug/2011/ad/pharmasug-2011-ad08.pdf

Of course, you do not need to review all the pages then get the confidence to use the software. Learn by doing and just dive into it. There is an opportunity for your practicing and you will also have a change to win an iPad2 from Clinovo’s CDISC Express Contest:

http://www.clinovo.com/cdisc/game

The due day is July 15th and I already submitted my work. That’s fun.

This post was kindly contributed by From a Logical Point of View » SAS - go there to comment and to read the full post.