In general, when representing
an XML-based standard in SAS, an XML element is mapped to a SAS data
set and its associated attributes are mapped to the columns of the
SAS data set. When the SAS Clinical Standards Toolkit creates a CDISC
CRT-DDS 1.0 XML file, it converts the information from a SAS data
set representation of the CRT-DDS model into XML. For CDISC CRT-DDS
1.0, this means that 39 data sets (such as ItemDefs) containing 176
columns are the source for creating the define.xml element and attribute
structure. The SAS representation of the CRT-DDS standard can be derived
in part from other standards (such as CDISC SDTM) and can include
supporting metadata from other sources.
The first step in creating
a define.xml file with the SAS Clinical Standards Toolkit is populating
the SAS data set representation of the CRT-DDS model from the SDTM
domain metadata (source_tables and source_columns data sets) and the
study metadata (source_study data set) by running the crtdds_sdtmtodefine
macro. Depending on the completeness of this source data, the crtdds_sdtmtodefine
macro can (partially) populate these 12 of the 39 CRT-DDS SAS tables:
clitemdecodetranslatedtext
|
|
|
|
|
|
|
|
|
|
|
|
The remainder of the
tables will not be automatically populated by the SAS Clinical Standards
Toolkit.
To create a CRT-DDS
define.xml file that can be considered more complete, these tables
typically need be populated by a process not included in the SAS Clinical
Standards Toolkit:
-
annotatedcrfs (contains document
references to the annotated case report form)
-
supplementaldocs (contains document
references to the supplemental documentation)
-
mdvleaf (contains the href link
for each of the documents listed in the AnnotatedCRF and SupplementalDocs
tables)
-
mdvleaftitles (contains a descriptive
title for each MDVLeaf item)
-
itemvaluelistrefs (associates each
value list item to a row in the ItemDefs table)
-
valuelists (contains the ID of
value lists)
-
valuelistitemrefs (contains the
ID of each item in a value list)
-
externalcodelists (contains name
and versions of external code lists)
The SAS Clinical Standards
Toolkit provides a sample program to demonstrate that it supports
importing and exporting of CRT-DDS metadata beyond the metadata that
can be created from the SDTM domain metadata (source_tables and source_columns
data sets) and the study metadata (source_study data set).