I need help with converting XML file to HL7 for an inventory interface. The vendor had given me a XML data file (inv10.xml) with some of the data populated. I went ahead and generated a xsd schema for it. I have compiled the .xsd file in XML Package Manager and used it in my Xlate to convert to a HL7 message for the receiving side. This works well when the fields are populated to the point the .xsd was generated. When new fields in the XML document that were not populated during the .xsd generation are valued, the validation on Cloverleaf fails. Is there a way to make all the fields optional in XML? What is the best fix for this issue?
Thanks!
Vidya Sridhar
Sr. Integration Analyst
CNMC Washington DC