w Wen
on

 

SD0059 Define.xml/dataset variable type mismatch

The above rule give us an error for the define.xml for any numeric data type, we have ‘Num’ in our define.xml.

Here is an example:

<ItemDef OID="BG.BGENDY" Name="BGENDY" DataType="Num" Origin="OTHER" Comment="" def:Label="Study Day of End of Weight Interval" Length="1">
</ItemDef>

In the BG.XPT file, the BGENDY is of type Numeric, In SAS xpt file, there will be only two types:
/* VARIABLE TYPE: 1=NUMERIC, 2=CHAR */

I am wondering why this Num generate a validation error? What is expected here? DataType="float"?

On the other hander, all those character string variables with DataType="Char" does not have any errors or warnings.

Thanks,

 

 

Forums: Define.xml

l Lex
on February 16, 2012

"Num" and "Char" are invalid values for the XML DataType in the define.xml.
Valid values are 'integer', 'float', 'date', 'datetime', 'time', or 'text'.
Study day is "integer".

a Anthony
on February 25, 2012

Adding to Lex's comments, here is your reference from the newly "finalized" CDISC SDTM Metadata Submission Guidelines (MSG) v1.0 on cdisc.org:

Section 3.3.2, Table 3.3.2.1, pg. 11

Also, attention should be given to setting the proper values to the Length and SignificantDigits attributes when DataType="integer" or "float".

Want a demo?

Let’s Talk.

We're eager to share and ready to listen.

Cookie Policy

Pinnacle 21 uses cookies to make our site easier for you to use. By continuing to use this website, you agree to our use of cookies. For more info visit our Privacy Policy.