Re: Demographic Archetype Model
Rodrigo Filgueira wrote: Thanks for your answer Rong, Then why is there a Am for other packages like Common, DataStructures or support? Are you sure? which document you are looking at? There were different AM for each part of the RM some time ago, but they were replaced by the generic AM. So now the AM classes are specified by the document - "The Archetype Object Model". In reference to the error I get, this archetype (openehr-demographic-person.person.draft)was downloaded from archetype-dev. Nobody has reported this error before? does anybody have a clue? Can't verify that, still waiting for an editor for linux :( so archetypes for the demographic model can only be done with notepad, is that right? thanks again Rong Chen wrote: Rodrigo Filgueira wrote: Hi there, I've been trying to open openehr-demographic-person.person.draft.adl with 0.99.1a ADL editor and I get the following message: Error Loading: ITEM_STRUCTURE = PERSON -> ITEM_TREE 2 times. After a while I realized that the Demographic AM is not yet available, so it is possible this is the reason why ADL Editor has problems. I am however able to open this archetype with the adl workbench, and edit it with notepad. But I imagine that if the archetype does not work with adl editor it will not be usable with the kernel, until, again the demographic am is integrated to the kernel. In case I'm right, when do you expect to free the demographic AM and integrate it to the adl editor and kernel? thank you - If you have any questions about using this list, please send a message to d.lloyd@openehr.org Hi Rodrigo, The archetype object model (AOM) is very generic by design. The constraints can be expressed on objects, attributes, associations and primitive types, which are common in any object models. Therefore it can be used to constrain any kind of reference model, either the openEHR RM or CEN13606 RM or others. The AOM implementation within the current kernel can be used for demographic RM as well as other part of RM (e.g. EHR), we have successfully used archetypes to create demographic objects (e.g. Person) in runtime by the java kernel. So the problem you found is not caused by missing implementation in the kernel. As I understand the Ocean ADL editor and workbench are based on the Eiffel implementation of the kernel and the ADL parser, so there is no connection between the ADL editor and the java kernel at the moment unfortunately. Regards, Rong - If you have any questions about using this list, please send a message to d.lloyd@openehr.org - If you have any questions about using this list, please send a message to d.lloyd@openehr.org - If you have any questions about using this list, please send a message to d.lloyd@openehr.org