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

Package: Outpatient Pharmacy

Routine: PSOORNW2


Information

PSOORNW2 ;ISC-BHAM/SAB - edit orders from oerr ;Dec 04, 2019@13:25:53

Source Information

Source file <PSOORNW2.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
Outpatient Pharmacy 8 (INS,PROV,SIND,SINS)^PSODIR  (COPIES,DAYS,PTSTAT,QTY,REFILL,SIG)^PSODIR1  (CLINIC,FILLDT,ISSDT,MW,RMK)^PSODIR2  $$INSCHK^PSOHELP3  MP1^PSOOREDX  2^PSOORNEW  (2,EDNEW)^PSOORNW1  EN^PSOSIGNO  
VA FileMan 3 MIX^DIC1  $$GET1^DIQ  ^DIR  
Pharmacy Data Management 1 $$GETNDC^PSSNDCUT  

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

Package Total Caller Graph
Outpatient Pharmacy 4 PSOORED6  PSOORFI1  PSOORNE3  PSOORNEW  

Entry Points

Name Comments DBIA/ICR reference
1
4
5
INS
3
12
11
8
7
9 ;
ASK
6
13
10
14
DREN ;
DRENX
KV

External References

Name Field # of Occurrence
MIX^DIC1 1+5
$$GET1^DIQ DREN+13
^DIR 1+8, 6+3
INS^PSODIR INSINS+5
PROV^PSODIR 12
SIND^PSODIR INS+3
SINS^PSODIR INS+6
COPIES^PSODIR1 13
DAYS^PSODIR1 7+2
PTSTAT^PSODIR1 3
QTY^PSODIR1 8
REFILL^PSODIR1 ASK
SIG^PSODIR1 6
CLINIC^PSODIR2 11
FILLDT^PSODIR2 5
ISSDT^PSODIR2 4
MW^PSODIR2 10
RMK^PSODIR2 14
$$INSCHK^PSOHELP3 INS+7
MP1^PSOOREDX 1+7
2^PSOORNEW 1+11
2^PSOORNW1 7
EDNEW^PSOORNW1 ASK+1
EN^PSOSIGNO 6+1
$$GETNDC^PSSNDCUT DREN+12

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Current Orderable Item: "_$P(^PS(50.7,PSODRUG("OI"),0),"^")_" "_$P(^PS(50.606,$P(^(0),"^",2),0),"^")
  • Line Location: 1+0
Function Call: WRITE
  • Prompt: $C(7),!!,"No Dispense Drug!",!
  • Line Location: 7+0
Function Call: WRITE
  • Prompt: !,$C(7),"No Dispense Drug Selected! A new Orderable Item may need to be selected.",!
  • Line Location: 7+1
Routine Call
  • DIR
  • Line Location:
    • 1+8
    • 6+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSDRUG - [#50] GET1^DIQ
^PS(50.7 - [#50.7] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(50.606 - [#50.606] 1
^PS(50.7 - [#50.7] 1
^PS(53 - [#53] 3+1, 3+2, 3+3, 7+4, 9+2, 9+3, ASK+1
^PS(55 - [#55] INS3+1, 9+2
^PSDRUG - [#50] DREN+2, DREN+5, DREN+7, DREN+8, DREN+10, DREN+11, DREN+12, DREN+14, DREN+15
^PSDRUG("ASP" DREN+2
^YSCL(603.01 - [#603.01] DREN+8

Label References

Name Line Occurrences
1 1+9
3 9+1
ASK 9+2
DREN 1+10
DRENX DREN+4, DREN+14
KV 1+7, 1+8, 1+9

Naked Globals

Name Field # of Occurrence
^("I" DREN+2
^("ND" DREN+10, DREN+11
^("PS" 3+1, 9+2
^(0 17+4, ASK+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> CLOZPAT 9+3, 9+6, 9+9
>> CS 7+4*, ASK+1*
D 1+5*!
DA 6!
>> DEA 9+8*
DIC 1+1*, 1+5!, 1+7!, 1+9!, 6+4!, 6+5!
DIC("B" 1+1*
DIC("S" 1+2*, 1+3*
DIC(0 1+1*
DIR 7!, 6+3!, 6+4!, 6+5!, KV!
DIR("A" 1+8*, 6+3*
DIR("B" 1+8*, 6+3*
DIR(0 1+8*, 6+3*
DIRUT 1+7, 7!, 6+3!, 6+4!, 6+5!, KV!
DT DREN+2
DTOUT 1+5, 7!, 6+3!, 6+4!, 6+5!, KV!
DUOUT 7!, 6+3!, 6+4!, 6+5!, KV!
DUZ 1+9, 6+5
>> OI 1+7
>> OR0 3+2, 3+5, 9+4, 9+11
>> ORD 6+1
>> OUT 1+5*, 1+7*
>> PSDAYS 7+4*, ASK+1*
PSDC DREN+1~*, DREN+2*, DREN+3, DREN+4, DRENX!
PSDC( DREN+2*
PSDC(1 DREN+7
PSDY 7+4!
PSDY1 7+4!
PSI DREN+1~*, DREN+2*, DREN+7*, DREN+8!, DREN+9, DREN+10, DREN+11, DREN+12, DREN+13, DREN+14
DREN+15, DRENX!
PSMAX 7+4!, ASK+1!
>> PSOBDR 1*
>> PSOBDRG 1
>> PSOCS 3+3
>> PSODEA 7+4*, ASK+1*
PSODELINS INS+6, INS+7!
>> PSODFN INS3+1, 9+2, DREN+8
PSODONE INS+1~*, INS+3, INS+8*
>> PSODRUG 1
>> PSODRUG("CLN" DREN+11*
>> PSODRUG("COST" DREN+15*
>> PSODRUG("DAW" DREN+13*
>> PSODRUG("DEA" 3+6, 3+7, 7+4, 9+6, 9+7, 9+8, 9+9, 9+10, ASK+1, DREN+11*
>> PSODRUG("EXPI RATION DATE" , DREN+15*
>> PSODRUG("IEN" 77+1, DREN+5, DREN+6!, DREN+9*
>> PSODRUG("MAXDOSE" DREN+11*
>> PSODRUG("NAME" DREN+6!, DREN+9*
>> PSODRUG("NDC" DREN+12*
>> PSODRUG("NDF" DREN+10*
>> PSODRUG("OI" 11+9*, DREN+2, DREN+5
>> PSODRUG("OIN" 1+1, 1+9*
>> PSODRUG("SIG" DREN+12*
>> PSODRUG("STKLVL" DREN+12*
>> PSODRUG("UNIT" DREN+15*
>> PSODRUG("VA C LASS" , DREN+9*
PSOIC 1+10~*
>> PSOID 4+1
PSOINSCH INS+1~, INS+7*, INS+8
PSOMAX 3+2*, 3+3*, 3+4, 3+5, 9+3*, 9+4, 9+5, 9+7*, 9+8*, 9+11*
ASK+1!
>> PSONEW 45INSINS+3, INS+5, INS+6, INS+7, 31211
87+2, ASK6131014
>> PSONEW("# OF REFILLS" , 3+2*, 3+4*, 3+5*, 3+7*, 7+4, 9+4*, 9+5*, 9+7*, 9+10*
9+11*, ASK+1
>> PSONEW("CLERK CODE" , 1+9*, 6+5*
>> PSONEW("DAYS SUPPLY" , 7+4, ASK+1
>> PSONEW("DFLG" INS+3, INS+4!, INS+6
>> PSONEW("FILL DATE" , 4+1*
>> PSONEW("FLD" 4*, 5*, INS*, INS+5*, 3*, 12*, 11*, 8*, 7+2*, ASK*
, 6*, 13*, 10*, 14*
>> PSONEW("INS" INS+2
>> PSONEW("N# RE F" , 9+5*, 9+7*, 9+10*, 9+11*
>> PSONEW("PATIE NT STATUS" , 7+3, 7+4, 9+1, ASK+1
>> PSONEW("SIG" 6+1, 6+4!
>> PSONEW("SINS" INS+2
PSOOEINS INS+1~, INS+2*
PSOOSINS INS+1~, INS+2*
>> PSORX("FILL D ATE" , 4+1*
>> PSORX("ISSUE DATE" , 4+1
PSOSIGFL 6+2, 6+4!
>> PSOSITE DREN+12
>> PSOX1 DREN+15*
PSOXI DRENX!
PSOY 1+6*, 1+7!, 1+9!, DREN+7!*, DREN+8!, DREN+9, DREN+11, DREN+12, DRENX!
>> PSRF 7+4*, ASK+1*
PSTMAX 7+4!, ASK+1!
>> PTDY 7+4*, ASK+1*
>> PTRF 7+4*, ASK+1*
>> PTST 7+4*, ASK+1*
RXPT 3+1*, 3+2, 3+3, 9+2*, 9+3!
>> SIG(1 6+1*
>> SIGOK 6+4*
>> VALMBCK 9+1*
>> VALMSG 3+7*, 9+1*, 9+7*, 9+10*
X 1+5, DRENX!
Y 1+6, 1+7!, 1+9, 6+4!, 6+5!, DRENX!
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