- This topic has 3 replies, 4 voices, and was last updated 17 years ago by .
-
Topic
-
I know i can kill these by routing them then use a proc to kill then off but i would like to filter at the inbound data level does anyone see why my code will not work? Do i need to look at the subfield level? run {
set mh [keylget args MSGID]
set dispList
set msg [msgget $mh]
set fldSep [string index $msg 3]
set subSep [string index $msg 4]
set segList [split $msg r]
set MSH [lindex [lregexp $segList {^MSH}] 0]
set MSHflds [split $MSH $fldSep]
set MSH_9 [lindex $MSHflds 8]
if {[string equal $MSH_9 ADT^A38] } {
set dispList
return $dispList
} else {
return $dispList
}
}
shutdown {
return “”
}
}
}
Viewing 2 reply threads
Viewing 2 reply threads
- The forum ‘Cloverleaf’ is closed to new topics and replies.