Hi, I am attempting to convert XML to HL7 and this is my first ever interface attempting to do so. Have no experience with the XML package manager other then trying to read up on it the past few days or so.
I have added the schema from the vendor to Cloverleaf but I am getting the attached error. I am not sure I have even created the folder correctly (should I be using XML or HL7 CDA?) so any help would be greatly appreciated.
If lower than 5.8 that could be an issue regarding XML.
I have not done much with XML either but I don’t think it makes any difference what directory you place thee schema in.
I would suggest you have another XML editing/authoring product (like Oxygen or XML Spy) to investigate schemas sent to you – one of those tools might present more information or the schema might compile which could indicate the Xerces compiler level in the Cloverleaf version you are at could be out of date.
Unfortunately the version of the XML compiler (Xerces) is tied to the Cloverleaf release and cannot be independently updated currently – at least that is what I understand.
Hopefully someone else has experienced this error and has some insight.
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.
I agree with Charlie: you don’t need to compile ‘basetypes.xsd’, this .xsd will surely be used by other xsd files. Try compiling another xsd (Patient Admission or something like that).
And the included .doc file is a .zip file. There is a screenprint in there with the error message, indicating Jared is using CL5.8.
Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands
Yes I am using 5.8 and progress has been made. I’ve downloaded Oxygen and that has helped. From looking the XSD files and the test message from the vendor it seems that ‘OutboundDataFeed’ is the name of the base schema. I was able to compile ‘OutboundDataFeed.xsd’ and ‘OutboundDataFeed_V3.0.xsd’ so I’m not exactly sure which one to use in Xlate.
I’ve attached a test message and a screen shot of my successful compile.
I would also suggest you visit http://www.w3schools.com/ and avail yourself of the fine tutorials they have there including XML, XSD, etc.
Well worthwhile
I would make this same recommendation to anyone just jumping in to the world of XML, HTTP, HTTPS, SOAP, WSDL, etc. W3C provides some great tutorials for free.
Charile, thanks for the link to the XML tutorial. That’s some good reading material.
As for my issue, yes I was able to compile but am still not to the point of going from XML to HL7. I have created the Xlate but I receive the error below when trying to send a message through. Thoughts anyone?
[xlt :xlat:ERR /0: um_xlate:06/24/2014 15:20:22] [0.0.67910] Xlate ‘X_ALLSCRIPTS_XML.xlt’ failed: Input validation errors: Error generated during parsing. – Unknown element ‘OutboundDataFeed’ – Line 2, Col 396