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: PSIVUDL

Package: Inpatient Medications

Routine: PSIVUDL


Information

PSIVUDL ;BIR/PR,MLM-IV ORDER INFORMATION FOR UNIT DOSE LABEL ;25 Nov 98 / 9:12 AM

Source Information

Source file <PSIVUDL.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Inpatient Medications 6 ($$ENDTC,$$ENDTC1)^PSGMI  RPHINIT^PSGMIV  NAME^PSIVUTL  ENIV^PSJAC  $$ONE^PSJBCMA  $$LASTREN^PSJLMPRI  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Inpatient Medications 2 PSGL  PSGL0  

Entry Points

Name Comments DBIA/ICR reference
EN(DFN,ON,PSJLWD,PSJLRB) ; Entry to print MAR label for all types of IV orders.
ENP ; Print MAR label for IV order.
DONE ;
NXTLNE(NL) ; Print info to right of drug (x=line number,NL=new label)

External References

Name Field # of Occurrence
$$ENDTC^PSGMI NXTLNE+2, NXTLNE+5
$$ENDTC1^PSGMI EN+7
RPHINIT^PSGMIV EN+8
NAME^PSIVUTL ENP+11, ENP+14
ENIV^PSJAC EN+1
$$ONE^PSJBCMA EN+5
$$LASTREN^PSJLMPRI ENP+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: $C(13),?1,$E(P("LOG"),1,5)," |",X,?36,"(",$E(VADM(1),1),$E(VADM(2),6,9),")",?42,"|",$G(PSJLAT(1)),?52,VADM(1),?88,$J($S(PSJLRB]"":PSJLRB,1:"*NF*"),12)
  • Line Location: ENP+6
Function Call: WRITE
  • Prompt: !
  • Line Location: ENP+11
Function Call: WRITE
  • Prompt: ?1,NAME(Y)
  • Line Location: ENP+11
Function Call: WRITE
  • Prompt: ?4,NAME(Y)
  • Line Location: ENP+12
Function Call: WRITE
  • Prompt: ?4,NAME(Y)
  • Line Location: ENP+15
Function Call: WRITE
  • Prompt: !?7,PSJPRT2
  • Line Location: ENP+16
Function Call: WRITE
  • Prompt: "*CAUTION-CHEMOTHERAPY*"
  • Line Location: ENP+19
Function Call: WRITE
  • Prompt: ?1,""
  • Line Location: ENP+20
Function Call: WRITE
  • Prompt: ?1
  • Line Location: ENP+21
Function Call: WRITE
  • Prompt: ?1,PSJCONT
  • Line Location: ENP+25
Function Call: WRITE
  • Prompt: ?1
  • Line Location: ENP+25
Function Call: WRITE
  • Prompt: ?24,"RPH:",PSJRPH,?33," RN:",PSGLRN
  • Line Location: ENP+28
Function Call: WRITE
  • Prompt: !
  • Line Location: ENP+28
Function Call: WRITE
  • Prompt: ?24,"RPH:",$S(PSJRPH]"":PSJRPH,1:"_____"),?33," RN:_____"
  • Line Location: ENP+29
Function Call: WRITE
  • Prompt: !
  • Line Location: ENP+29
Function Call: WRITE
  • Prompt: ?42,PSGLST
  • Condition for execution: PSJCNT=2
  • Line Location: NXTLNE+2
Function Call: WRITE
  • Prompt: ?43,"|",$G(PSJLAT(PSJCNT))
  • Line Location: NXTLNE+2
Function Call: WRITE
  • Prompt: ?52,$P(VADM(2),U,2),?70,$E($$ENDTC^PSGMI(+VADM(3)),1,8)," (",VADM(4),")",?85,$J($S(PSJTM]"":PSJTM,1:"NOT FOUND"),15)
  • Line Location: NXTLNE+2
Function Call: WRITE
  • Prompt: ?52,$S(VADM(5)]"":$P(VADM(5),U,2),1:"____"),?65,"DX: ",VAIN(9)
  • Line Location: NXTLNE+3
Function Call: WRITE
  • Prompt: ?52,$S(PSJWGN]"":$E(PSJWGN,1,21),1:"NOT FOUND"),?79,$J($S($P(PSJLWD,U,2)]"":$P(PSJLWD,U,2),1:"NOT FOUND"),21)
  • Line Location: NXTLNE+7
Function Call: WRITE
  • Prompt: !,?1
  • Line Location: NXTLNE+8
Function Call: WRITE
  • Prompt: !,?1
  • Line Location: NXTLNE+8
Function Call: WRITE
  • Prompt: ?1,PSJCONT
  • Line Location: NXTLNE+9

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(52.6 - [#52.6] ENP+11
^PS(52.7 - [#52.7] ENP+16
^PS(53.1 - [#53.1] EN+4, ENP+1
^PS(55 - [#55] EN+3, ENP+1
^PS(57.5 - [#57.5] EN+2
^PS(57.7 - [#57.7] EN+2
^VA(200 - [#200] ENP+8

Label References

Name Line Occurrences
@( EN+3
NXTLNE ENP+11, ENP+15, ENP+16, ENP+18, ENP+19, ENP+21, ENP+23, ENP+25, ENP+26, ENP+27
ENP+28, NXTLNE+9

Naked Globals

Name Field # of Occurrence
^( EN+4
^(0 ENP+8, ENP+11

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DFN EN~, EN+3, EN+5, ENP+1, ENP+2
DRG DONE+1!
DRG("AD" ENP+11
DRG("SOL" ENP+14, ENP+16
MSG EN+3*, ENP+9*, ENP+11*, ENP+17, DONE+1!
NAME ENP+10~, ENP+11, ENP+14
NAME( ENP+11, ENP+14, ENP+15
NL DONE+1!, NXTLNE~, NXTLNE+8*, NXTLNE+9
ON EN~, EN+3, EN+4, EN+5, EN+6, ENP+1, ENP+2, ENP+4
ON55 EN+3!, DONE+1!
P DONE+1!
P( EN+7*
P("LOG" ENP+6
P("MR" ENP+18
P("OPI" EN+4*, ENP+17*, ENP+18, ENP+19, ENP+20, ENP+21
P(11 EN+5
P(17 EN+9
P(2 EN+5, ENP+4, ENP+5
P(3 EN+5, ENP+5
P(4 ENP+18, ENP+19
P(8 ENP+18
P(9 EN+5, ENP+18
PSGLREN ENP+2~*, ENP+3
>> PSGLRN ENP+1*, ENP+3*, ENP+4, ENP+7*, ENP+8*, ENP+28
PSGLRNDT ENP+3~*
>> PSGLST EN+5*, EN+6*, NXTLNE+2
PSJACNWP EN+1*, DONE+1!
PSJCNT ENP+9*, ENP+18, ENP+24, ENP+25, ENP+26, ENP+27, ENP+28, DONE+1!, NXTLNE+2, NXTLNE+3
, NXTLNE+4, NXTLNE+7, NXTLNE+8*, NXTLNE+9
>> PSJCONT ENP+9*, ENP+25, NXTLNE+9
PSJLABEL EN+1~*
PSJLAT EN+3!, EN+5*, EN+9, EN+12, EN+13, EN+14, EN+15, DONE+1!
PSJLAT( EN+11*, EN+15*, ENP+18, ENP+24, ENP+26, ENP+28, NXTLNE+2
PSJLAT(0 EN+9*, EN+10, EN+12, EN+13, EN+14, EN+15
PSJLAT(1 EN+9*, EN+13*, EN+14*, ENP+6
PSJLAT(2 EN+9*
PSJLAT(3 EN+9*, EN+12*, EN+14*
PSJLAT(4 EN+9*
PSJLAT(5 EN+9*, EN+13*, EN+14*
PSJLDT EN+3*, DONE+1!, NXTLNE+4, NXTLNE+5
PSJLR EN+3*, DONE+1!, NXTLNE+4
PSJLRB EN~, EN+2, ENP+6
PSJLWD EN~, EN+2, NXTLNE+7
PSJPRT2 ENP+13~, ENP+16*
PSJRPH EN+3*, EN+8, ENP+28, DONE+1!
PSJTM EN+2*, DONE+1!, NXTLNE+2
PSJWGN EN+2*, DONE+1!, NXTLNE+7
U EN+2, EN+3, ENP+11, ENP+16, ENP+18, NXTLNE+2, NXTLNE+3, NXTLNE+7
VADM EN+1~
VADM(1 ENP+6
VADM(2 ENP+6, NXTLNE+2
VADM(3 NXTLNE+2
VADM(4 NXTLNE+2
VADM(5 NXTLNE+3
VAIN EN+1~
VAIN(9 NXTLNE+3
X EN+3*, EN+4*, EN+7*, EN+9*, EN+11*, EN+15*, ENP+4*, ENP+5*, ENP+6, ENP+8*
ENP+9*, ENP+11*, ENP+14*, ENP+16, DONE+1!
Y ENP+11*, ENP+14*, ENP+15, ENP+20*, ENP+21, DONE+1!, NXTLNE+1~, NXTLNE+4*, NXTLNE+6
Y1 ENP+21*, ENP+22, DONE+1!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All