MethodDef
<MethodDef OID="MT.SDY" Name="Study Day" Type="Computation"> <Description> <TranslatedText xml:lang="en" Type="text/plain"> If assessment/event date is before the first dose date: Study Day = Assessment date - First Dose Date If assessment/event date is on or after the first dose date: Study Day = Assessment date - First Dose Date + 1 </TranslatedText> </Description> <MethodSignature> <Parameter Name="STDT" Definition="start Date" DataType="date" OrderNumber="1"/> <Parameter Name="RFSTDT" Definition="reference Date" DataType="date" OrderNumber="2" /> <ReturnValue Name="SDY" DataType="integer" Definition="Study Day of Start of Adverse Event"/> </MethodSignature> <FormalExpression Context="SAS 9.4"> <Code>ifn(STDT >= RFSTDT, STDT-RFSTDT+1, STDT-RFSTDT)</Code> </FormalExpression> </MethodDef> <MethodDef OID="MT.ADT" Name="Analysis Date Imputation" Type="Imputation"> <Description> <TranslatedText xml:lang="en" Type="text/plain"> If day of the month is missing, set the day of the Analysis Date to the last day of the month, then Set date the Imputation flag to D. If month is missing, set day and month of the Analysis Date to 15 July, then set date the Imputation flag to M. If year is missing, then leave the Analysis date and Imputation flag blank. Otherwise use the date as the Analysis date and leave the Imputation flag blank. </TranslatedText> </Description> <MethodSignature> <Parameter Name="QSDTC" Definition="QS Datetime" DataType="datetime" OrderNumber="1"/> <ReturnValue Name="ADT" DataType="date" Definition="Analysis Date" OrderNumber="1"/> <ReturnValue Name="ADTF" DataType="text" Definition="Analysis Date Imputation Flag" OrderNumber="1"/> </MethodSignature> <FormalExpression Context="Python 3.7"> <ExternalCodeLib Library="GitHub" href="https://raw.githubusercontent.com/:owner/:repo/master/:path"/> </FormalExpression> <FormalExpression Context="R 4.0"> <ExternalCodeLib Library="GitHub" href="https://raw.githubusercontent.com/:owner/:repo/master/:path"/> </FormalExpression> </MethodDef> <MethodDef OID="MT.REST.API" Name="Value From API" Type="Computation"> <Description> <TranslatedText xml:lang="en" Type="text/plain">Lookup or calculate a value using a web service</TranslatedText> </Description> <MethodSignature> <Parameter Name="STDT" Definition="start Date" DataType="date" OrderNumber="1"/> <Parameter Name="RFSTDT" Definition="reference Date" DataType="date" OrderNumber="2" /> <ReturnValue Name="STDT" DataType="date" Definition="study date"/> </MethodSignature> <FormalExpression Context="REST"> <Code>https://www.cloudcalc.com/studydate?startDate=STDT@amp;refDate=RFSDT</Code> </FormalExpression> </MethodDef>
Overview
Content Tools