Originally posted by Andre van Olden
Currently I am working on a project requiring conversion of xml to hl7. I have approached this in two ways, both using a valid schema (xsd):
1. Xlate
2. TCL ( using grm for the DOM tree and then just building the HL7 in-line)
Messages are significant in size ( > 4Mb ) with multiple images ( base64 ) eg: ( excerpt from .xml ) being converted to multiple OBX's in the HL7
<Full_Image>
<ScanDate>20070720165332-0600</ScanDate>
<LastUpdatedDate>20070720171216-0600</LastUpdatedDate>
<Page>1</Page>
<Extension>JPEG</Extension>
<Encoding>Base64</Encoding>
<Image>/9j/SkZJRgABAAEAyADIAA</Image>
</Full_Image>
<Full_Image>
<ScanDate>20070720165332-0600</ScanDate>
<LastUpdatedDate>20070720171223-0600</LastUpdatedDate>
<Page>2</Page>
<Extension>JPEG</Extension>
<Encoding>Base64</Encoding>
<Image>/9j/4AAQSkZJRgABAAEAyADIAAD//</Image>
</Full_Image>
The issue comes into play with larger Images, It can take up to 4hrs to process a single message, however, if dealing with small images, I get sub-second response.
Any help or direction on what may be causing this issue would be appreciated