On 20/06/2012 20:30, Diego Bosc? wrote: > So you have to select the ITEM_STRUCTURE class but you don't have to > select the EVENT class? (most CKM archetypes have now EVENT and not > INTERVAL_EVENT or POINT_EVENT) > I think it should be allowed/forbidden following only one criteria. > > * > *
in general, there is no harm not choosing a subtype if you are only constraining properties of the supertype. In the case of ITEM_STRUCTURE this doesn't make sense because it is an abstract type with no structure defined; anything you want to constrain will be in a particular subtype. In the case of EVENT however, you can sensibly constrain just EVENT properties, and if you don't force the subtype, you are saying - I don't care if this event happens to be a point event or an interval event, which is entirely reasonable. Although, I must admit I suspect that at least some of those CKM archetypes probably did really intend only a POINT_EVENT, so in some cases, the type constraint should be made. - thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20120621/ad7195cf/attachment-0001.html>

