- This topic has 2 replies, 2 voices, and was last updated 7 years ago by .
-
Topic
-
This is a proc that filters messages based on a TCL expression that is passed as an argument. You can include HL7 field specifiers (like %PID.3%) or user metadata fields (like %u|VARNAME%). Example arguments:
{ EXPRESSION {! [regexp {^NC} %PID.18%] } }
Kills a message if PID.18 starts with NC
{ EXPRESSION {%OBX(3.1=SmokingStatus).1% eq ” }}
Kills a message if it contains an OBX with SmokingStatus in OBX.3.1
{ EXPRESSION {! [regexp {^EC} %u|DEPT%] } }
Kills message if DEPT variable in user metadata starts with EC.
Viewing 1 reply thread
Viewing 1 reply thread
- The forum ‘Tcl Library’ is closed to new topics and replies.