Hi all,
I’ve just started experimenting with openEHR, and here’s a newbie question to the list. (Please do let me know if this is not the right forum for this type of thing.)
I auto-created classes in our platform (HealthShare), based on the RM/AM xsd files, then created my own ‘IntervalOf’ classes (as they weren’t included), and fetched the XML projection of the blood pressure archetype, but this failed schema validation due to the following:
Boolean
2007
<precedence_overridden>false</precedence_overridden>
<left_operand xsi:type=“EXPR_LEAF”>
String
archetype_id/value
<reference_type>attribute</reference_type>
</left_operand>
<right_operand xsi:type=“EXPR_LEAF”>
C_STRING
openEHR-EHR-CLUSTER.level_of_exertion(-[a-zA-Z0-9_]+)*.v1
<reference_type>constraint</reference_type>
</right_operand>
As you can see, there are two instances of ‘EXPR_LEAF’, and in the first one, ‘item’ is (correctly, I think) a string, but in the second, it’s a complex datatype, which is what fails my schema validation.
Am I misunderstanding something, or is there an error in the XML projection?
Cheers,
Otto Medin
Senior Sales Engineer – Scandinavia
Mobile: +46 705 112 117
