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 ;29-May-2012 15:00;PLS

Source Information

Source file <PSOORNW2.m>

Call Graph

Call Graph Total: 12

Package Total Call Graph
Outpatient Pharmacy 7 (INS,PROV,SINS)^PSODIR  (COPIES,DAYS,PTSTAT,QTY,REFILL,SIG)^PSODIR1  (CLINIC,FILLDT,ISSDT,MW,RMK)^PSODIR2  MP1^PSOOREDX  2^PSOORNEW  (2,EDNEW)^PSOORNW1  EN^PSOSIGNO  
VA Fileman 3 MIX^DIC1  $$GET1^DIQ  ^DIR  
IHS Changes To Pharmacy 1 ($$AWP,$$COST)^APSQDAWP  
Pharmacy Data Management 1 $$GETNDC^PSSNDCUT  

Caller Graph

Caller Graph Total: 5

Package Total Caller Graph
Outpatient Pharmacy 4 PSOORED6  PSOORFI1  PSOORNE3  PSOORNEW  
IHS Changes To Pharmacy 1 APSPFNC2  

Entry Points

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

External References

Name Field # of Occurrence
$$AWP^APSQDAWP DREN+15
$$COST^APSQDAWP DREN+16
MIX^DIC1 1+5
$$GET1^DIQ DREN+13
^DIR 1+8, 6+3
INS^PSODIR INS
PROV^PSODIR 12
SINS^PSODIR INS+1
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
MP1^PSOOREDX 1+7
2^PSOORNEW 1+11
2^PSOORNW1 7
EDNEW^PSOORNW1 ASK+1
EN^PSOSIGNO 6+1
$$GETNDC^PSSNDCUT DREN+11

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+5, 7+4, 9+2, 9+3, ASK+1
^PS(55 - [#55] INS+1, 3+1, 9+2
^PSDRUG - [#50] DREN+2, DREN+4, DREN+6, DREN+7, DREN+9, DREN+10, DREN+11, DREN+17, DREN+18
^PSDRUG("ASP" DREN+2
^YSCL(603.01 DREN+7

Label References

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

Naked Globals

Name Field # of Occurrence
^("I" DREN+2
^("ND" DREN+9, DREN+10
^("PS" 3+1, 9+2
^(0 1, 7+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+7, 9+4, 9+11
>> ORD 6+1
>> OUT 1+5*, 1+7*
>> PSDAYS 7+4*, ASK+1*
PSDC DREN+1*, DREN+2*, DREN+3, DRENX!
PSDC( DREN+2*
PSDC(1 DREN+6
PSDY 7+4!
PSDY1 7+4!
PSI DREN+1*, DREN+2*, DREN+6*, DREN+7!, DREN+8, DREN+9, DREN+10, DREN+11, DREN+13, DREN+17
, DREN+18, DRENX!
PSMAX 7+4!, ASK+1!
>> PSOBDR 1*
>> PSOBDRG 1
>> PSOCS 3+5
>> PSODEA 7+4*, ASK+1*
>> PSODFN INS+1, 3+1, 9+2, DREN+7
>> PSODRUG 1
>> PSODRUG("CLN" DREN+10*
>> PSODRUG("COST" DREN+18*
>> PSODRUG("DAW" DREN+13*
>> PSODRUG("DEA" 3+8, 3+9, 7+4, 9+6, 9+7, 9+8, 9+9, 9+10, ASK+1, DREN+10*
>> PSODRUG("EXPI RATION DATE" , DREN+18*
>> PSODRUG("IEN" 7, 7+1, DREN+4, DREN+5!, DREN+8*, DREN+15, DREN+16
>> PSODRUG("MAXDOSE" DREN+10*
>> PSODRUG("NAME" DREN+5!, DREN+8*
>> PSODRUG("NDC" DREN+11*, DREN+14, DREN+15, DREN+16
>> PSODRUG("NDF" DREN+9*
>> PSODRUG("OI" 1, 1+9*, DREN+2, DREN+4
>> PSODRUG("OIN" 1+1, 1+9*
>> PSODRUG("SIG" DREN+11*
>> PSODRUG("STKLVL" DREN+11*
>> PSODRUG("UNIT" DREN+18*
>> PSODRUG("VA C LASS" , DREN+8*
PSOIC 1+10~*
>> PSOID 4+1
PSOMAX 3+2*, 3+5*, 3+6, 3+7, 9+3*, 9+4, 9+5, 9+7*, 9+8*, 9+11*
, ASK+1!
>> PSONEW 4, 5, INS, INS+1, 3, 12, 11, 8, 7+2, ASK
, 6, 13, 10, 14
>> PSONEW("# OF REFILLS" , 3+2*, 3+6*, 3+7*, 3+9*, 7+4, 9+4*, 9+5*, 9+7*, 9+10*
, 9+11*, ASK+1
>> PSONEW("AWP" DREN+15*
>> PSONEW("CLERK CODE" , 1+9*, 6+5*
>> PSONEW("COST" DREN+16*
>> PSONEW("DAYS SUPPLY" , 7+4, ASK+1
>> PSONEW("DFLG" DREN+15, DREN+16
>> PSONEW("FILL DATE" , 4+1*
>> PSONEW("FLD" 4*, 5*, INS*, 3*, 12*, 11*, 8*, 7+2*, ASK*, 6*
, 13*, 10*, 14*
>> PSONEW("N# RE F" , 9+5*, 9+7*, 9+10*, 9+11*
>> PSONEW("NDC" DREN+14*, DREN+15, DREN+16
>> PSONEW("PATIE NT STATUS" , 7+3, 7+4, 9+1, ASK+1
>> PSONEW("QFLG" DREN+15, DREN+16
>> PSONEW("SIG" 6+1, 6+4!
>> PSORX("FILL D ATE" , 4+1*
>> PSORX("ISSUE DATE" , 4+1
PSOSIGFL 6+2, 6+4!
>> PSOSITE DREN+11
>> PSOX1 DREN+18*
PSOXI DRENX!
PSOY 1+6*, 1+7!, 1+9!, DREN+6!*, DREN+7!, DREN+8, DREN+10, DREN+11, 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+5, 9+2*, 9+3!
>> SIG(1 6+1*
>> SIGOK 6+4*
>> TALK DREN+15, DREN+16
>> VALMBCK 9+1*
>> VALMSG 3+9*, 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