openEHR / java-libs

Standard Java libraries for Java implementations of openEHR
Other
48 stars 60 forks source link

Error while flattening oet file. #21

Open subhrajyotim opened 9 years ago

subhrajyotim commented 9 years ago

Hello, I am using openehr 1.0.4 (1.0.11-SNAPSHOT as well) java ref impl libs to process a oet template. I get the error,

org.openehr.am.template.FlatteningException: no constraint on path: /items[at0046] of openEHR-EHR-CLUSTER.symptom.v1 at org.openehr.am.template.Flattener.applyRule(Flattener.java:802) at org.openehr.am.template.Flattener.applyRules(Flattener.java:779)

the same thing happens with both versions, 1.0.4 as well as 1.0.11-SNAPSHOT. Link to the oet file I am trying to process. https://drive.google.com/file/d/0B2rfmXR_HvZQanQ0eVFFRDdNTUE/view?usp=sharing

The java code is out of the test case for OET (oet-parse module in openehr, javalibs maven project). I am working on Linux, Jdk1.8, maven3 dev-environment.

Please help, What am I missing? What do I have to do in the template to make this work? Is the template file itself invalid? Please help with this i am stuck and unable to proceed.

Thanks, Subhro.