# Question about ItemTree

**URL:** <https://discourse.openehr.org/t/question-about-itemtree/12411>\
**Category:** Reference Implementation: Java (archive)\
**Created:** [26 May 2007 21:41 UTC](https://discourse.openehr.org/t/question-about-itemtree/12411 "2007-05-26T21:41:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)\
**Post date:** [26 May 2007 21:41 UTC](https://discourse.openehr.org/t/question-about-itemtree/12411/1 "2007-05-26T21:41:57Z")

</div>

Hi Java Developers,

Allow me a small question

I have seen some example archetypes with an ITEM\_TREE in it, they all had the  
attribute "items"

I wonder, is this correct?

Because, in the code, I look at the annotated constructor, I don't see a  
attribute "items"  
I see one that is called "representation", and it is required, but I cannot  
find this attribute in the archetype.

Maybe the code for ItemTree.java is a bit outdated? It is from end 2005, also  
the latest version is.

Please tell me how to understand this, thank you very much.

cheers,  
Bert

---

<div class="post-metadata">

**Author:** ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)\
**Post date:** [26 May 2007 22:31 UTC](https://discourse.openehr.org/t/question-about-itemtree/12411/2 "2007-05-26T22:31:03Z")

</div>

Hi Bert,

That attribute “representation” should probably be renamed to “items”. This change will likely effect some testcases. I will look into this.

Cheers,  
Rong
