# Dataset Level - STRUCTURE text

**URL:** <https://forum.certara.com/t/dataset-level-structure-text/1562>\
**Category:** Define.xml\
**Created:** [July 29, 2020, 9:58am UTC](https://forum.certara.com/t/dataset-level-structure-text/1562 "2020-07-29T09:58:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lexjansen\_1](https://sea1.discourse-cdn.com/certara/user_avatar/forum.certara.com/lexjansen_1/32/306_2.png) [@lexjansen\_1](https://forum.certara.com/u/lexjansen_1)\
**Post date:** [July 29, 2020, 3:38pm UTC](https://forum.certara.com/t/dataset-level-structure-text/1562/1 "2020-07-29T15:38:28Z")

</div>

There is no length restriction for the structure attribute in the Define-XML document. Systems that implement these Define-XML attributes in tables (SAS, Oracle, …) may have restrictions.

There is no standard for the ‘structure’ text. Examples given in the SDTM-IG are just like that: examples. Your values may be different for some datasets depending on your study.

You may also want to look at the PhUSE Define-XML Version 2.0 Completion Guidelines:  
[https://www.phusewiki.org/docs/WorkingGroups/New%20Template%20Deliverables/Optimizing%20the%20Use%20of%20Data%20Standards/Define-XML%20Version%202.0%20Completion%20Guidelines%20.pdf](https://www.phusewiki.org/docs/WorkingGroups/New%20Template%20Deliverables/Optimizing%20the%20Use%20of%20Data%20Standards/Define-XML%20Version%202.0%20Completion%20Guidelines%20.pdf)

Best,  
Lex

---

<div class="post-metadata">

**Author:** ![colm.smyth](https://avatars.discourse-cdn.com/v4/letter/c/34f0e0/32.png) [@colm.smyth](https://forum.certara.com/u/colm.smyth)\
**Post date:** [July 30, 2020, 8:38am UTC](https://forum.certara.com/t/dataset-level-structure-text/1562/2 "2020-07-30T08:38:40Z")

</div>

Thanks Lex…I had a feeling this was the case…

---

<div class="post-metadata">

**Author:** ![Jozef](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@Jozef](https://forum.certara.com/u/Jozef)\
**Post date:** [July 30, 2020, 2:01pm UTC](https://forum.certara.com/t/dataset-level-structure-text/1562/3 "2020-07-30T14:01:25Z")

</div>

As Lex already wrote, this is just free text, without any length limitation.

My own way of creating it (automatically) is by taking the keys (KeySequence attribute) from the define.xml in the reverse order (from high to low), with exception of STUDYID and then generate a sentence of the structure: “One record per {VARA} per {VARB} per {VARC} …”  
E.g. when my keys are (in the following order): STUDYID, USUBJID, VISIT, LBTPT, LBTESTCD =\> One record per LBTESTCD per LBTPT per VISIT per USUBJID.  
Anyone can of course choose his/her own way, manually or automatically.

What I have seen however, is that people tend to just copy the sentence from the SDTM-IG. That is of course often not correct…

---

<div class="post-metadata">

**Author:** ![colm.smyth](https://avatars.discourse-cdn.com/v4/letter/c/34f0e0/32.png) [@colm.smyth](https://forum.certara.com/u/colm.smyth)\
**Post date:** [July 29, 2020, 9:58am UTC](https://forum.certara.com/t/dataset-level-structure-text/1562/4 "2020-07-29T09:58:52Z")

</div>

Hi all

At the dataset level, there is the variable called STRUCTURE, does anyone know if there is a max length for this field ? Also is it permitted to change this text, I know the KEYS can be adjust per the SDTMIG but there is no guidance on the STRUCTURE.

Best

Colm
