Hi,
I'm reading this page trying to understand how to implement archetype 
flattening and operational template support to our EHRGen project: 
http://www.openehr.org/wiki/pages/viewpage.action?pageId=196633#openEHRADL%26AOM1.5-TemplatesandSpecialisedArchetypes-Source%2Cflatandoperationalformsofarchetypessupported
 
What I don't get is: when you have a flat archetype (e.g. without slots, 
internal refs and only with the specialized nodes) or an operational template 
(also flat), where is the reference to the original archetype nodes in the 
flattened AOM object for the resolved references (slots, internal refs, etc.)?
For example:
Archetype A: [at0000] OBS -> [at0001] HISTORY -> [at0002] EVENT (slot to 
archetype B)Archetype B: [at0000] EVENT -> [at0001] ITEM_TREE -> ...
Flattened: (Archetype A) [at0000] OBS -> [at0001] HISTORY -> [at0002] EVENT -> 
(Archetype B) [at0000] EVENT -> [at0001] ITEM_TREE -> ...
If I use the flattened archetype in my application, I would like to know what 
is the original archetype that constrained my EVENT, because could create 
queries based on the paths of that archetype. Maybe there's another way of 
doing the same that I can't see yet.

Thanks a lot!

-- 
Kind regards,
Ing. Pablo Pazos Guti?rrezopenEHR community in spanish: http://openehr.org.es
LinkedIn: http://uy.linkedin.com/in/pablopazosgutierrez
Blog: http://informatica-medica.blogspot.com/
Twitter: http://twitter.com/ppazos                                        
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20120430/ef2a72ac/attachment-0001.html>

Reply via email to