| DFN |
Input |
Patient's IEN.
|
GMRGPDA |
Input |
Entry in GMR Text file for document where part will
be edited.
|
GMRGRT |
Input |
Two piece variable indicating prime document for this
GMR Text (124.3) file entry. The first piece is the Aggregate Term file
pointer of the prime document, the second piece is the text representation of
the prime document.
|
GMRGTERM |
Input |
Term in which user will start editing patient data.
This is starting point of the edit. The data for this variable is two-piece,
where the first piece is the Aggregate Term file pointer of the term, and the
second piece is the text representation of the term.
|
GMRGVNAM |
Input |
Free text patient name.
|
GMRGVSSN |
Input |
Patient SSN.
|
GMRGVDOB |
Input |
Paitent DOB.
|
GMRGVAGE |
Input |
Patient age.
|
GMRGVAMV |
Input |
IEN in Patient Movement file for current patient
admission information, or null if patient not current inpatient.
|
GMRGVPRV |
Input |
Patient provider for current patient admission
information, or null if patient not current inpatient.
|
GMRGVWRD |
Input |
Inpatient ward for current patient admission
information, or null if patient not current inpatient.
|
GMRGVRBD |
Input |
Patient room/bed for current patient admission
information, or null if patient not current inpatient.
|
GMRGVADT |
Input |
Admission date/time for current patient admission
information, or null if patient not current inpatient.
|
GMRGVDX |
Input |
Patient admitting diagnosis for current patient
admission information, or null if patient not current inpatient.
|
GMRGTOP(0) |
Input |
This is the current prime document for the level that
has been jumped to. For this usage it is just +GMRGRT.
|
GMRGTOP |
Input |
GMRGTOP represents how many levels the user has
jumped to. In this case Nursing just passes in 1.
|
GMRGLVL |
Input |
Current jump level being edited. In this case the
value 1 is passed in.
|
GMRGLVL( |
Input |
GMRGLVL(GMRGLVL)=Tree level for this jump-level.
GMRGLVL(GMRGLVL,GMRGTLVL)=Stack level for this tree level for this jump-level.
The GMRGLVL array can be used to address the ^TMP($J,"GMRGLVL", global. This
application is passing in GMRGLVL(1)=1, and GMRGLVL(1,1)=1.
|
GMRGTLVL |
Input |
Current tree level being processed. This application
will pass in the value of 1.
|
GMRGSLVL |
Input |
The current stack level being processed. This
application passes in 1.
|
TMP($J,'GMRGLVL', |
Input |
This global maps the selections and how they were
picked. Using GMRGLVL, GMRGTLVL, GMRGSLVL, and GMRGLVL( the order of items
selected by the user, or what the user typed at each prompt can be determined.
^TMP($J,"GMRGLVL",GMRGLVL,GMRGTLVL,GMRGSLVL)=A^B^C, where A is the Aggregate
Term file entry of term processed, B is action to be performed (add, delete,
edit internal text, etc.), and C is a flag whether to redisplay the frame (0)
or not (1). ^TMP($J,"GMRGLVL",GMRGLVL,GMRGTLVL,GMRGSLVL)=D^E^F, where D is
the free text of the aggregate term being edited, E is the IEN in the
Selection multiple of the GMR Text file that represents this term, and F is
the appended/internal text currently entered for this term.
|
GMRGPRC |
Input |
This variable in represents what the user typed in.
This variable has 3 pieces, A^B^C, where A is the IEN of the Aggregate Term
the user selected, B is the action the user wants to take (add, delete, edit
internal text, etc.), and C is whether the user indicated to redisplay the
screen for this term or not.
|
GMRGPRC(0) |
Input |
This variable contains three pieces, A^B^C, which
contain data about the selection the user made. A is the free text of the
Aggregate Term selected, B is the entry number of this term in the Selection
multiple of the GMR Text file, and C is the appended/internal text stored for
this selection.
|
GMRGTERM(0) |
Input |
Zeroth node of the Aggregate Term file for the
Aggregate Term used as a starting point.
|
GMRGSCRP |
Input |
Current script being executed. This is passed in
with a value of 0.
|
GMRGSITE |
Input |
The IEN in Package Parameters multiple of GMRG
Parameters (124.1) file for the type of prime document being edited. In this
case it would be the IEN for the NURSC entry.
|
GMRGSITE(0) |
Input |
The zeroth node of the GMRGSITE entry in the Package
Parameters multiple of the GMRG Parameters file.
|
GMRGSITE('P') |
Input |
The "P"-node for the GMRGSITE entry in the Package
Parameters multiple of the GMRG Parameters file.
|
GMRGSTAT |
Input |
Information about the last audit trail entry for the
Aggregate Term being edited. This is a three piece variable set by
STAT^GMRGRUT0 utility.
|
GMRGIO('RVOF') |
Input |
Reverse video off executable code for the current
terminal used, if it exists.
|
GMRGIO('RVON') |
Input |
Reverse video on executable code for the current
terminal used, if it exists.
|
GMRGIO('S') |
Input |
This is a flag indicating whether the current
terminal supports reverse video on/off (1), or not (0).
|
GMRGLIN('-') |
Input |
A string of "-"'s with lenght IOM.
|
GMRGLIN('*') |
Input |
A string of "*"'s with lenght IOM.
|
GMRGUP |
Both |
This variable indicates whether the user hit <CR> to
bypass last level (1), or not (0). It is passed in with value of 0.
|
GMRGNORD |
Both |
This variable indicates whether the user wishes to
view this screen upon reentry (0), or not (1). It is passed in as 0.
|
GMRGOUT |
Both |
This variable indicates whether the user abnormally
exited input (1), or not (0). The variable is passed in with value of 0.
|
GMRGSEL( |
Output |
This entry also returns the current list of
selections for the frame passed in by GMRGTERM. GMRGSEL(A)=B, where A is the
selection number from the screen, and B is a three piece variable where the
first piece is the Aggregate Term file IEN for the term represented by this
selection, the second piece is the printable text of that Aggregate Term, and
the third piece is a flag indicating whether the selection is currently active
(1), or not (0).
|