/*------------------------------------------------------------* 
* program:     cdisc69.sas                                    * 
* Description: Case #69. Clinically Significant Vitals For VS domains, *
*              this identifies a Sponsor-provided Flag Variable for*
*             'Clinically Significant Vital Sign' where the derivation can't be executed.* 
* By:          Sy Truong, 10/14/2009                          * 
*-------------------------------------------------------------*/
libname templib '../data';
data templib.vs(label="Vital Signs");
attrib STUDYID length=$7 label="Study Identifier";
attrib DOMAIN length=$2 label="Domain Abbreviation";
attrib USUBJID length=$14 label="Unique Subject Identifier";
attrib VSSEQ length=8 label="Sequence Number";
attrib VSTESTCD length=$20 label="Vital Signs Test Short Name";
attrib VSTEST length=$24 label="Vital Signs Test Name";
attrib VSPOS length=$7 label="Vital Signs Position of Subject";
attrib VSORRES length=$30 label="Result or Finding in Original Units";
attrib VSORRESU length=$6 label="Original Units";
attrib VSSTRESC length=$30 label="Character Result/Finding in Std Format";
attrib VSSTRESN length=8 label="Numeric Result/Finding in Standard Units";
attrib VSSTRESU length=$9 label="Standard Units";
attrib VSBLFL length=$1 label="Baseline Flag";
attrib VISITNUM length=8 label="Visit Number";
attrib VISIT length=$8 label="Visit Name";
attrib VISITDY length=8 label="Planned Study Day of Visit";
attrib VSDTC length=$10 label="Date/Time of Measurements";
attrib VSDY length=8 label="Study Day of Vital Signs";
attrib VSCLSIG length=$8 label="Clinically Significant Vitals";
STUDYID="CDISC01";
DOMAIN="VS";
USUBJID="CDISC01.100008";
VSSEQ=1;
VSTESTCD="SYSBP";
VSTEST="Systolic Blood Pressure";
VSPOS="SITTING";
VSORRES="122";
VSORRESU="mmHg";
VSSTRESC="122";
VSSTRESN=122;
VSSTRESU="mmHg";
VSBLFL="";
VISITNUM=1;
VISIT="SCREEN";
VISITDY=-13;
VSDTC="2003-04-15";
VSDY=-14;
VSCLSIG="001";
output;
STUDYID="CDISC01";
DOMAIN="VS";
USUBJID="CDISC01.100008";
VSSEQ=2;
VSTESTCD="FRMSIZE";
VSTEST="Body Frame Size";
VSPOS="";
VSORRES="LARGE";
VSORRESU="";
VSSTRESC="LARGE";
VSSTRESN=.;
VSSTRESU="";
VSBLFL="";
VISITNUM=1;
VISIT="SCREEN";
VISITDY=-13;
VSDTC="2003-04-15";
VSDY=-14;
output;
STUDYID="CDISC01";
DOMAIN="VS";
USUBJID="CDISC01.100008";
VSSEQ=3;
VSTESTCD="DIABP";
VSTEST="Diastolic Blood Pressure";
VSPOS="SITTING";
VSORRES="74";
VSORRESU="mmHg";
VSSTRESC="74";
VSSTRESN=74;
VSSTRESU="mmHg";
VSBLFL="";
VISITNUM=1;
VISIT="SCREEN";
VISITDY=-13;
VSDTC="2003-04-15";
VSDY=-14;
output;
STUDYID="CDISC01";
DOMAIN="VS";
USUBJID="CDISC01.100008";
VSSEQ=4;
VSTESTCD="PULSE";
VSTEST="Pulse Rate";
VSPOS="";
VSORRES="74";
VSORRESU="bpm";
VSSTRESC="74";
VSSTRESN=74;
VSSTRESU="BEATS/MIN";
VSBLFL="";
VISITNUM=1;
VISIT="SCREEN";
VISITDY=-13;
VSDTC="2003-04-15";
VSDY=-14;
output;
run;
%cdisc(datlib=templib,datname=vs);
