Including or Excluding the Alarm Parameter
When you are using the Mirth server to process incoming messages, you can specify whether the parameter provided
with an alarm is to affect whether or not the alarm is latched.
For example, suppose that the Mirth server receives a "HI HR 150" alarm. If the Mirth server then receives an additional
"HI HR" alarm with a different alarm parameter, such as "HI HR 155", how it responds depends on whether the alarm parameter
is excluded or included:
- If the alarm parameter is excluded, only the "HI HR" component of the alarm is stored in memory. The "HI HR 150" and
"HI HR 155" alarms are treated as identical, since they both have the "HI HR" component. In this case, the alarm is latched,
and a new alarm is not generated.
- If the alarm parameter is included, the entire "HI HR 150" alarm is stored in memory. When the "HI HR 155" alarm
is generated, it is considered to be a new alarm. The existing "HI HR 150" alarm is canceled, and a new "HI HR 155" alarm
is generated. (If an additional "HI HR 150" alarm had been generated, this alarm would have been latched.)
In the Mirth server, including or excluding the alarm parameter is controlled in the HL7Receiver_Parser channel, using a flag named UseAlarmParam.
It can be set to either of the following:
- If UseAlarmParam is set to 0, the alarm parameter is excluded.
- If UseAlarmParam is set to 1, the alarm parameter is included.
To change the alarm parameter flag:
In the Mirth Connect pane, click Channels.
Right-click HL7Receiver_Parser. Select Edit Channel.
Select the Scripts tab.
From the Scripts dropdown list, select Deploy. In the script, search for the UseAlarmParam flag.
Set UseAlarmParam to 0 to exclude the alarm parameter, or set it to 1 to include the alarm parameter.
The default value of the flag is 0.
Click Save Changes to save the changes.
Right-click on the channel and select Deploy Channel to redeploy it.
Vocera recommends setting UseAlarmParam to 0 in a production environment. This ensures that your
CWE server is not flooded with multiple copies of the same alarms.