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

Package: Inpatient Medications

Routine: PSGMMAR4


Information

PSGMMAR4 ;BIR/CML3-MD MARS - PRINT O/P ORDERS ;05 Oct 98 / 10:25 AM

Source Information

Source file <PSGMMAR4.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Inpatient Medications 3 ATS^PSGMAR3  $$ENDTC2^PSGMI  $$SITE^PSGMMAR2  

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 PSGMMAR3  

Entry Points

Name Comments DBIA/ICR reference
PSGMARB ;***Print blank MAR for PRN orders.
EN ;***Start print prn orders.
HEADER ;*** Patient info
BOT ; rest of PRN sheet
ENB ;

External References

Name Field # of Occurrence
ATS^PSGMAR3 HEADER+8
$$ENDTC2^PSGMI HEADER+3
$$SITE^PSGMMAR2 HEADER+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,LN1
  • Line Location: PSGMARB+4
Function Call: WRITE
  • Prompt: !,P1,?55,"|",?75,"| ",P2
  • Line Location: EN+8
Function Call: WRITE
  • Prompt: !,P1,?55,"|",?75,"| ",P2
  • Line Location: EN+11
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $G(PSGPG)
  • Line Location: HEADER+2
Function Call: WRITE
  • Prompt: ?1,"ONE-TIME/PRN SHEET",?61,PSGMARDF_" DAY MAR",?100,PSGMARSP_" through "_PSGMARFP
  • Line Location: HEADER+2
Function Call: WRITE
  • Prompt: !?5,$P($$SITE^PSGMMAR2(80),U,2),?102,"Printed on ",$$ENDTC2^PSGMI(PSGXDT)
  • Line Location: HEADER+3
Function Call: WRITE
  • Prompt: !,"Allergies: See attached list of Allergies/Adverse Reactions"
  • Line Location: HEADER+7
Function Call: WRITE
  • Prompt: !?57,"Diet: ",PSJDIET
  • Line Location: HEADER+9
Function Call: WRITE
  • Prompt: !
  • Line Location: HEADER+10
Function Call: WRITE
  • Prompt: !!?1,"Order",?9,"Start",?21,"Stop",?77,"Order",?85,"Start",?97,"Stop",!,LN1
  • Line Location: HEADER+11
Function Call: WRITE
  • Prompt: !?1,"Order",?9,"Start",?21,"Stop",?77,"Order",?85,"Start",?97,"Stop",!,LN1
  • Line Location: HEADER+12
Function Call: WRITE
  • Prompt: !,"| DATE | TIME | MEDICATION/DOSE/ROUTE | INIT | REASON | RESULTS | TIME | INIT |"
  • Line Location: BOT+1
Function Call: WRITE
  • Prompt: !,LN31
  • Line Location: BOT+2
Function Call: WRITE
  • Prompt: !,LN1
  • Line Location: ENB+2
Function Call: WRITE
  • Prompt: !,"|",?13,"SIGNATURE/TITLE",?40,"| INIT | INJECTION SITES |",?97,"SIGNATURE/TITLE",?124,"| INIT |"
  • Line Location: ENB+3
Function Call: WRITE
  • Prompt: !,"|"_$E(LN1,1,39)_"|------|"_BLN(Q),?84,"|"_$E(LN1,1,39)_"|------|"
  • Line Location: ENB+4

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SC - [#44] HEADER+4
^TMP($J PSGMARB+6!, EN+3, EN+5, EN+6, EN+13

Label References

Name Line Occurrences
BOT PSGMARB+5, EN+13
HEADER PSGMARB+2, EN+4, HEADER+8

Naked Globals

Name Field # of Occurrence
^( EN+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> AD HEADER+6
>> BD HEADER+5
>> BL PSGMARB+2, EN+10, BOT+2
>> BLN( ENB+4
>> DX HEADER+6
>> HT HEADER+5
IOF HEADER+2
L1 PSGMARB+1~*, PSGMARB+3, EN+1~*, EN+7, EN+11
>> LAB EN+1*, EN+5*, EN+6
LABX EN+1~, EN+5*, EN+10*
>> LN EN+5*, EN+6, EN+7, EN+9
>> LN1 PSGMARB+4, EN+9, EN+12, HEADER+12, ENB+2, ENB+4, ENB+5
>> LN31 BOT+2
P1 EN+1~, EN+6*, EN+7*, EN+8, EN+11*
P2 EN+1~, EN+6*, EN+7*, EN+8, EN+11*
>> PAGE HEADER+5
>> PG EN+1*, EN+3*, EN+5, EN+6, EN+13
>> PPN HEADER+4, ENB+5
>> PRB HEADER+5, ENB+5
>> PSEX HEADER+6
>> PSGALG HEADER+7
>> PSGDT HEADER+1
>> PSGMAPA( ENB+6*
>> PSGMAPA(1 ENB+6*
>> PSGMAPB( ENB+6*
>> PSGMAPB(1 ENB+6*
>> PSGMAPC( ENB+6*
>> PSGMAPC(1 ENB+6*
>> PSGMAPD( ENB+6*
>> PSGMAPD(1 ENB+6*
>> PSGMARDF HEADER+2
>> PSGMARFP HEADER+2
>> PSGMAROC ENB+6*
>> PSGMARSP HEADER+2
>> PSGMPG EN+2*, ENB+1*, ENB+5
>> PSGMPGN EN+2*, EN+13*, ENB+1*, ENB+5
>> PSGPG HEADER+2*
PSGX HEADER+8~*
>> PSGXDT HEADER+1*, HEADER+3
>> PSJDIET HEADER+9
>> PSSN HEADER+5, ENB+5
>> PWDN HEADER+4, HEADER+5, HEADER+6, ENB+5
>> Q PSGMARB+3*, BOT+2*, ENB+4*, ENB+6*
>> TD HEADER+6
U EN+6, HEADER+3
>> WT HEADER+4
>> X PSGMARB+2*, EN+11*, BOT+2*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All