I just hope this is the right place to ask this.
Today, I just successfully got the java openehr jars...
I am now looking looking forward to being able to parse adl into a java object.
Please I need some documentation or sense of direction in trying to do this cos I need to work with the object.
BufferedReader in = new BufferedReader(
new InputStreamReader(
new FileInputStream("D:\\openEHR-EHR-CLUSTER.auscultation.v1.adl") , "UTF-8"
)
);
ADLParser parser = new ADLParser(in);
Archetype a = parser.parse();
but I get validation errors that prevent this. I dont know if anyone here could help out.
Please see below:
Line 5.
AN array declaration uses - restricts or extends - the soapenc:Array type, or the wsdl:array attribute is used in the type declaration.
A wsdl:types element contained a data type definition that is not an xml schema definition
Line 208.
The use attribute of a soapbind:body, soapbind:fault, soapbind:header fault doesnt have value of "literal"
Line 132.
name attributes are not unique within the portType definition