<global standards
library directory>/standards/cdisc-odm-1.3.0-1.3/macros.) This macro is referenced from the create_sasodm_fromxml.sas driver
program (described more fully below). There are no input parameters
in the call to the odm_read macro. File references and other metadata
that are required by the macro are set as global macro variable values.
Currently, those global macro variable values are set through the
framework initialization properties and the CDISC ODM 1.3.0 initialization
properties. Throughout the processing of the odm_read macro, the Results
data set contains all framework and ODM 1.3.0 specific messages generated
during run time.
<?xml version="1.0" encoding="ISO-8859-1"?>
<ODM
xmlns="http://www.cdisc.org/ns/odm/v1.3"
FileOID="Study1234"
ODMVersion="1.3"
FileType="Snapshot"
CreationDateTime="2004-07-28T12:34:13-06:00"
SourceSystem="ss00"
AsOfDateTime="2004-07-29T12:34:13-06:00"
Granularity="SingleSite"
Description="Study to determine existence of ischemic stroke"
Archival="Yes"
PriorFileOID="Study-4321"
Originator="SAS Institute"
SourceSystemVersion="Version 0.0.0"
Id="DSSignature123">
<Study OID="1234">
<GlobalVariables>
<StudyName>1234</StudyName>
<StudyDescription>1234 Data Definition</StudyDescription>
<ProtocolName>1234</ProtocolName>
</GlobalVariables>
<BasicDefinitions>
<MeasurementUnit Name="My Unit" OID="MU_0001">
<Symbol>
<TranslatedText xml:lang="enus">Hello there text</TranslatedText>
</Symbol>
</MeasurementUnit>
<MeasurementUnit Name="My Other Unit" OID="MU_0002">
<Symbol>
<TranslatedText xml:lang="jpn">Bye there text</TranslatedText>
</Symbol>
</MeasurementUnit>
</BasicDefinitions>
<MetaDataVersion OID="CDISC.SDTM.3.1.0"
Name="Study 1234, Data Definitions"
Description="Study 1234, Data Definitions">
<Include StudyOID="1234"
MetaDataVersionOID="MDV000">
</Include>
<Protocol>
<Description>
_cubnnnn.xml,
where nnnn is a randomly generated number. The cubeXML file is accessed using
the SAS XML LIBNAME engine and XMLMAP processing. A default XMLMAP
file is stored in the sample ODM 1.3.0 study folder hierarchy under /referencexml as odm.map. The odm.map file is required
to process the cubeXML file. If it does not exist, then the odm_read
macro attempts to create one using the ODM reference metadata.
<?xml version="1.0" encoding="windows-1252"?>
<SXLEMAP version="1.2">
<TABLE name="Annotations">
<TABLE-PATH syntax="XPath">/LIBRARY/Annotations</TABLE-PATH>
<TABLE-DESCRIPTION>Annotations associated with data</TABLE-DESCRIPTION>
<COLUMN name="ID">
<PATH syntax="Xpath">/LIBRARY/Annotations/ID</PATH>
<TYPE>character</TYPE>
<DATATYPE>character</DATATYPE>
<DESCRIPTION>Unique ID for a specific Annotation element</DESCRIPTION>
<LENGTH>128</LENGTH>
</COLUMN>
<COLUMN name="SeqNum">
<PATH syntax="Xpath">/LIBRARY/Annotations/SeqNum</PATH>
<TYPE>numeric</TYPE>
<DATATYPE>numeric</DATATYPE>
<DESCRIPTION>Uniquely identifies the annotation within its parent
entity</DESCRIPTION>
<LENGTH>8</LENGTH>
</COLUMN>
<COLUMN name="Comment">
<PATH syntax="Xpath">/LIBRARY/Annotations/Comment</PATH>
<TYPE>character</TYPE>
<DATATYPE>character</DATATYPE>
<DESCRIPTION>Free-text (uninterpreted) comment about clinical data</DESCRIPTION>
<LENGTH>2000</LENGTH>
</COLUMN>
<COLUMN name="SponsorOrSite">
<PATH syntax="Xpath">/LIBRARY/Annotations/SponsorOrSite</PATH>
<TYPE>character</TYPE>
<DATATYPE>character</DATATYPE>
<DESCRIPTION>Comment source (Sponsor | Site)</DESCRIPTION>
<LENGTH>2000</LENGTH>
</COLUMN>
<COLUMN name="FlagType">
<PATH syntax="Xpath">/LIBRARY/Annotations/FlagType</PATH>
<TYPE>character</TYPE>
<DATATYPE>character</DATATYPE>
<DESCRIPTION>Type of flag</DESCRIPTION>
<LENGTH>2000</LENGTH>
</COLUMN>
<COLUMN name="FlagValue">!sasroot/../SASClinicalStandardsToolkitODM130/1.3/sample/cdisc-odm-1.3.0/programs/create_sasodm_fromxml.sas<global
standards library directory>/standards/cdisc-crtdds-1.0-1.3/macros. This macro is referenced from the create_sascrtdds_fromxml.sas
driver program. There are no input parameters in the call to the crtdds_read
macro. File references and other metadata that are required by the
macro are set as global macro variables. Currently, their values are
set through the framework initialization properties and the CDISC
CRT-DDS 1.0 initialization properties processes. Throughout processing
of the crtdds_read macro, the Results data set contains all framework
and CRT-DDS 1.0 specific messages generated during run time.
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="define1-0-0.xsl"?>
<!--Produced from SAS data using the SAS Clinical Toolkit.-->
<ODM xmlns="http://www.cdisc.org/ns/odm/v1.2"
xmlns:def="http://www.cdisc.org/ns/def/v1.0"
xmlns:xlink="http://www.w3.org/1999/xlink" FileOID="1" CreationDateTime=
"2010-10-07T11:41:05-04:00" AsOfDateTime="2010-08-05T09:35:59"
Description="define1" FileType="Snapshot" Id="define1" ODMVersion="1.0"
Originator="SAS Institute">
<Study OID="1">
<GlobalVariables>
<StudyName>study1</StudyName>
<StudyDescription>first study</StudyDescription>
<ProtocolName>Protocol abc</ProtocolName>
</GlobalVariables>
<MetaDataVersion OID="1" Name="CDISC-SDTM 3.1.2"
Description="CDISC-SDTM 3.1.2" def:DefineVersion="1.2"
def:StandardName="CDISC-SDTM" def:StandardVersion="3.1.2">
<ItemGroupDef OID="AE1" Name="AE" Repeating="Yes" IsReferenceData="No"
SASDatasetName="AE" Domain="AE" Purpose="Tabulation" def:Label="Adverse Events"
def:Class="Events" def:Structure="One record per adverse event per subject"
def:DomainKeys="STUDYID USUBJID AEDECOD AESTDTC" def:ArchiveLocationID="AE1">
<ItemRef ItemOID="COL1" Mandatory="Yes" OrderNumber="1"
KeySequence="1" Role="Identifier"/>
<ItemRef ItemOID="COL2" Mandatory="Yes" OrderNumber="2"
Role="Identifier"/>
<ItemRef ItemOID="COL3" Mandatory="Yes" OrderNumber="3"
KeySequence="2" Role="Identifier"/>
<ItemRef ItemOID="COL4" Mandatory="Yes" OrderNumber="4"
Role="Identifier"/>
<ItemRef ItemOID="COL5" Mandatory="No" OrderNumber="5"
Role="Identifier"/>
<ItemRef ItemOID="COL6" Mandatory="No" OrderNumber="6"
Role="Identifier"/>
<ItemRef ItemOID="COL7" Mandatory="No" OrderNumber="7"
Role="Identifier"/>
<ItemRef ItemOID="COL8" Mandatory="Yes" OrderNumber="8"
Role="Topic"/>
<ItemRef ItemOID="COL9" Mandatory="No" OrderNumber="9"
Role="SynonymQualifier"/>
<ItemRef ItemOID="COL10" Mandatory="Yes" OrderNumber="10"
KeySequence="3" Role="SynonymQualifier"/>
<ItemRef ItemOID="COL11" Mandatory="No" OrderNumber="11"
Role="GroupingQualifier"/>
<ItemRef ItemOID="COL12" Mandatory="No" OrderNumber="12"
Role="GroupingQualifier"/>
<ItemRef ItemOID="COL13" Mandatory="No" OrderNumber="13"
Role="RecordQualifier"/>
<ItemRef ItemOID="COL14" Mandatory="No" OrderNumber="14"
Role="RecordQualifier"/>
<ItemRef ItemOID="COL15" Mandatory="No" OrderNumber="15"
Role="RecordQualifier"/>
<ItemRef ItemOID="COL16" Mandatory="No" OrderNumber="16"
Role="RecordQualifier"/>
<ItemRef ItemOID="COL17" Mandatory="No" OrderNumber="17"
Role="RecordQualifier"/>
<ItemRef ItemOID="COL18" Mandatory="No" OrderNumber="18"
Role="RecordQualifier"/>
<ItemRef ItemOID="COL19" Mandatory="No" OrderNumber="19"
Role="RecordQualifier"/>
<ItemRef ItemOID="COL20" Mandatory="No" OrderNumber="20"
Role="RecordQualifier"/>_cubnnnn.xml , where nnnn is a randomly generated number. The cubeXML file is accessed using
the SAS XML LIBNAME engine and XMLMAP processing. A default XMLMAP
file is stored in the sample CRT-DDS 1.0 study folder hierarchy under /referencexml as define.map. The define.map file
must exist to process the cubeXML file. If it does not exist, then
the crtdds_read attempts to create one using the CRT-DDS reference
metadata.
<?xml version="1.0" encoding="windows-1252"?>
<SXLEMAP version="1.2">
<TABLE name="AnnotatedCRFs">
<TABLE-PATH syntax="XPath">/LIBRARY/AnnotatedCRFs</TABLE-PATH>
<TABLE-DESCRIPTION></TABLE-DESCRIPTION>
<COLUMN name="DocumentRef">
<PATH syntax="Xpath">/LIBRARY/AnnotatedCRFs/DocumentRef</PATH>
<TYPE>character</TYPE>
<DATATYPE>character</DATATYPE>
<DESCRIPTION></DESCRIPTION>
<LENGTH>2000</LENGTH>
</COLUMN>
<COLUMN name="leafID">
<PATH syntax="Xpath">/LIBRARY/AnnotatedCRFs/leafID</PATH>
<TYPE>character</TYPE>
<DATATYPE>character</DATATYPE>
<DESCRIPTION></DESCRIPTION>
<LENGTH>128</LENGTH>
</COLUMN>
<COLUMN name="FK_MetaDataVersion">
<PATH syntax="Xpath">/LIBRARY/AnnotatedCRFs/FK_MetaDataVersion</PATH>
<TYPE>character</TYPE>
<DATATYPE>character</DATATYPE>
<DESCRIPTION></DESCRIPTION>
<LENGTH>128</LENGTH>
</COLUMN>
</TABLE>!sasroot/../SASClinicalStandardsToolkitCRTDDS10/1.3/sample/cdisc-crtdds-1.0/programs/create_sascrtdds_fromxml.sas!sasroot/../../SASClinicalStandardsToolkitCRTDDS10/1.3/sample/cdisc-crtdds-1.0/deriveddata directory. This location is represented in the driver program by
the Srcdata library name.
!sasroot /../../SASClinicalStandardsToolkitCRTDDS10/1.3/sample/cdisc-crtdds-1.0/derivedmetadata directory. This location is represented in the driver program by
the Srcmeta library name.
!sasroot/../../SASClinicalStandardsToolkit
CRTDDS10/1.3/sample/cdisc-crtdds-1.0/results directory.
This location is represented in the driver program by the Results
library name.
&studyOutputPath/derivedmetadata).
&studyOutputPath/deriveddata).