Javier Delgadillo · Oct 26, 2021

Parse ACK msgs sample

Hello - basic question.  Looking for sample code to parse inbound ACK messages.  Messages are coming in a SOAP envelope.  The ACKs will have MSH/MSA/ERR segments (other segments for QBP messages down the road).   Looking at common, established way(s) to parse the messages HS would be a great help to get started on this.  Thanks in advance.

Product version: IRIS 2021.1
$ZV: IRIS for Windows (x86-64) 2020.1 (Build 217_1_20418U) Mon Dec 21 2020 11:42:06 EST
0 130
Discussion (2)2
Log in or sign up to continue


>>The ACKs will have MSH/MSA/ERR segments
Each that segment is a string with delimiters.
Function $piece can help you parse MSH/MSA/ERR.

Hello!  Thank you very much for your reply and information.  The segments noted in your reply are exactly what I need to parse, and using the $Piece make sense.  Additionally, along with an associate, found a relevant class that is also helpful for our parsing/processing purposes (EnsLib.HL7.Message) .  Thank you again!