The create_crtdds_from_sdtm.sas
driver program sets up the required environment variables and library
references to initiate the crtdds_sdtmtodefine macro. This macro extracts
data from the SDTM 3.1.1, 3.1.2, or 3.1.3 metadata files. (
For
more information about the source_tables and source_columns data sets,
see Source Metadata.) Depending on the available source information, the macro
attempts to convert the information into the 39 tables that represent
the SAS interpretation of the CDISC CRT-DDS 1.0 model. All 39 data
sets are created, but only those data sets with the available data
are populated. The other tables contain zero observations.
These parameters must
be set before submitting the macro:
Parameters for the create_crtdds_from_sdtm.sas Macro
|
|
|
|
|
The library reference
(LIBNAME) where the tables are created.
|
|
|
The data set that contains
the SDTM metadata for the domains to include in the CRT-DDS file.
|
|
|
The data set that contains
the SDTM metadata for the domain columns to include in the CRT-DDS
file.
|
|
|
The data set that contains
the SDTM metadata for the studies to include in the CRT-DDS file.
|
|
|
The data set that contains
the SDTM metadata for the Value Level columns to include in the CRT-DDS
file.
|
|
|
The data set that contains
the SDTM metadata for the Document references to include in the CRT-DDS
file.
|
Here is an example of
a call to the crtdds_sdtmtodefine macro:
%crtdds_sdtmtodefine(
_cstOutLib=srcdata,
_cstSourceTables=sampdata.source_tables,
_cstSourceColumns=sampdata.source_columns,
_cstSourceValues=sampdata.source_values,
_cstSourceDocuments=sampdata.source_documents,
_cstSourceStudy=sampdata.source_study
);
In the example, the
crtdds_sdtmtodefine macro sets _cstOutLib to srcdata. All of the CRT-DDS-defined
tables are written to the SAS Srcdata library. The _cstSourceTables
parameter accesses the source_tables data set that exists in the Sampdata
library (sampdata.source_tables). The _cstSourceColumns parameter
accesses the source_columns data set that exists in the Sampdata library
(sampdata.source_columns). The _cstSourceStudy parameter accesses
the source_study data set that exists in the sampdata library (sampdata.source_study).
The _cstSourceValues parameter accesses the source_values data set
that exists in the sampdata library (sampdata.source_values). The
_cstSourceDocuments parameter accesses the source_documents data set
that exists in the sampdata library (sampdata.source_documents).
The create_crtdds_from_sdtm.sas
driver program is provided with SAS, and it is ready to run on any
of the SDTM sample studies. The driver program can be run interactively
or in batch. To run the program interactively, start a SAS session,
and load the driver program into the SAS editor.
The driver program is
located in:
sample study library directory/cdisc-crtdds-1.0–1.5/programs