| APPSTAT | 
The STATUS-APPLICATION field (#5) in the HL7 Monitor
Job file (#776) can hold up to 10 characters of free-text data.  This field is
under the control of the application developer.  Data is placed in this field
using the APPSTAT^HLEVAPI0 API.
The STATUS-APPLICATION field in no way affects software processes.  It's only
use is for display by various Event Monitor display options.
The syntax for the APPSTAT^HLEVAPI1 API is:
D APPSTAT^HLEVAPI1(STATUS)
Where the STATUS parameter may be any value up to 10 characters (that doesn
not contain an up-arrow.)
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
STATUS | 
Input | 
The STATUS parameter may be any free-text data,
excluding the up-arrow, up to 10 characters in length.
 
 | 
 
 | 
MSGTEXT | 
The MSGTEXT^HLEVAPI1 API populates the MESSAGE TEXT
word processing field in the HL7 Monitor Job file (#776.)  The syntax for this
API is:
D MSGTEXT^HLEVAPI1(GBL)
Where GBL is a closed global reference to the location of the word-processing
text to be appended to the MESSAGE TEXT field.
Examples of valid closed global references are included in the following
example calls to this API:
D MSGTEXT^HLEVAPI1("^TMP(1532135)")
D MSGTEXT^HLEVAPI1($NA(^TMP($J,"TXT")))
D MSGTEXT^HLEVAPI1(TEXT)
If two calls to MSGTEXT^HLEVAPI1 are made, the second call appends it's text
to the text created by the first call.
The RUNDIARY^HLEVAPI1 API, also covered by this agreement operates identically
to this API, except it populates the RUN DIARY word processing field in the HL
Monitor Job file.
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
GBL | 
Input | 
The value of GBL must be a closed global reference to
the location of the word-processing text to be appended to the MESSAGE TEXT
field.
 
 | 
 
 | 
RUNDIARY | 
The RUNDIARY^HLEVAPI1 API populates the RUN DIARY
word processing field in the HL7 Monitor Job file (#776.)  The syntax for this
API is:
D RUNDIARY^HLEVAPI1(GBL)
Where GBL is a closed global reference to the location of the word-processing
text to be appended to the RUN DIARY field.
Examples of valid closed global references are included in the following
example calls to this API:
D RUNDIARY^HLEVAPI1("^TMP(1532135)")
D RUNDIARY^HLEVAPI1($NA(^TMP($J,"TXT")))
D RUNDIARY^HLEVAPI1(TEXT)
If two calls to RUNDIARY^HLEVAPI1 are made, the second call appends it's text
to the text created by the first call.
The MSGTEXT^HLEVAPI1 API, also covered by this agreement operates identically
to this API, except it populates the MESSAGE TEXT word processing field in the
HL Monitor Job file.
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
GBL | 
Input | 
The value of GBL must be a closed global reference to
the location of the word-processing text to be appended to the RUN DIARY
field.
 
 | 
 
 |