Forums: Define.xml
Dear Lori,
What you do is indeed the correct way when you have metadata-variations for a single cross-domain variable. Within a domain/dataset you would use ValueListRef-ValueListDef constructs. I cannot see how your ItemDefs look like, do they all have the same "Name" attribute value for these variables?
If you could send me your define.xml (you can easily find my mail address), then I can have a look whether everything is fine and this is a "false positive".
With best regards,
Jozef Aerts
Define-XML Development Team
Dear Jozef,
Yes, ItemDefs and ItemRefs have the same name in our Define.XML.
Regards,
Iori
Thanks Lori,
But that was not what I meant. What I meant was that the ItemDefs for the different variations of the same variable all have the same value for the "Name" attribute. For example:
<ItemDef OID=" IT.USUBJID.V1" Name="USUBJID" DataType="text" Length="20">...</ItemDef>
<ItemDef OID=" IT.USUBJID.V2" Name="USUBJID" DataType="text" Length="20">...</ItemDef>
which is correct usage.
Thanks Jozef,
Sorry for my misunderstanding. Yes, we used same value for the "Name" attribute. Then we specified different length.
<ItemDef OID=" IT.USUBJID.V1" Name="USUBJID" DataType="text" Length="15">...</ItemDef>
<ItemDef OID=" IT.USUBJID.V2" Name="USUBJID" DataType="text" Length="20">...</ItemDef>
Dear Lori,
I could reproduce your issue. I must categorize it as a false positive.
I first believed it had to do with the two different values for the "Length" attribute (but even than that would not be a non-compliance), but even if I set both "Length" attributes to the same value, the warning persists.
Please contact me personally for more details and how to avoid this false positive warning.
With best regards,
Jozef Aerts
Define-XML Development Team
Hi Iori,
I do not think that DD0039 message is related to different ItemDef used across domains.
Could you provide a complete code for CO domain?
What standard version and configuration (FDA or PMDA) do you use?
Thanks,
Sergiy
I was able to reproduce the issue by just changing two lines (adding an additional ItemDef and referencing it from an ItemRef) in the sample file that comes with the Define-XML 2.0 standard distribution. Anyone wanting to get a copy, just e-mail me.
Dear Development Team,
I have a question regarding DD0039 (Variable is in wrong order within Dataset “XX”).
Our define file has a unique itemdef that is defined for each distinct combination of attributes for a variable.
For example, if Length or Comment variess across domains for a variable, in the XML, it is suffixed with a value (e.g. .V1, .V2) to uniquely identify the different combinations.
Is this a false positive error ? Or, Is there any trigger for DD0039?
Note: The variables are presented in the correct order in the SDTM datasets and SDTM define.xml.
<Sample code of CO domain>
</Description>
<ItemRef ItemOID="IT.STUDYID" OrderNumber="1" Mandatory="Yes" Role="Identifier" RoleCodeListOID="RoleCodeList" KeySequence="1" />
<ItemRef ItemOID="IT.DOMAIN" OrderNumber="2" Mandatory="Yes" Role="Identifier" RoleCodeListOID="RoleCodeList" />
<ItemRef ItemOID="IT.RDOMAIN.V1" OrderNumber="3" Mandatory="No" Role="Record Qualifier" RoleCodeListOID="RoleCodeList" KeySequence="3" />
<ItemRef ItemOID="IT.USUBJID.V1" OrderNumber="4" Mandatory="Yes" Role="Identifier" RoleCodeListOID="RoleCodeList" MethodOID="USUBJID.Standards v1.1001" KeySequence="2" />
<…
Thanks,
Iori