# Incorrect message DD0138

**URL:** <https://forum.certara.com/t/incorrect-message-dd0138/2063>\
**Category:** Define.xml\
**Created:** [September 25, 2024, 3:05pm UTC](https://forum.certara.com/t/incorrect-message-dd0138/2063 "2024-09-25T15:05:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Myers](https://sea1.discourse-cdn.com/certara/user_avatar/forum.certara.com/matt_myers/32/2548_2.png) [@Matt\_Myers](https://forum.certara.com/u/Matt_Myers)\
**Post date:** [September 25, 2024, 3:26pm UTC](https://forum.certara.com/t/incorrect-message-dd0138/2063/1 "2024-09-25T15:26:32Z")

</div>

Hi Thierry,

Yes, DD0138 currently doesn’t accept DEFINE-XML. We have since included it in the check as the CTSTDTYP Codelist includes it. This will be corrected in a future release, and until then can be explained if you plan on including the Standard OID value in your define.

Kind regards,

Matt

---

<div class="post-metadata">

**Author:** ![thierry.lambert](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@thierry.lambert](https://forum.certara.com/u/thierry.lambert)\
**Post date:** [September 25, 2024, 3:05pm UTC](https://forum.certara.com/t/incorrect-message-dd0138/2063/2 "2024-09-25T15:05:43Z")

</div>

I found a bug when validating a define.xml following the 2.1 standard.  
As far as I can understand, it had nothing to do with the 2 existing messages for DD0138  
(if Google Translate can be trusted for the Japanese conversation ^\_^)

My define.xml file contains:

def:Standards  
\<def:Standard OID=“std.ig” Name=“ADaMIG” Type=“IG” Version=“1.1” Status=“FINAL”/\>  
\<def:Standard OID=“std.ct.adam” Name=“CDISC/NCI” Type=“CT” PublishingSet=“ADaM” Version=“2024-03-29” Status=“FINAL”/\>  
\<def:Standard OID=“std.ct.sdtm” Name=“CDISC/NCI” Type=“CT” PublishingSet=“SDTM” Version=“2024-03-29” Status=“FINAL”/\>  
\<def:Standard OID=“std.ct.define” Name=“CDISC/NCI” Type=“CT” PublishingSet=“DEFINE-XML” Version=“2024-03-29” Status=“FINAL”/\>  
\</def:Standards\>

When validating with P21 Community 4.1.0 (engine PMDA 2311.0) , I get:

DEFINE DD0138: 1 Error - Referenced Standard is missing  
| Standard OID, Standard Type, Standard Name = std.ct.define, CT, DEFINE-XML | Referenced Standard is missing (Error)

I noticed in the log messages of the validator the following line:

2024-09-25 15:55:21 [ForkJoinPool.commonPool-worker-1] WARN n.p.d.v.r.DefaultStandardLookup - No configuration was provided for the terminology: std.ct.define

In C:\Users\<name\>\Documents\Pinnacle 21 Community\configs\data\CDISC\Define-XML\latest,  
I found that the file Define-XML Terminology.odm.xml is the one for CT 2024-03-29.  
I therefore created C:\Users\<name\>\Documents\Pinnacle 21 Community\configs\data\CDISC\Define-XML\2024-03-29,  
and copied there the file Define-XML Terminology.odm.xml.

I re-validated, and the message disappeared.

Is this bug also present in P21 Enterprise ?

- If yes, I have to explain it in the ADRG.
- If not, I can just use the workaround above to avoid a message that the reviewer will not have.

Thanks  
– Thierry
