The initial task is
to extract the available SDTM metadata into Define-XML 2.0 metadata
files. The SAS representation of Define-XML 2.0 involves 46 data sets,
but only 31 of these are typically used for the creation of a Define-XML
2.0 file. The other 15 data sets contain ODM (Operational Data Model)
metadata that is an extension of the Define-XML 2.0 model. The sample
driver create_sasdefine_from_source.sas, modified to point to your
specific SDTM study metadata, must be submitted to create the SAS
representation of Define-XML 2.0 metadata. This process builds the
31 core data sets, but it might not populate all of them (depending
on the completeness of the metadata of your study).
The sample driver runs
this macro:
%define_sourcetodefine(
_cstOutLib=srcdata,
_cstSourceStudy=sampdata.source_study,
_cstSourceTables=sampdata.source_tables,
_cstSourceColumns=sampdata.source_columns,
_cstSourceCodeLists=sampdata.source_codelists,
_cstSourceDocuments=sampdata.source_documents,
_cstSourceValues=sampdata.source_values,
_cstFullModel=N,
_cstLang=en
);
The macro is located
in the
global standards library directory/standards/cdisc-definexml-2.0-1.6/macros
directory.
Note: The key input (source) files
are the SDTM metadata files (source_study, source_tables, source_columns,
source_codelists, source_values, and source_documents), not the SDTM
domain data sets. The source files to create a Define-XML 2.0 file
have a different structure than the source files to create a CRT-DDS
1.0 file.
In the sample study,
the source files for the SDTM 3.1.2 study are in the
sample study library directory/cdisc-definexml-2.0-1.6/sascstdemodata/cdisc-sdtm-3.1.2/metadata
directory.