› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › ACK going into Eclipsys Sunrise Clinical Manager › Re: Here’s what we do
We also have a separate thread that does nothing but receive ACK message from SCM. On SCM you should have configured a HL7ACK_OUT (or similar name) connection. The name you choose is the same as what is in the “Connection Name” in your outbound Communication Processes. Then on Cloverleaf you need a thread that receives these ACK/NAK messages. We write them out to a disk file but it is not necessary to do that. On the Inbound Tab, TPS Inbound Data box we have this proc which sends an ACK back to SCM:
proc scm_06_ack { args } {
keylget args MODE mode
switch -exact — $mode {
start {
return {}
# Perform special init functions
# N.B.: may or may not be a MSGID key
}
run {
# ‘run’ mode always has a MSGID; fetch and process it
keylget args MSGID mh
keylget args CONTEXT context
lappend returnlist “CONTINUE $mh”
if {[cequal $context sms_ib_data]} {
set data [echo “