n nalin
on

 

Hello.

I am new to the define.xml and xml in general and not sure what this error means.  i have included 3 datasets with a total of 67 variables and 25 codelists into my define.xml which i am validating using OpenCDISC.

Please see the "Issue Summary" tab below:

SourceRule IDMessageSeverityFoundDEFINE DD0023Element 'CodeList' in wrong order within Define.xmlError25 DD0023Element 'ItemDef' in wrong order within Define.xmlError67 DD0023Element 'ItemGroupDef' in wrong order within Define.xmlError3

Thanks,

Nalin

Forums: Define.xml

s Sergiy
on April 16, 2012

 

Hi!

1. Refer to the CRT_DD Specs 1.0.0 (define.xml standard) Section 2.1.3.1 (p.18) table.

2. See an example from Section 2.1.2.5 (p.15):

<CodeList OID="CodeList.AESER"

  Name="AESER" 

  DataType="text" 

  SASFormatName="$AESER">

  <CodeListItem C odedValue="N">

    <Decode>

       <TranslatedText xml:lang="en">No</TranslatedText>

    </Decode>

  </CodeListItem>

  <CodeListItem C odedValue="Y">

    <Decode>

      <TranslatedText xml:lang="en">Yes</TranslatedText>

    </Decode>

  </CodeListItem>

</CodeList>

 

Regards, 

Sergiy

 

s Sergiy
on April 16, 2012

1. OID 2. Name 3. DataType 4. SASFormatName 5. CodeListItem 6. ExternalCodeList 7. CodedValue 8. def:Rank 9. Decode 10. TranslatedText 11. xml:lang 12. Dictionary 13. Version (Taking into account a Child Elements hierarchy)

n nalin
on April 16, 2012

Hello Sergiy.

Thanks for your response. 

I have the codelist element and its attributes in the same order as in the CRT_DDS V1.0.  Same applies to the itemgropdef and itemdef elements which are the other 2 areas where i am getting an ERROR.

Please see the layout of my define.xml file.

<def:AnnotatedCRF>

ItemGroupDef for all the datasets.

<ItemGroupDef...><ItemRef...></ItemRef></ItemGroupDef>

ItemDef for all the variables.

<ItemDef...></ItemDef>

 

All Complutational Algorithms are listed here.

<def:ComputationMethod></def:ComputationalMethod>

All Codelists are listed here.

<CodeList...></CodeList>

************************************************************* -->

<!-- Details of value level metadata are here for all domains -->

<!-- ******************************************************** -->

<def:ValueListDef OID="ValueList.VS.VSTESTCD">

<ItemRef ItemOID="VS.VSTESTCD.DIABP" OrderNumber="1" Mandatory="No"/>

<ItemRef ItemOID="VS.VSTESTCD.SYSBP" OrderNumber="2" Mandatory="No"/>

</def:ValueListDef>

<ItemDef OID="VS.VSTESTCD.DIABP" Name="DIABP" DataType="integer" Length="8" Origin="CRF Page 5" Comment="" def:Label="Diastolic Blood Pressure"/>

<ItemDef OID="VS.VSTESTCD.SYSBP" Name="SYSBP" DataType="integer" Length="8" Origin="CRF Page 5" Comment="" def:Label="Systolic Blood Pressure"/>

Thanks,

Nalin

s Sergiy
on April 16, 2012

 

It’s difficult to find what is wrong without seen the entire document content. You can email your define.xml to me  (sergiy ()  opencdisc.org)

 

 

5.2.1. Global Element Order 

1. ODM 

  a. Study  

    i. GlobalVariables 

      1. StudyName 

      2. StudyDescription 

      3. ProtocolName 

   ii. MetaDataVersion 

      1. def:AnnotatedCRF 

        a. def:DocumentRef 

      2. def:SupplementalDoc 

        a. def:DocumentRef 

      3. def:leaf 

        a. def:title 

      4. def:ComputationMethod  

      5. def:ValueListDef 

        a. ItemRef 

      6. Include 

      7. ItemGroupDef 

        a. ItemRef 

        b. def:leaf 

          i. def:title 

        c. def:ValueListRef 

      8. ItemDef 

        a. CodeListRef 

      9. CodeList 

        a. CodeListItem 

          i. Decode 

            1. TranslatedText 

        b. ExternalCodeList

 

n nalin
on April 16, 2012

Thanks, Sergiy.  This table helped resolve the issue. I had the wrong order for def:ComputationalMethod & def:ValueListDef

Nalin

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.