Hello Athanasios, Those archetypes have parts that do not follow openEHR model. All share the same issue, they have a 'constraint reference' inside a defining code attribute. The correct is a 'CODE_PHRASE' class. I think this is a clear example of why we should keep the model outside the parser: This archetype is syntactically valid, but not semantically.
Regards 2012/9/13 Athanasios Anastasiou <athanasios.anastasiou at plymouth.ac.uk>: > Hello everyone > > Is there a known problem with the following archetypes? > openEHR-DEMOGRAPHIC-CLUSTER.individual_credentials_iso.v1 > openEHR-DEMOGRAPHIC-CLUSTER.person_additional_data_br.v1 > openEHR-DEMOGRAPHIC-CLUSTER.person_birth_data.v1 > > If not, could there be something with the Archetype Editor? It refuses to > load these archetypes properly whether it's from the "Open from web" option > or by trying to open an ADL downloaded straight from the CKM. > > Additional information attached. > > Looking forward to hearing from you > Athanasios Anastasiou > > > ARCHETYPE EDITOR: > I wanted to have a look at the Demographic/Address/Address/"Healthcare > provider address" archetype and i chose to do it through the Archetype > Editor (AE) version 2.2.735 beta to be able to save any modifications i > might have wanted to apply. > > Two versions of the AE gave me the same error: 2.2.3[something] and the > latest 2.2.735 beta > > PROBLEM: > *) The AE partially opens a Demographics archetype through the "Open From > Web" option > *) The AE fails to load a Demographics archetype in ADL format coming from a > fresh checkout from the CKM > > REPLICATING THE PROBLEM: > "Open From Web" > 1) File -> Open From Web > 2) Search: Demographics > 3) Select: one of > Cluster/[individual_credentials_iso.v1,person_additional_data_br.v1, > person_birth_data.v1] > 4) OK > > ERRORS: > Incorrect format does not conform to reference model (x7) > INFO - Archetype [archetypeID] Semantics VALIDATED > (ADL_INTERFACE.parse_archetype) > INFO - Archetype [archetypeID] Syntax VALIDATED > (ADL_INTERFACE.parse_archetype) > > "Open from downloaded ADL" > 1) Download "individual_credentials_iso.v1" from CKM > 1) File-> Open > 2) Select: individual_credentials_iso.v1 > 3) OK > > ERRORS: > 1) Error loading: ITEM_STRUCTURE = ADDRESS->ITEM_TREE (x2) > 2) Loads everything EXCEPT the archetype's definition > > _______________________________________________ > openEHR-technical mailing list > openEHR-technical at lists.openehr.org > http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

