j John
on

 

Since SAS and Define-XML using differing data type classifications (numeric and charcter for SAS; text, integer, float, date, time, datetime, etc. for Define-XML), how does OpenCDISC work out if the data types match between the data and Define-XML? Does the validator actually look into the data to try to assign the type as it would appear in Define-XML and then match that against what is in the actual Define-XML file contents? Thanks in advance.

Forums: SDTM

s Sergiy
on May 13, 2013

Hi John, 

The SD0059 check is applicable for XPT-format data only. It tries to match define.xml info with actual metadata in XPT files as

datetime and text == Char

float and integer == Num

Please note that there is a bug in current configuration. The SD0059 check works incorrectly using SDTM specifications, rather than define.xml info.

As a short term solution you can fix "config-... .xml" files in "...\opencdisc-validator\config" folder manually by opening them in any text editor (e.g., Notepad ) and replacing the following string

 <val:Condition ID="SD0059" Test="TYPE == '%Variable.Type.Basic%'"

 by

 <val:Condition ID="SD0059" Test="TYPE == '%Variable.Define.Type.Basic%'"

Sorry for inconvenience. Let me know if you like to get corrected files instead of manual fixing procedure.

Regards, 

Sergiy

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.