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

Package: Inpatient Medications

Routine: PSGMAR2


Information

PSGMAR2 ;BIR/CML3-PRINT 24 HOUR MAR(UD) ;14 Oct 98 / 4:28 PM

Source Information

Source file <PSGMAR2.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Inpatient Medications 5 ^PSGLOI  (BOT,ENB,HEADER,TMSTR,TS)^PSGMAR3  PRT^PSGMIV  ONHOLD^PSGMMAR2  MARLB^PSGMUTL  
VA FileMan 1 NOW^%DTC  

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

Package Total Caller Graph
Inpatient Medications 1 PSGMAR1  

Entry Points

Name Comments DBIA/ICR reference
S1
P ;***Print on Patient order
W ;***Print Ward/Ward group
PPN ;***Sort by Patient
RB ;***Sort by Room bed
PRT ; order info
PRT2 ;

External References

Name Field # of Occurrence
NOW^%DTC S1+1
^PSGLOI PRT+5
BOT^PSGMAR3 S1P+3, P+4, P+6, P+7, W+2, PPN+3, PPN+5, PPN+6, RB+1
RB+3, RB+4, PRT+6, PRT2+5
ENB^PSGMAR3 PRT+4
HEADER^PSGMAR3 S1P+3, P+4, P+6, W+2, PPN+3, PPN+5, RB+1, RB+3, PRT+4
PRT+6, PRT2+5
TMSTR^PSGMAR3 PRT2+2
TS^PSGMAR3 PRT+5
PRT^PSGMIV PRT+3, PRT+4
ONHOLD^PSGMMAR2 PRT+2
MARLB^PSGMUTL PRT+5

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,MARLB(PSGX)
  • Line Location: PRT+8
Function Call: WRITE
  • Prompt: ?48,"|",$G(TS(PSGX))
  • Condition for execution: PST["C"
  • Line Location: PRT+8
Function Call: WRITE
  • Prompt: ?55,"|"
  • Line Location: PRT2+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(53.1 - [#53.1] PRT+3
^TMP($J P+3, P+4, P+5, P+6, W+2, RB+1, RB+2, RB+3
^XTMP( W+2, PPN+3, PPN+4, PPN+5

Label References

Name Line Occurrences
P S1+3
PPN W+4
PRT P+5, PPN+4, RB+2
PRT2 PRT+8
RB W+4
W S1+4

Naked Globals

Name Field # of Occurrence
^( PPN+4, RB+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % S1+1
>> DAO P+4*, P+5*, PPN+3*, PPN+4*, RB+1*, RB+2*, PRT+2, PRT+5
DRUGNAME PRT+1~
>> LN2 PRT2+6
MARLB PRT+1~, PRT+6, PRT+8, PRT2+6
MARLB( PRT+8
>> MSG1 PRT2+4*
NAME PRT+1~
>> ON PRT+2*, PRT+3
>> OPST S1*, S1+1*, P+3*, P+4*, P+6*, W+2*, PPN+3*, PPN+5*, RB+1*, RB+3*
>> PN P+3, P+4, P+5, P+6, W+2, PPN+3, PPN+4, PPN+5, RB+1, RB+2
RB+3
>> PSGDT S1+1*
>> PSGMARB S1
>> PSGMAROC PRT+4, PRT+6, PRT+7*, PRT2+3, PRT2+6*
>> PSGMARS S1
>> PSGMARTS P+5*, PPN+4*, RB+2*, PRT+5*
>> PSGMPG S1+2*
>> PSGMPGN S1+2*, P+7*, PPN+6*, RB+4*
>> PSGMSORT PRT+3, PRT+5
>> PSGORD PRT+5*
>> PSGRBPPN W+2, W+4
>> PSGREP W+2, PPN+3, PPN+4, PPN+5
>> PSGSS S1+3
PSGX PRT+8~*, PRT2+2, PRT2+6
PSJPSTO PRT+5*, PRT+9!
>> PST S1*, S1+1*, P+3*, P+4*, P+5, P+6*, W+2*, PPN+3*, PPN+4, PPN+5*
RB+1*, RB+2, RB+3*, PRT+4, PRT+5*, PRT+8, PRT+9*, PRT2+2
>> PWDN P+3, P+4, P+5, P+6
>> RB W+2, PPN+3, PPN+4, PPN+5, RB+1, RB+2, RB+3
>> TM W+2, PPN+3, PPN+4, PPN+5, RB+1, RB+2, RB+3
>> TMSTR PRT+5*
>> TS PRT+6, PRT2+3
>> TS( PRT+8
U PRT+2, PRT+3, PRT+5
>> WDN W+2, PPN+3, PPN+4, PPN+5, RB+1, RB+2, RB+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All