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: [email protected]
[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
Items 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



 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20091221/cc624920/attachment.html>

Reply via email to