Forums: Define.xml
Hi Karen,
Are there any particular reasons why you think --DTC variables should be text in Define.xml?
In our opinion, since the --DTC variables contain ISO 8601 formatted data, they should be assigned to datetime, date, or time data types available in Define.xml specification (section 2.1.2.4, page 14). The only ISO 8601 formatted variables that should be assigned the data type of text are durations like --DUR or --ELTM.
Thanks,
Max
You might want to take a look at the CRT-DDS specification, table 2.1.2.4 (Data Type Specifications).
Length is not defined in case the data type equals datetime, date or time.
SDTM only distinguishes between text and numeric variables (like SAS).
When you create a define.xml, you have to use the CRT-DDS spec, not the SDTM spec.
Lex Jansen
Now that the draft SDTM Metadata Submission Guideline is available for public review on cdisc.org, you can find the likely final answer to this question in Table 3.3.2.1, pg 9, which confirms --*DTC should have an ODM data type of datetime, date, or time.
The Define file generator is assigning all the xxDTC fields DataType="datetime" and Length="". These fields should have DataType="text" with length picked up from the input transport-format files. Thanks.