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 ;16-Nov-2012 12:16;DU

Source Information

Source file <PSGMMAR4.m>

Call Graph

Call Graph Total: 3

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

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Inpatient Medications 1 PSGMMAR3  

Entry Points

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

External References

Name Field # of Occurrence
ATS^PSGMAR3 HEADER+12
$$ENDTC2^PSGMI HEADER+5
$$SITE^PSGMMAR2 HEADER+5

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: ?1,"ONE-TIME/PRN SHEET",?61,PSGMARDF_" DAY MAR",?100,PSGMARSP_" through "_PSGMARFP
  • Line Location: HEADER+2
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $G(PSGPG)
  • Line Location: HEADER+4
Function Call: WRITE
  • Prompt: !?1,"ONE-TIME/PRN SHEET",?31,PSGMARDF_" DAY MAR",?60,PSGMARSP_" through "_PSGMARFP,?110,"Page ___ of ___"
  • Line Location: HEADER+4
Function Call: WRITE
  • Prompt: !?5,$P($$SITE^PSGMMAR2(80),U,2),?102,"Printed on ",$$ENDTC2^PSGMI(PSGXDT)
  • Line Location: HEADER+5
Function Call: WRITE
  • Prompt: !,"Allergies: See attached list of Allergies/Adverse Reactions"
  • Line Location: HEADER+9
Function Call: WRITE
  • Prompt: !?57,"Diet: ",PSJDIET
  • Line Location: HEADER+13
Function Call: WRITE
  • Prompt: !
  • Line Location: HEADER+14
Function Call: WRITE
  • Prompt: !!?1,"Order",?9,"Start",?21,"Stop",?77,"Order",?85,"Start",?97,"Stop",!,LN1
  • Line Location: HEADER+15
Function Call: WRITE
  • Prompt: !?1,"Order",?9,"Start",?21,"Stop",?77,"Order",?85,"Start",?97,"Stop",!,LN1
  • Line Location: HEADER+16
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: !,LN31
  • Line Location: BOT+3
Function Call: WRITE
  • Prompt: !,LN31
  • Line Location: BOT+4
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+6
^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

Naked Globals

Name Field # of Occurrence
^( EN+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

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