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

Package: Inpatient Medications

Routine: PSGOE6


Information

PSGOE6 ;BIR/CML3-ORDER ENTRY THROUGH OE/RR ; 10/7/08 1:15pm

Source Information

Source file <PSGOE6.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Inpatient Medications 5 $$ENSTN^PSGMI  ^PSGNE3  ENHLP^PSGOEM  EN^PSGS0  $$CODES2^PSIVUTL  
VA FileMan 2 ^DIC  YN^DICN  

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 PSGOEF  PSJLMGUD  PSJOREN  

Entry Points

Name Comments DBIA/ICR reference
109 ; dosage ordered
3 ; med route
26 ; schedule
66 ; provider's comments
DONE ;
FF ; up-arrow to another field
DEL ;
GTST(ON) ; Find schedule type for pending order.
OTS

External References

Name Field # of Occurrence
^DIC 3+6, FF+3
YN^DICN DEL+1
$$ENSTN^PSGMI GTST+6, GTST+22
^PSGNE3 26+7
ENHLP^PSGOEM 109+4, 109+7, 3+3, 3+4, 26+3, 26+6
EN^PSGS0 26+6
$$CODES2^PSIVUTL FF+2

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: 109+1
Function Call: WRITE
  • Prompt: !,"DOSAGE ORDERED: ",$S(PSGDO]"":PSGDO_"// ",1:"")
  • Line Location: 109+1
Function Call: WRITE
  • Prompt: $C(7)," (Required)"
  • Line Location: 109+2
Function Call: WRITE
  • Prompt: $C(7)," (Required)"
  • Line Location: 109+3
Function Call: WRITE
  • Prompt: $C(7)," ",$S(X?1.P!(X=""):"(Required)",1:"??")
  • Line Location: 109+7
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: 3+1
Function Call: WRITE
  • Prompt: !,"MED ROUTE: ",$S(PSGMR:PSGMRN_"// ",1:"")
  • Line Location: 3+1
Function Call: WRITE
  • Prompt: " "_$P(^(0),"^",3)
  • Line Location: 3+2
Function Call: WRITE
  • Prompt: $C(7)," (Required)"
  • Line Location: 3+3
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: 26+1
Function Call: WRITE
  • Prompt: !,"SCHEDULE: ",$S(PSGSCH]"":PSGSCH_"// ",1:"")
  • Line Location: 26+1
Function Call: WRITE
  • Prompt: $C(7)," (Required)"
  • Line Location: 26+2
Function Call: WRITE
  • Prompt: $C(7)," ??"
  • Line Location: 26+6
Function Call: WRITE
  • Prompt: $C(7)," ...order not entered..."
  • Line Location: DONE+1
Function Call: WRITE
  • Prompt: $C(7)," ??"
  • Line Location: FF+1
Function Call: WRITE
  • Prompt: " <NOTHING DELETED>"
  • Line Location: DEL+1
Routine Call
  • DIC
  • Line Location:
    • 3+6
    • FF+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PS(51.2 - [#51.2] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(50.7 - [#50.7] GTST+9, GTST+15
^PS(51.1 - [#51.1] OTS
^PS(51.2 - [#51.2] PSGOE6+12, 3+2
^PS(53.1 - [#53.1] GTST+2, GTST+3, GTST+5, GTST+9, GTST+15
^PS(53.45 - [#53.45] PSGOE6+15!*
^PS(55 - [#55] GTST+5
^VA(200 - [#200] PSGOE6+12

Label References

Name Line Occurrences
109 109+2, 109+3, 109+4, 109+5, 109+7
26 3+2, 26+3, 26+4, 26+6
3 3+3, 3+5, 3+6
@( 109+5, 3+5, 26+4
DONE 109+1, 3+1, 26+1
FF 109+5, 3+5, 26+4
OTS GTST+18

Naked Globals

Name Field # of Occurrence
^(0 PSGOE6+12, 3+2, GTST+5
^(1 PSGOE6+15*
^(2 PSGOE6+15!*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % DEL+1*
DIC 3+6!*, FF+3!*
DIC("S" 3+6*, FF+3*
DIC(0 3+6*, FF+3*
DTIME 109+1, 3+1, 26+1
F DONE+2!
F0 DONE+2!
F1 PSGOE6+11*, 109+4*, DONE+2!
F3 DONE+2!
ON GTST~, GTST+2, GTST+3, GTST+9, GTST+15
PD GTST+1~, GTST+9*, GTST+15*
PDAP GTST+1~
>> PSGDO 109+1, 109+2, 109+8*
>> PSGDRG PSGOE6+15
PSGF2 109+3*, 3+3*, 26+2*, DONE+2!
>> PSGFD PSGOE6+11*
PSGFOK PSGOE6+11!, DONE+2!, FF+1
PSGFOK( FF+2
PSGFOK(109 109+8*
PSGFOK(26 26+7*
PSGFOK(3 3+2*, 3+7*
>> PSGHSM PSGOE6+11*
>> PSGMR PSGOE6+11*, PSGOE6+12, 3+1, 3+2, 3+3, 3+7*
>> PSGMRN PSGOE6+11*, PSGOE6+12*, 3+1, 3+2, 3+7*
>> PSGNEDFD PSGOE6+11, PSGOE6+12, PSGOE6+13, 26+7*
>> PSGNEFD PSGOE6+11*
>> PSGNESD PSGOE6+11*
>> PSGOEDMR PSGOE6+11
>> PSGOEPR PSGOE6+11
>> PSGOERR PSGOE6+11
PSGOES 26+7*!
>> PSGOROE1 PSGOE6+11*, 109+1*, 3+1*, 26+1*, DONE+1
>> PSGOST GTST+6*, GTST+22*
>> PSGP GTST+5
>> PSGPR PSGOE6+11*, PSGOE6+12
>> PSGPRN PSGOE6+12*
>> PSGS0XT 26+5*, 26+7
>> PSGS0Y 26+5*
>> PSGSCH PSGOE6+11*, 26+1, 26+2, 26+7*, GTST+19, GTST+20, OTSOTS+1
>> PSGSD PSGOE6+11*
>> PSGSI PSGOE6+11*
>> PSGSM PSGOE6+11*
>> PSGST PSGOE6+13*, 26+5*, 26+7*, GTST+6*, GTST+22*
>> PSGSTN GTST+6*, GTST+22*
>> PSGUD PSGOE6+11*
>> PSJORPV PSGOE6+11
>> PSJSYSP PSGOE6+15
SDT PSGOE6+11*, DONE+2!
ST GTST+1~*, GTST+2*, GTST+5*, GTST+6, GTST+7, GTST+10*, GTST+12, GTST+15*, GTST+16, GTST+17*
, GTST+18, GTST+19*, GTST+20*, GTST+21*, GTST+22, OTS*, OTS+1*
ST1 GTST+1~, GTST+8*, GTST+9*, GTST+10, GTST+11!
U GTST+3, GTST+5, GTST+9, GTST+15
X 109+1*, 109+2*, 109+3, 109+4, 109+5, 109+6*, 109+7*, 109+8, 3+1*, 3+2*
3+3*, 3+4, 3+5, 26+1*, 26+2*, 26+3, 26+4, 26+5, 26+6*, 26+7
FF+2*, GTST+1~, GTST+5*, GTST+9*, GTST+15*, OTS*
Y 109+5, 3+5, 3+6, 3+7, 26+4, DONE+1!, FF+1*, FF+2*, FF+3*
Y(0 3+7
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