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 |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: PSJLMHED

Package: Inpatient Medications

Routine: PSJLMHED


Information

PSJLMHED ;BIR/MLM-BUILD LM HEADERS ;29-May-2012 14:38;PLS

Source Information

Source file <PSJLMHED.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
Inpatient Medications 4 $$ENDTC^PSGMI  ENBOTH^PSJAC  PAUSE^PSJLMUTL  EN^PSJO1  
Registration 2 $$SETSTR^VALM1  KILL^VALM10  
Order Entry Results Reporting 1 $$CWAD^ORQPT2  

Caller Graph

Caller Graph Total: 5

Package Total Caller Graph
Inpatient Medications 5 PSGOECS  PSGOERS  PSIVRP  PSJLMAL  PSJLMDA  

Entry Points

Name Comments DBIA/ICR reference
ON ;
TEST ;
HDR(DFN) ; -- list screen header
; input: DFN := ifn of pat
; output: VALMHDR() := hdr array
DONE ;
TF ; Set up order type header
HDRO(DFN) ; Standardized part of profile header.
INIT(PSJPROT) ; -- init bld vars
; PSJPROT=1:UD ONLY; 2:IV ONLY; 3:BOTH

External References

Name Field # of Occurrence
$$CWAD^ORQPT2 HDRO+6
$$ENDTC^PSGMI HDR+10, HDRO+12
ENBOTH^PSJAC HDR+5
PAUSE^PSJLMUTL INIT+5
EN^PSJO1 INIT+4
$$SETSTR^VALM1 HDR+7, HDR+9, HDR+10, HDRO+4, HDRO+5, HDRO+7, HDRO+13, HDRO+14
KILL^VALM10 INIT+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,?22,"NO ORDERS FOUND FOR "_$S(PSJOL="S":"SHORT",1:"LONG")_" PROFILE."
  • Line Location: INIT+5
Function Call: READ
  • Prompt: E N E W A L S"
  • Timeout: "P
  • Variable: C["CD"
  • Line Location: TF+3
Function Call: READ
  • Prompt: I F I E D C O M P L E X"
  • Timeout: "N
  • Variable: C["B"
  • Line Location: TF+3
Function Call: READ
  • Prompt: I F I E D"
  • Timeout: "N
  • Variable: 1
  • Line Location: TF+3
Function Call: WRITE
  • Prompt: !,$E($E(Y,1,(80-$L(X))/2)_" "_X_$E(Y,1,(80-$L(X))/2),1,80)
  • Line Location: TEST+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(53.1 - [#53.1] HDRO+2, ON+3
^PS(55 - [#55] HDRO+2, ON+3
^SC - [#44] HDRO+3
^TMP("PSJ" INIT+2!, INIT+5, INIT+6, INIT+9, INIT+10, INIT+13, INIT+16, INIT+17, INIT+19, INIT+20
, ON+2, TF+1
^TMP("PSJON" INIT+2!, ON+4*
^TMP("PSJPRO" INIT+2!, ON+4*, TF+4*

Label References

Name Line Occurrences
@( ON+4
HDRO HDR+6
ON INIT+10, INIT+17, INIT+20
TF INIT+8, INIT+15, INIT+18

Naked Globals

Name Field # of Occurrence
^( ON+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
C TF+2~*, TF+3
CNT DONE+1!
DFN HDR~, HDR+6, HDRO~, HDRO+2, HDRO+6
>> DN ON+2*
>> FQ ON+2*
GMRA HDR+4!
>> IORVOFF HDRO+7
>> IORVON HDRO+7
PRJPRI ON+3~
>> PSGP INIT+7, INIT+14, ON+3
PSJ HDR+4!, HDR+7*, HDR+8*, HDR+9, HDR+10, HDRO+4*, HDRO+5*, HDRO+7*, HDRO+10*, HDRO+13*
, HDRO+14*
PSJACNWP HDR+4!, HDR+5*
PSJAPPT HDRO+1~*, HDRO+3*, HDRO+12
PSJC INIT+6*, INIT+7, INIT+8, INIT+9, INIT+10, INIT+13*, INIT+14, INIT+15, INIT+16, INIT+17
, INIT+18, INIT+19, INIT+20, DONE+1!, ON+2, TF+1, TF+2
PSJCLIN HDRO+1~*, HDRO+2*, HDRO+3
PSJCLINN HDRO+1~*, HDRO+3*, HDRO+4, HDRO+5, HDRO+12
PSJEN INIT+6*, DONE+1!, ON+4*
>> PSJF INIT+7*, INIT+14*
>> PSJL ON+4*
PSJLN INIT+6*, INIT+23, DONE+1!, TF+4*
>> PSJO ON+2*, ON+3, ON+4
>> PSJOL INIT+5
>> PSJORD HDRO+1, HDRO+2
>> PSJOS ON+1
>> PSJPAD HDR+7
>> PSJPAGE HDRO+14
>> PSJPDD HDR+7, HDR+9, HDR+10, HDRO+5, HDRO+11
>> PSJPDOB HDRO+14
>> PSJPDX HDR+8
>> PSJPHT HDRO+13
>> PSJPHTD HDRO+13
>> PSJPPID HDRO+10
>> PSJPRB HDRO+11
PSJPRI DONE+1!, ON+3*
PSJPROT INIT~, INIT+3, INIT+4
>> PSJPSEX HDR+7
>> PSJPTD HDR+10
>> PSJPWDN HDRO+5
>> PSJPWT HDRO+14
>> PSJPWTD HDRO+14
PSJS INIT+10*, INIT+17*, INIT+20*, DONE+1!, ON+1, ON+2
>> PSJSCHT ON+1*
PSJST INIT+9*, INIT+10, INIT+16*, INIT+17, INIT+19*, INIT+20, DONE+1!, ON+1, ON+2
>> PSJTF INIT+6*, INIT+8*, INIT+13*, INIT+15*, INIT+18*
PSJUDPRF INIT+2!, INIT+3*
>> RMORDAT HDRO+1*
RMORDT HDRO+1~, HDRO+11*, HDRO+12*, HDRO+13
U HDR+7, HDR+9, HDRO+3, HDRO+14
VA HDR+4!
VADM HDR+4!
VADM(1 HDRO+4, HDRO+5
VAERR HDR+4!
VAIN HDR+4!
>> VALMCNT INIT+23*
VALMHDR HDRO+4!
VALMHDR(1 HDRO+7*
VALMHDR(2 HDRO+13*
VALMHDR(3 HDRO+14*
VALMHDR(4 HDR+7*
VALMHDR(5 HDR+9*, HDR+10*
>> VALMQUIT INIT+5*
X HDR+4!, HDRO+6*, HDRO+7*, TF+2~, TF+3*, TF+4, TEST+1~, TEST+2*
Y TF+2~*, TF+4, TEST+1~*, TEST+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All