On 02/05/2012 16:58, Diego Bosc? wrote:
> so you have to define two different archetype id even if the
> archetypes are the same?
> and again, slot text, description and codes are lost with this kind of 
> approach
>
> *
> *

if the archetypes are the same, you just use that archetype once, and 
allow multiple occurrences. There is never a need to duplicate an 
identical constraint object in an archetype.

I am not sure what you mean by the 'slot text, description and code 
being lost'. Everything is right there in its archetype. A template 
contains all the codes. It doesn't include copies of the description 
because it doesn't need it - flattened objects are operational entities 
('compiled' entities) not source entities. It's the same when you 
compile Java source code - the comments disappear in the output.

- thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20120502/a114c310/attachment.html>

Reply via email to