Files > HL7 MONITOR

name
HL7 MONITOR
number
776.1
location
^HLEV(776.1,
Fields
#NameLocationTypeDetailsIndexDescription
.01name(+)0;1FREE TEXTBThis field holds the free-text name of the monitor.
2status0;2SET OF CODESA:ACTIVE
I:INACTIVE
The values for this set of code field are ACTIVE and INACTIVE. If set to ACTIVE the master job will queue background monitor jobs for the monitor. If set to INACTIVE the master job will ignore the entry.
3short description0;3FREE TEXTThis field holds a short description of the monitor.
4requeue min-monitor0;4NUMERICWhenever the master job runs it checks every entry in this HL7 Monitor file (#776.1). If an entry is active, a secondary check is made whether "it is time" to start a background job for the monitor. If the active monitor has never been run, a background job is started. If the monitor has been run, then the next "time to run" is calculated by adding the number of minutes specified in this field to the time the monitor was last run. If the next "time to run" is now (or earlier), a background job for the monitor is started.
5remote requestable0;5BOOLEAN0:NO
1:YES
This field is not currently in use.
6m startup0;6FREE TEXTBackground tasks, started by the master job, are queued to the API specified in this field. (The value of this field must be in the format of TAG~ROUTINE, which is converted to TAG^ROUTINE at run time.)
7m start check0;7FREE TEXTNormally, the only test made by the master job to determine whether a monitor job should be started is STATUS (it must be ACTIVE) and the requeue minutes. However, if this field is filled in with an extrinsic function that returns a positive or null value, it can be used as an additional test. Let's say that the extrinsic fuction $$RUNOW^ROUTINE returns a 1 if a background job should be started, or null if not. In this case, "$$RUNOW^ROUTINE" should be entered in this field.
41technical description41;0WORD-PROCESSINGThis field holds any additional technical notes deemed necessary by the monitor creator.
50event description50;0WORD-PROCESSINGThis field should be used by the application developer to describe the monitor, and how it is used. (If desired, the application developer may add additional, more technical notes in the TECHNICAL DESCRIPTION word processing field.)
51mail groups60;0MULTIPLE776.106When a monitor runs, the M code can conditionally send a mail message to recipients. This field, and other fields, are used to determine the recipients. In addition, recipients can be added by M code immediately before the sending of the message. The fields used to determine mail message recipients are: * MAIL GROUPS (#60) - pointer to the Mail Group file (#3.8.) * RECIPIENTS (#61) - pointer to the New Person file (#200.) * REMOTES (#62) - free-text remote recipient addresses. And, remember that additional recipients can be added (by populating the XMY array) on-the-fly at the time the message is sent. Please refer to the documentation included with patch HL*1.6*106 for additional explanation.
52recipients61;0MULTIPLE776.1061See documentation for the MAIL GROUPS field.
53remotes62;0MULTIPLE776.1062See documentation for the MAIL GROUPS field.

Referenced by 1 types

  1. HL7 MONITOR JOB (776) -- monitor-ptr