Hallgeir Stuenes wrote: > > Hi, > > I?m new to openEHR and archetypes and have some question I hope you > can help me with. > > 1. I don?t understand the relationship between the archetypes and the > underlying data model. If an archetype is changed, will the underlying > data model change? > First of all, archetypes are built on reference model. Changes of archetypes will not effect reference model. Data model in the RDBMS or other formalism, e.g. XML are mapped to the reference model. Since the reference model supposes to be stable over long period, data model in the database etc should be stable as well. This is one of the major benefits of two-level modeling design. > > 2. If an archetype is changed, how will this affect the data stored > based on the old archetype? > Archetypes are versioned in an archetype based system. So data stored based on old archetypes should always be possible to be retrieved and processed. > > 3. In what format is data stored? (In a DBMS, as XML file or something > else?) > It's up to the implementer of the system. There are RDBMS, OODBMS, XML based solutions that I am aware of. > > 4. Are there any running implementations using archetypes? Are there > any existing storage solutions? > > (reference: http://ping.chip.org/pages/docstandard) > Our group in Sweden made a pilot EHR system, which storage solution is based on an OR mapping layer called Hibernate. The actual system is running on MySQL DBMS. There are of course other persistence solution as I mentioned above.
Maybe you want to take a look at the openEHR persistence design notes written by Thomas, http://www.openehr.org/FAQs/t_persistence_notes.htm Cheers, Rong > Regards, > > Hallgeir >

