Handling HL7v2 Error ACKs in a SOAP response?
Hi,
While HL7 Errors ACKs come back in the soap response, the HL7v2 Error ACK message is not processed.
I used the SOAP Wizard to construct my classes, but the generated code doesn't handle the HL7v2 ACK.
Does health Connect have a class that handles this?
Failing an official solution should I go ahead and make make my own classes based on EnsLib.HL7.Operation.TCPOperation, but wrapping it with the generated SOAP handling code.
How have others dealt with this?
e.g.<?xml version="1.0" ?>
<!-- type: LNW.WebService.PKB.Response.acceptMessageResponse id: 3357304 -->
<acceptMessageResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:s="http://www.w3.org/2001/XMLSchema">
<return><![CDATA[MSH|^~\&|HL7API|PKB|TDL|WINPATH|20190716135646+0100||ACK^R01|PKB-20190716135646+0100|P|2.4
MSA|AR|0716135699F131112|Parsing or validation error: no valid IDs provided for patient|]]></return>
</acceptMessageResponse>
Kind regards,
Stephen