Hello everyone

I keep getting an error when parsing this ecg archetype (expressed as 
XML) and i was wondering if this could be because the archetype was 
uploaded to the CKM when the CKM used a different version of the 
published openEHR XSDs, if this used to be a bug of the archetype editor 
or if it could be something that i am doing wrong.

The error i keep getting is "unrecognised element" for <any_allowed>.

In fact, in my small local collection of archetypes*, this archetype is 
the only one that has an <any_allowed> element as part of its 
C_COMPLEX_OBJECT definitions.

If i remove <any_allowed>, the archetype is parsed without any problems, 
but that's usually a way to create problems, not solve them :-)

I would really like to use this ECG archetype as a test case because it 
contains a large number of definitions.

According to the specs C_COMPLEX_OBJECT is supposed to inherit 
"any_allowed" by C_DEFINED_OBJECT but the "Archetype.xsd" does not 
contain an element / attribute definition for <any_allowed> in any of 
the relevant class definitions.

This is why i suspect come kind of a (possibly older) mismatch between 
the CKM / Archetype editor code and the XSDs.


What do you think?

Could this be related to this item as well?
http://www.openehr.org/mailarchives/openehr-technical/msg05970.html

I suppose i can safely remove <any_allowed> (?)

Looking forward to hearing from you
Athanasios Anastasiou

P.S. (*) The 7 Archetypes i am interested in: (encounter, 
menstrual_cycle_day, blood_pressure, body_temperature, 
body_weight_adjusted, ecg, height)

Reply via email to