In our current setup, our application makes a call to a web-service when an event had been done that triggers a message. That webservice pulls data from our database and delivers it to cloverleaf in XML. The XML is then converted to HL7 in cloverleaf and passed to the customer via the CSC.
The number of Allergies, Medications, etc… is variable.
My question is: What is the best way to set up the XML Schema so that it will allow variable length lists?