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.
groupname
($20)
The standard group across versions, such as STDM or TERMINOLOGY.
groupversion
($20)
The version of the groupname, often the same as standardversion.
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.
studylibraryrootpath
($200)
The root path to the study repository. This can be used to initialize the studyRootPath and studyOutputPath global macro variables and to use relative paths to study library subfolders. By default, this is set to the sample library that is associated with each standard provided by SAS.
controlsubfolder
($200)
The control folder path (relative to rootpath). This value provides the location of data sets that are required for standard registration (such as Standards and StandardSASReferences).
templatesubfolder
($200)
The template folder path (relative to rootpath). This value provides the location of data sets that are specific to the standard that serve as templates for standard-specific processes.
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.5 (the columns are continued in the subsequent two images):
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)
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.
&_cstSRoot in the studylibraryrootpath column maps to the sample study library directory that is set by calling the cstutil_setcstsroot 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.5/control/standards.sas7bdat