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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: PSGMMIVC

Package: Inpatient Medications

Routine: PSGMMIVC


Information

PSGMMIVC ;BIR/MV-PRT MULT DAYS MAR C ORDERS(IV) ;16 Mar 99 / 2:10 PM

Source Information

Source file <PSGMMIVC.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
Inpatient Medications 11 TS^PSGMAR3  $$ENDTC1^PSGMI  ($$OPI,LNNEED,RPHINIT)^PSGMIV  DTS^PSGMMAR0  (ASTERS,BOT,CELL,HEADER)^PSGMMAR2  EN^PSGS0  GT531^PSIVORFA  GT55^PSIVORFB  
NAME^PSIVUTL  $$ONE^PSJBCMA  $$LASTREN^PSJLMPRI  
VA FileMan 1 ^DIC  

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

Package Total Caller Graph
Inpatient Medications 3 PSGMIV  PSGMMAR2  PSGMMIV  

Entry Points

Name Comments DBIA/ICR reference
PRT ;*** Print IV orders.
OS ; order record set
PRTIV ;*** Print IV order on MAR
L(X) ;***Check to see if a new block if needed.
LN(L) ;*** Print lines within block.
CELL(X,X1)
INITOPI ;* Set nurse's initial and the other print info.
NAME(X,NAME,INIT)

External References

Name Field # of Occurrence
^DIC NAME+5
TS^PSGMAR3 OS+5
$$ENDTC1^PSGMI PRT+4
$$OPI^PSGMIV PRTIV+33
LNNEED^PSGMIV PRT+9
RPHINIT^PSGMIV INITOPI+1
DTS^PSGMMAR0 OS+2
ASTERS^PSGMMAR2 CELL+1, CELL+2
BOT^PSGMMAR2 PRTIV+1, L+5
CELL^PSGMMAR2 CELL+4
HEADER^PSGMMAR2 PRTIV+1, L+5
EN^PSGS0 OS+1
GT531^PSIVORFA PRT+2
GT55^PSIVORFB PRT+2
NAME^PSIVUTL PRTIV+9, PRTIV+15
$$ONE^PSJBCMA PRT+6
$$LASTREN^PSJLMPRI INITOPI+5

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !?6,"|",?19,"|",?48,"|",$G(TS(1))
  • Line Location: PRTIV+2
Function Call: WRITE
  • Prompt: !,$E(P("LOG"),1,5)," |"
  • Line Location: PRTIV+3
Function Call: WRITE
  • Prompt: ?39,"("_$E(PSGP(0))_$E(PSSN,8,12)_")"
  • Line Location: PRTIV+6
Function Call: WRITE
  • Prompt: ?48,"|",$G(TS(2))
  • Line Location: PRTIV+7
Function Call: WRITE
  • Prompt: !
  • Line Location: PRTIV+18
Function Call: WRITE
  • Prompt: !
  • Line Location: PRTIV+18
Function Call: WRITE
  • Prompt: !,"*CAUTION-CHEMOTHERAPY*",?48,"|",$G(TS(L))
  • Line Location: PRTIV+22
Function Call: WRITE
  • Prompt: !
  • Line Location: PRTIV+23
Function Call: WRITE
  • Prompt: "*CAUTION-CHEMOTHERAPY*",?48,"|",$G(TS(L))
  • Line Location: PRTIV+27
Function Call: WRITE
  • Prompt: !
  • Line Location: PRTIV+29
Function Call: WRITE
  • Prompt: !
  • Line Location: PRTIV+34
Function Call: WRITE
  • Prompt: !
  • Line Location: PRTIV+35
Function Call: WRITE
  • Prompt: $E(Y1,1,47)
  • Line Location: PRTIV+38
Function Call: WRITE
  • Prompt: !
  • Line Location: PRTIV+39
Function Call: WRITE
  • Prompt: $E(Y1,48,$L(Y1))
  • Line Location: PRTIV+40
Function Call: WRITE
  • Prompt: Y1," "
  • Line Location: PRTIV+41
Function Call: WRITE
  • Prompt: !
  • Line Location: PRTIV+48
Function Call: WRITE
  • Prompt: !
  • Line Location: PRTIV+49
Function Call: WRITE
  • Prompt: !?7,LN2
  • Condition for execution: PSGMAROC<6
  • Line Location: PRTIV+50
Function Call: WRITE
  • Prompt: ?55
  • Line Location: CELL+1
Function Call: WRITE
  • Prompt: ?55
  • Line Location: CELL+2
Function Call: WRITE
  • Prompt: ?55,$$LN(X)
  • Line Location: CELL+3
Routine Call
  • DIC
  • Line Location:
    • NAME+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(52.7 - [#52.7] PRTIV+17
^PS(53.1 - [#53.1] INITOPI+9, INITOPI+11
^PS(55 - [#55] INITOPI+3

Label References

Name Line Occurrences
$$LN CELL+3
CELL PRTIV+2, PRTIV+7, PRTIV+9, PRTIV+12, PRTIV+16, PRTIV+17, PRTIV+18, PRTIV+19, PRTIV+23, PRTIV+28
PRTIV+39, PRTIV+43, PRTIV+44, PRTIV+45, PRTIV+47, PRTIV+50, L+3
INITOPI PRT+5
L PRTIV+9, PRTIV+12, PRTIV+16, PRTIV+17, PRTIV+21, PRTIV+25, PRTIV+31, PRTIV+39, PRTIV+45
NAME INITOPI+7, INITOPI+11
OS PRT+2
PRTIV PRT+9

Naked Globals

Name Field # of Occurrence
^( INITOPI+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> DAO PRT+2
>> DFN PRT+2*, PRT+6, INITOPI+3, INITOPI+5
DIC NAME+4~, NAME+5*
DIC(0 NAME+5*
DRG PRT+1!
DRG("AD" PRTIV+9, PRTIV+10, PRTIV+42
DRG("SOL" PRTIV+13, PRTIV+15, PRTIV+17, PRTIV+19, PRTIV+42
>> FD OS+1*, OS+2
INIT NAME~, NAME+7*
L PRTIV+7*, PRTIV+9, PRTIV+12, PRTIV+16, PRTIV+17, PRTIV+18, PRTIV+19*, PRTIV+20, PRTIV+22, PRTIV+23
PRTIV+26, PRTIV+27, PRTIV+28, PRTIV+29, PRTIV+30*, PRTIV+34, PRTIV+35, PRTIV+39, PRTIV+43*, PRTIV+44
PRTIV+45*, PRTIV+46*, PRTIV+47*, PRTIV+48, PRTIV+49, PRTIV+50, L+1*, L+2, L+3, L+4*
, LN~, LN+1
>> LN PRTIV+1, L+5
>> LN2 PRTIV+50, L+4
>> LN4 LN+1
>> LN7 LN+1
>> MSG1 L+5*
NAME PRTIV+8~, PRTIV+9, PRTIV+15, NAME~, NAME+6*
NAME( PRTIV+9, PRTIV+15, PRTIV+16
NAMENEED PRT+8~*
ND4 INITOPI+3~*, INITOPI+4, INITOPI+6*, INITOPI+7
NEED PRT+8~
>> ON PRT+2*, PRT+6, PRTIV+4, PRTIV+5, CELL+1, INITOPI+3, INITOPI+5, INITOPI+8, INITOPI+9, INITOPI+11
ON55 PRT+1~, PRTIV+33
P PRT+1!
P( PRT+4*
P("DTYP" PRT+3
P("LOG" PRTIV+3
P("MR" PRTIV+18
P("OPI" PRTIV+20, PRTIV+30, PRTIV+32, PRTIV+33, PRTIV+37, PRTIV+48, PRTIV+49, INITOPI+9*
P(11 PRT+3!, OS+3*, OS+4, OS+5, CELL+2, CELL+3
P(2 PRT+2, PRT+6, PRT+7, OS+1, OS+3, PRTIV+4
P(3 PRT+2, PRT+6, OS+1, PRTIV+4
P(4 PRTIV+20, PRTIV+24
P(8 PRTIV+18
P(9 PRT+2, PRT+6, OS+1, OS+2, PRTIV+18, CELL+1*
>> PN PRT+2
>> PSGD( OS+2
PSGIVFL PRTIV+42~*
PSGLFFD PRT+1!, PRT+2*, CELL+1~*
PSGLREN INITOPI+5~*, INITOPI+6
PSGLRN PRT+1!, PRTIV+50, INITOPI+2*, INITOPI+7, INITOPI+11
PSGLRNDT INITOPI+6~*
>> PSGLRPH PRTIV+50, INITOPI+1
>> PSGLSSD PRT+2*
PSGMARGD PRT+1!*, OS+4*, CELL+1~*
>> PSGMAROC PRTIV+1, PRTIV+2*, PRTIV+50, L+2, L+4*, L+5*
PSGMARTS PRT+1!, OS+4*
>> PSGOES OS+1*
>> PSGP PRTIV+33
>> PSGP(0 PRTIV+6
>> PSGS0XT OS+1
>> PSGST PRT+6*, PRT+7*, PRTIV+9, PRTIV+12, PRTIV+16, PRTIV+17, INITOPI+10*
>> PSJDIV PRTIV+18*
PSJLABEL PRT+1~*
PSJPRT2 PRTIV+14~, PRTIV+17*
>> PSJTMPL PRTIV+18*
PSJTMPX PRTIV+36~*, PRTIV+39*, PRTIV+40*, PRTIV+41*
>> PSSN PRTIV+6
>> PST OS+2
>> QQ OS+2*, OS+4
>> S OS+2
>> S( OS+2
>> SD OS+1*, OS+2*
>> T OS+1*, OS+3
TS PRT+1!*, OS+5!, PRTIV+30, PRTIV+32, PRTIV+43, PRTIV+44, PRTIV+45, CELL+2, CELL+3
TS( PRTIV+9, PRTIV+12, PRTIV+16, PRTIV+17, PRTIV+18, PRTIV+19, PRTIV+22, PRTIV+27, PRTIV+39, PRTIV+43
PRTIV+44, PRTIV+45, PRTIV+47, PRTIV+50, L+3
TS(1 PRTIV+2
TS(2 PRTIV+7
U PRT+2, OS+2, PRTIV+17, PRTIV+18, NAME+7
X PRT+4*, PRT+8~, OS+1*, OS+2*, PRTIV+9*, PRTIV+15*, PRTIV+16, PRTIV+17, L~, L+1
, LN+1~*, LN+2, CELL~, CELL+1, CELL+2, CELL+3, CELL+4, INITOPI+9*, NAME~
X1 CELL~, CELL+4
Y PRTIV+9*, PRTIV+15*, PRTIV+16, PRTIV+37*, INITOPI+9*, NAME+4~
Y(0 NAME+6, NAME+7
>> Y1 PRTIV+37*, PRTIV+38, PRTIV+39, PRTIV+40, PRTIV+41
>> Z INITOPI+9*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All