Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: HLEVUTI3

Package: Health Level Seven

Routine: HLEVUTI3


Information

HLEVUTI3 ;O-OIFO/LJA - Event Monitor UTILITIES ;02/04/2004 14:42

Source Information

Source file <HLEVUTI3.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
Kernel 2 ($$FMTE,$$NOW)^XLFDT  ($$CJ,$$LOW,$$REPEAT)^XLFSTR  
Health Level Seven 1 $$BTE^HLCSMON  
Registration 1 $$SITE^VASITE  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Health Level Seven 1 HLEVUTIL  

Entry Points

Name Comments DBIA/ICR reference
ADDLN(GBLSV,DATA) ; Add one line of text...
MOVETMP(FILE,IEN,GBLSV) ; Move ^UTILITY data into ^TMP and prep it...
PAD(STR,LEN) ; Add spaces to right justify...
EOR ;HLEVUTI3 - Event Monitor UTILITIES ;5/16/03 14:42
LASTIEN ; Display last IEN of files 772 & 773 every 15 seconds...
HDRIEN ;
DIFFIEN(LAST,BEFORE) ; Return number new entries right justified in 3 col's
SDT(FMTIME) ; Return DD/MM/YY@HH:MM:SS

External References

Name Field # of Occurrence
$$BTE^HLCSMON LASTIEN+19
$$SITE^VASITE LASTIEN+22
$$FMTE^XLFDT SDT+3
$$NOW^XLFDT LASTIEN+32
$$CJ^XLFSTR MOVETMP+7, LASTIEN+4, LASTIEN+22
$$LOW^XLFSTR MOVETMP+28
$$REPEAT^XLFSTR PAD+3, LASTIEN+5, HDRIEN+6

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF,$$CJ^XLFSTR("File 772 & 773 IEN Display",IOM)
  • Line Location: LASTIEN+4
Function Call: WRITE
  • Prompt: !,$$REPEAT^XLFSTR("=",IOM)
  • Line Location: LASTIEN+5
Function Call: WRITE
  • Prompt: !!,"This API displays the last internal entry number (IEN) in the following files:"
  • Line Location: LASTIEN+7
Function Call: WRITE
  • Prompt: !!," * HL Message Text file (#772)."
  • Line Location: LASTIEN+8
Function Call: WRITE
  • Prompt: !," * HL Message Administration file (#773)."
  • Line Location: LASTIEN+9
Function Call: WRITE
  • Prompt: !!,"The last IEN in these files are recollected and redisplayed every 15 seconds."
  • Line Location: LASTIEN+10
Function Call: WRITE
  • Prompt: !,"After every display of these IENs, you may take the following actions:"
  • Line Location: LASTIEN+11
Function Call: WRITE
  • Prompt: !!," * Do nothing, & the information will be redisplayed in 15 seconds."
  • Line Location: LASTIEN+12
Function Call: WRITE
  • Prompt: !," (You may change the refresh seconds by entering a number of seconds"
  • Line Location: LASTIEN+13
Function Call: WRITE
  • Prompt: !," and pressing RETURN.)"
  • Line Location: LASTIEN+14
Function Call: WRITE
  • Prompt: !!," * Hit return to force information redisplay."
  • Line Location: LASTIEN+15
Function Call: WRITE
  • Prompt: !!," * Enter an uparrow ('^') and press RETURN to exit."
  • Line Location: LASTIEN+16
Function Call: WRITE
  • Prompt: !
  • Line Location: LASTIEN+18
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: LASTIEN+21
Function Call: WRITE
  • Prompt: $$CJ^XLFSTR(" "_$P(X,U,2)_" ["_$P(X,U,3)_"] ",IOM,"=")
  • Line Location: LASTIEN+22
Function Call: WRITE
  • Prompt: !!
  • Line Location: LASTIEN+31
Function Call: WRITE
  • Prompt: !,$$SDT($$NOW^XLFDT),?19,B
  • Line Location: LASTIEN+32
Function Call: WRITE
  • Prompt: ?21,IEN772,?36,$$DIFFIEN(IEN772,LAST772),?45,B
  • Line Location: LASTIEN+33
Function Call: WRITE
  • Prompt: ?47,IEN773,?61,$$DIFFIEN(IEN773,LAST773),?73,B
  • Line Location: LASTIEN+34
Function Call: WRITE
  • Prompt: """"
  • Line Location: LASTIEN+42
Function Call: WRITE
  • Prompt: "<ret>"
  • Line Location: LASTIEN+44
Function Call: WRITE
  • Prompt: "Time",?19,B,?21,"LAST-772-IEN",?36,"#772",?45,B
  • Line Location: HDRIEN+4
Function Call: WRITE
  • Prompt: ?47,"LAST-773-IEN",?61,"#773",?73,B
  • Line Location: HDRIEN+5
Function Call: WRITE
  • Prompt: !,$$REPEAT^XLFSTR("=",IOM)
  • Line Location: HDRIEN+6

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD( MOVETMP+11
^HL(772 - [#772] LASTIEN+30
^HLMA(":" LASTIEN+30
^TMP($J MOVETMP+3!, MOVETMP+14, MOVETMP+15*, MOVETMP+19, MOVETMP+20*, MOVETMP+23, MOVETMP+24, MOVETMP+42!, ADDLN+2, ADDLN+3*
^UTILITY("DIQ1" MOVETMP+5

Label References

Name Line Occurrences
$$DIFFIEN LASTIEN+33, LASTIEN+34
$$PAD MOVETMP+35
$$SDT LASTIEN+32
ADDLN MOVETMP+7, MOVETMP+30, MOVETMP+31, MOVETMP+33, MOVETMP+37, MOVETMP+40
HDRIEN LASTIEN+23, LASTIEN+31

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
B LASTIEN+1~, LASTIEN+25*, LASTIEN+32, LASTIEN+33, LASTIEN+34, HDRIEN+1~, HDRIEN+2*, HDRIEN+4, HDRIEN+5
BEFORE DIFFIEN~, DIFFIEN+2, DIFFIEN+3
CT LASTIEN+1~, LASTIEN+25*, LASTIEN+29*, LASTIEN+31
DATA MOVETMP+1~, MOVETMP+12*, MOVETMP+13, MOVETMP+15, MOVETMP+18*, MOVETMP+20, MOVETMP+24*, MOVETMP+25*, MOVETMP+28*, MOVETMP+31
, MOVETMP+32, MOVETMP+35, ADDLN~, ADDLN+3
DATE SDT+1~, SDT+4*, SDT+5
DIFF LASTIEN+1~, DIFFIEN+1~, DIFFIEN+3*, DIFFIEN+4
DIR LASTIEN+1~
DIROUT LASTIEN+1~
DIRUT LASTIEN+1~
DTOUT LASTIEN+1~
DUOUT LASTIEN+1~
FILE MOVETMP~, MOVETMP+7, MOVETMP+10, MOVETMP+11, MOVETMP+12, MOVETMP+17, MOVETMP+18, MOVETMP+26
FLD MOVETMP+1~, MOVETMP+9*, MOVETMP+10*, MOVETMP+11, MOVETMP+12, MOVETMP+15, MOVETMP+16, MOVETMP+17, MOVETMP+18, MOVETMP+25*
, MOVETMP+26, MOVETMP+29
FLD(1 MOVETMP+16*, MOVETMP+20
FLDLEN MOVETMP+1~, MOVETMP+27*
FLDNM MOVETMP+1~, MOVETMP+11*, MOVETMP+15, MOVETMP+20, MOVETMP+25*, MOVETMP+26*, MOVETMP+27*, MOVETMP+28
FMTIME SDT~, SDT+2, SDT+3, SDT+4
GBL MOVETMP+1~, MOVETMP+5*, MOVETMP+10, MOVETMP+12, MOVETMP+17, MOVETMP+18
GBLSV MOVETMP~, MOVETMP+7, MOVETMP+30, MOVETMP+31, MOVETMP+33, MOVETMP+37, MOVETMP+40, ADDLN~, ADDLN+2, ADDLN+3
IEN MOVETMP~, MOVETMP+7, MOVETMP+10, MOVETMP+12, MOVETMP+17, MOVETMP+18
IEN772 LASTIEN+1~, LASTIEN+26*, LASTIEN+30*, LASTIEN+33, LASTIEN+35
IEN773 LASTIEN+1~, LASTIEN+26*, LASTIEN+30*, LASTIEN+34, LASTIEN+35
IOF LASTIEN+4, LASTIEN+21
IOM LASTIEN+4, LASTIEN+5, LASTIEN+22, HDRIEN+6
IOSL LASTIEN+18
LAST DIFFIEN~, DIFFIEN+2, DIFFIEN+3
LAST772 LASTIEN+2~, LASTIEN+26*, LASTIEN+33, LASTIEN+35*
LAST773 LASTIEN+2~, LASTIEN+26*, LASTIEN+34, LASTIEN+35*
LEN PAD~, PAD+2, PAD+3
MNO MOVETMP+1~, MOVETMP+16*, MOVETMP+17*, MOVETMP+18
NO MOVETMP+1~, MOVETMP+14*, MOVETMP+15, MOVETMP+19*, MOVETMP+20, MOVETMP+22*, MOVETMP+23*, MOVETMP+24
NUM MOVETMP+1~, ADDLN+1~, ADDLN+2*, ADDLN+3
STOP LASTIEN+2~, LASTIEN+28, LASTIEN+36*, LASTIEN+39*
STR MOVETMP+1~, MOVETMP+22*, MOVETMP+30, MOVETMP+32, MOVETMP+33, MOVETMP+34*, MOVETMP+35*, MOVETMP+36, MOVETMP+37, MOVETMP+38*
, MOVETMP+39*, MOVETMP+40, PAD~, PAD+1, PAD+2, PAD+3
TIME SDT+1~, SDT+3*, SDT+5
TIMEOUT LASTIEN+2~, LASTIEN+25*, LASTIEN+37, LASTIEN+41*
U MOVETMP+11, MOVETMP+15, MOVETMP+20, MOVETMP+25, LASTIEN+22, LASTIEN+38
X LASTIEN+2~, LASTIEN+22*, LASTIEN+37*, LASTIEN+38, LASTIEN+41
Y LASTIEN+2~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All