This is my first time writing an interface from Source HL7 to destination XML. Vendor has provided me with the schema (see attached) but I am constantly getting the following error:
[0:TEST] Message encode warnings: Error generated during parsing. – Element ‘lastname’ is not valid for content
My xlate has only one line of code:
I am mapping one field from HL7 to one field of xml. I wanted to see if a a mapped field will work before I mapped every field.
To make this work-Does every XML field in my output has to be mapped.
I have creted my own XSD with MSH and PID and got it to work but I really would like the vendor xsd to work in cloverleaf.