# False positive check for DD0039?

**URL:** <https://forum.certara.com/t/false-positive-check-for-dd0039/1173>\
**Category:** Define.xml\
**Created:** [November 2, 2017, 2:07am UTC](https://forum.certara.com/t/false-positive-check-for-dd0039/1173 "2017-11-02T02:07:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![XML4Pharma](https://avatars.discourse-cdn.com/v4/letter/x/b2d939/32.png) [@XML4Pharma](https://forum.certara.com/u/XML4Pharma)\
**Post date:** [November 2, 2017, 6:41am UTC](https://forum.certara.com/t/false-positive-check-for-dd0039/1173/1 "2017-11-02T06:41:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Iori](https://avatars.discourse-cdn.com/v4/letter/i/90db22/32.png) [@Iori](https://forum.certara.com/u/Iori)\
**Post date:** [November 2, 2017, 8:39am UTC](https://forum.certara.com/t/false-positive-check-for-dd0039/1173/2 "2017-11-02T08:39:52Z")

</div>

Dear Jozef,

Yes, ItemDefs and ItemRefs have the same name in our Define.XML.

Regards,

Iori

---

<div class="post-metadata">

**Author:** ![XML4Pharma](https://avatars.discourse-cdn.com/v4/letter/x/b2d939/32.png) [@XML4Pharma](https://forum.certara.com/u/XML4Pharma)\
**Post date:** [November 2, 2017, 12:19pm UTC](https://forum.certara.com/t/false-positive-check-for-dd0039/1173/3 "2017-11-02T12:19:19Z")

</div>

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:

…  
…  
which is correct usage.

---

<div class="post-metadata">

**Author:** ![Iori](https://avatars.discourse-cdn.com/v4/letter/i/90db22/32.png) [@Iori](https://forum.certara.com/u/Iori)\
**Post date:** [November 6, 2017, 1:43am UTC](https://forum.certara.com/t/false-positive-check-for-dd0039/1173/4 "2017-11-06T01:43:26Z")

</div>

Thanks Jozef,

Sorry for my misunderstanding. Yes, we used same value for the “Name” attribute. Then we specified different length.

…  
…

---

<div class="post-metadata">

**Author:** ![XML4Pharma](https://avatars.discourse-cdn.com/v4/letter/x/b2d939/32.png) [@XML4Pharma](https://forum.certara.com/u/XML4Pharma)\
**Post date:** [November 6, 2017, 7:15pm UTC](https://forum.certara.com/t/false-positive-check-for-dd0039/1173/5 "2017-11-06T19:15:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Sergiy](https://sea1.discourse-cdn.com/certara/user_avatar/forum.certara.com/sergiy/32/2553_2.png) [@Sergiy](https://forum.certara.com/u/Sergiy)\
**Post date:** [November 6, 2017, 7:34pm UTC](https://forum.certara.com/t/false-positive-check-for-dd0039/1173/6 "2017-11-06T19:34:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![XML4Pharma](https://avatars.discourse-cdn.com/v4/letter/x/b2d939/32.png) [@XML4Pharma](https://forum.certara.com/u/XML4Pharma)\
**Post date:** [November 6, 2017, 9:12pm UTC](https://forum.certara.com/t/false-positive-check-for-dd0039/1173/7 "2017-11-06T21:12:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Iori](https://avatars.discourse-cdn.com/v4/letter/i/90db22/32.png) [@Iori](https://forum.certara.com/u/Iori)\
**Post date:** [November 2, 2017, 2:07am UTC](https://forum.certara.com/t/false-positive-check-for-dd0039/1173/8 "2017-11-02T02:07:46Z")

</div>

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.

\<…

Thanks,

Iori
