Standards

The Standards data set is used by the SAS Clinical Standards Toolkit framework to store information about a standard version. All standards that are provided by SAS, and standards that you might want to add are defined in the global standards library in the metadata/standards data set. All calls to the %cst_registerstandard macro that are described in Chapter 2 interact directly with the metadata/standards data set.
Metadata/Standards Data Set Structure in the Global Standards Library
Column Name
Column Length
Description
standard
($20)
The name of the registered standard.
mnemonic
($4)
A short mnemonic for the standard.
standardversion
($20)
The version number of the registered standard. Must be unique within the standard.
comment
($200)
A description of the registered standard version.
rootpath
($200)
The root path for the standard version's directory in the global standards library.
isstandarddefault
($1)
A value that identifies whether the version is the default for the standard. More than one version can be registered and you can still have a default version. Valid values are Y and N.
iscstframework
($1)
A value that identifies whether the standard version is part of the framework. This column can be used to subset the list of registered standards. Valid values are Y and N.
isdatastandard
($1)
A value that identifies whether the standard version is a data standard. For example, CDISC SDTM versions are data standards, and CDISC Terminology is not. Valid values are Y and N.
supportsvalidation
($1)
A value that identifies whether the standard version supports validation. Valid values are Y and N.
isxmlstandard
($1)
A value that identifies whether the standard version is based on XML. CDISC SDTM is not, and CDISC CRT-DDS is. Valid values are Y and N.
importxsl
($200)
If the standard version is based on XML, then this is the path to the XSL file to import the XML into the SAS representation.
exportxsl
($200)
If the standard version is based on XML, then this is the path to the XSL file to export the XML file.
schema
($200)
If the standard version is based on XML, then this is the path to the XML schema document that can be used to validate the XML.
productrevision
($10)
The revision of the standard and standardversion that is currently installed.
The global standards library data set provided with the SAS Clinical Standards Toolkit is here:
<global standards library directory>/metadata/standards.sas7bdat
The global standards library data set contains these records, which are provided with the SAS Clinical Standards Toolkit 1.4 (the columns are continued in the second image):
Metadata/Standards Data Set Content in the Global Standards Library
Default records in the global standards library data set
global standards library data set (continued)
The &_cstGRoot in the rootpath column maps to the <global standards library directory> that is set by calling the cstutil_setcstgroot macro.
An example of the global standards library data set that is used to register a specific standard is here:
<global standards library directory>/standards/cdisc-sdtm-3.1.2-1.4/control/standards.sas7bdat