Originally posted by Femina Jaffer
Hello All,
Could anyone send me a copy of there version of the "Check_hl7_reply" tcl proc? I would like to compare our version with it, as ours is generating an error every time there is a NACK received. It works, but it generates an error.
The error that we encounter in our Error DB is as follows:
message : 'MSH|^~&||PRMC|TAMTRON|PATH|20070530141422||ACK|9136303|P|2.2||||x0dMSA|AE|9136303|HL7 NACK createdx0d'
Tcl error:
msgId = message0
proc = 'check_hl7_reply'
args = ''
result = 'bad msgId ""'
errorInfo: '
bad msgId ""
while executing
"msgget $ob_mh"
("run" arm line 99)
invoked from within
"switch -exact -- $mode {
start {
# Perform special init functions
set nak_ctr 0
return ""
}
..."
(procedure "check_hl7_reply" line 9)
invoked from within
"check_hl7_reply {MSGID message0} {CONTEXT sms_ib_reply} {ARGS {}} {MOD
Thank you all.
Femina