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<datatype>' 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: <expression xsi:type="EXPR_BINARY_OPERATOR"> <type>Boolean</type> <operator>2007</operator> <precedence_overridden>false</precedence_overridden> <left_operand xsi:type="EXPR_LEAF"> <type>String</type> <item xsi:type="xsd:string">archetype_id/value</item> <reference_type>attribute</reference_type> </left_operand> <right_operand xsi:type="EXPR_LEAF"> <type>C_STRING</type> <item xsi:type="C_STRING"> <pattern>openEHR-EHR-CLUSTER\.level_of_exertion(-[a-zA-Z0-9_]+)*\.v1</pattern> </item> <reference_type>constraint</reference_type> </right_operand> </expression> 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 www.intersystems.se<http://www.intersystems.se/> [cid:ED240A39-0B89-4E22-A855-B5D04BBD2DD0]
_______________________________________________ openEHR-implementers mailing list openEHR-implementers@lists.openehr.org http://lists.openehr.org/mailman/listinfo/openehr-implementers_lists.openehr.org