Hi Masoumeh I'll try to answer your second question: Re 2: What's the difference between CLUSTER and ITEM_TREE? Both can have CLUSTERs and ELEMENTs. And why in all structures in CKM, there is a *Data* branch shown in archetype mindmap but in cluster archetypes, there is a *Item*s branch?
A Cluster you could "plugin" anywhere within an archetype e.g. somewhere deep down in the data, protocol or state, an ITEM_TREE (or any other structure archetype such as ITEM_LIST, ITEM_SINGLE and ITEM_TABLE) where an ITEM_* structure is expected - e.g. the top-level of data, protocol, state . Usually you'd use the ITEM_* archetypes to reuse them in both an ACTION and INSTRUCTION archetype, see e.g. medication or follow up in CKM. The specs determine what structures are displayed in the mindmap in CKM - an observation archetype for example has data, protocol, state - where as a cluster archetype has Items - just being faithful to the specs here. Sebastian Sam Heard wrote: > > Hi Masoumeh > > > > There is a difficulty that arises with data that is not completely > entered and being able to save it in the repository in that state. One > could argue that it should all be entirely consistent, but it does > mean that it is not so easy to use in reality. I am always arguing for > a degree of flexibility in the specs -- you are free to put it in your > software if you want it like that. > > > > Cheers, Sam > > > > *From:* openehr-technical-bounces at chime.ucl.ac.uk > [mailto:openehr-technical-bounces at chime.ucl.ac.uk] *On Behalf Of > *Masoumeh Seydi > *Sent:* 21 December 2009 14:53 > *To:* openehr-technical at openehr.org > *Subject:* data types and structures questions > > > > Hi All, > I've got some questions about data types and structures. I was > wondering if someone could help me. > > 1. Why an item_single can,t be empty but other structures may be. I > mean 'items" attribute's cardinality in item_single is 1..1 (and this > is logical. coz' an item_single without element is meanless). But in > other structures, the cardinality of "items" attribute is 0..1. What's > the point of having an empty list or tree or table (without ant item > in it)? > > 2. What's the difference between CLUSTER and ITEM_TREE? Both can have > CLUSTERs and ELEMENTs. And why in all structures in CKM, there is a > *Data* branch shown in archetype mindmap but in cluster archetypes, > there is a *Item*s branch? > > 3. There is an *Interval* intrface containing lower and upper > attributes. Other intervals like *IntervalOfReal*, *IntervalofDate*, > *IntervalofDateTime*, *IntervalofTime* and *IntervalofDuration* with > lower and upper attributes in xsd file in the site. My question is, > why there is not an Interval class that contains an attribute for > declaring the type of interval and so get rid of other interval > classes for every type? > > Thanks in advance > Masoumeh > > > > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 4628 (20091122) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > ------------------------------------------------------------------------ > > _______________________________________________ > openEHR-technical mailing list > openEHR-technical at openehr.org > http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical > > > > __________ Information from ESET NOD32 Antivirus, version of virus signature > database 4628 (20091122) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > -- Ocean Informatics Dr Sebastian Garde Senior Developer Ocean Informatics /Dr. sc. hum., Dipl.-Inform. Med, FACHI/ Skype: gardeseb __________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20091221/31507d36/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: oceanlogo.png Type: image/png Size: 5677 bytes Desc: not available URL: <http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20091221/31507d36/attachment.png>