Does openEHR contain the paradigm to reference instances of archetypes in template instances ? When I want to use an archetype instance in two different templates I have two possibilities, 1. to duplicate the data and store it in the serialized objects of both template instances or 2. to store the archetype instance once and reference it from within the template instances. The 2nd option would have the advantage that I could change the data of the archetype instance and both template instances immediately would point to correct data. Unfortunately the templates can constrain the archetype differently any change on an archetype instance would have to trigger a check on all references of this instance to ensure that all constaints on the used archetype are still met. This trigger mechanism doing those checks could be a bit complicated. If such a reference mechanism is used in openEHR, where in the documentation is it specified ?

Dipl.-Inf. Georg Fette      Raum: B001
Universität Würzburg        Tel.: +49-(0)931-31-85516
Am Hubland                  Fax.: +49-(0)931-31-86732
97074 Würzburg              mail: georg.fe...@uni-wuerzburg.de

openEHR-technical mailing list

Reply via email to