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 |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: APSPT16

Package: Outpatient Pharmacy

Routine: APSPT16


Information

APSPT16 ; GENERATED FROM 'PSO INTERVENTIONS' PRINT TEMPLATE (#468) ; 04/16/99 ; (FILE 9009032.4, MARGIN=80)

Source Information

Source file <APSPT16.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
VA FileMan 4 $$OUT^DIALOGU  (CP,CSTP)^DIO2  ^DIWP  (,0,A)^DIWW  

Entry Points

Name Comments DBIA/ICR reference
HEAD ;
DT
BEGIN ;
A1 ;
F1R ;
C1 ;
E1 ;
A
C
D
A1R ;
M
N
P
S
T
CP
F1 ;
D1R ;
E1R ;
B1R ;
B1 ;
C1R ;
D1 ;

External References

Name Field # of Occurrence
$$OUT^DIALOGU DT
CP^DIO2 CP
CSTP^DIO2 T+1
^DIWP A1+1, B1+1, C1+1, D1+1, E1+1, F1+1
^DIWW F1R+2
0^DIWW F1R+1
A^DIWW A1R+1, B1R+1, C1R+1, D1R+1, E1R+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: N+0
Function Call: WRITE
  • Prompt: $$OUT^DIALOGU(Y,"DD")
  • Line Location: DT+0
Function Call: WRITE
  • Prompt: $P("JAN^FEB^MAR^APR^MAY^JUN^JUL^AUG^SEP^OCT^NOV^DEC",U,$E(Y,4,5))_" "
  • Line Location: DT+1
Function Call: WRITE
  • Prompt: $J(Y#100\1,2)_","
  • Condition for execution: Y#100
  • Line Location: DT+1
Function Call: WRITE
  • Prompt: Y\10000+1700
  • Line Location: DT+1
Function Call: WRITE
  • Prompt: " "_$E(Y_0,9,10)_":"_$E(Y_"000",11,12)
  • Condition for execution: Y#1
  • Line Location: DT+1
Function Call: WRITE
  • Prompt: Y
  • Line Location: DT+2
Function Call: WRITE
  • Prompt: ?0
  • Line Location: BEGIN+3
Function Call: WRITE
  • Prompt: "INTERVENTION DATE: "
  • Line Location: BEGIN+3
Function Call: WRITE
  • Prompt: ?19
  • Line Location: BEGIN+4
Function Call: WRITE
  • Prompt: ?39
  • Line Location: BEGIN+5
Function Call: WRITE
  • Prompt: "PATIENT: "
  • Line Location: BEGIN+5
Function Call: WRITE
  • Prompt: ?49
  • Line Location: BEGIN+6
Function Call: WRITE
  • Prompt: $E(Y,1,25)
  • Line Location: BEGIN+6
Function Call: WRITE
  • Prompt: ?0
  • Line Location: BEGIN+7
Function Call: WRITE
  • Prompt: "PROVIDER: "
  • Line Location: BEGIN+7
Function Call: WRITE
  • Prompt: ?10
  • Line Location: BEGIN+8
Function Call: WRITE
  • Prompt: $E(Y,1,28)
  • Line Location: BEGIN+8
Function Call: WRITE
  • Prompt: ?39
  • Line Location: BEGIN+9
Function Call: WRITE
  • Prompt: "PHARMACIST: "
  • Line Location: BEGIN+9
Function Call: WRITE
  • Prompt: ?52
  • Line Location: BEGIN+10
Function Call: WRITE
  • Prompt: $E(Y,1,20)
  • Line Location: BEGIN+10
Function Call: WRITE
  • Prompt: ?0
  • Line Location: BEGIN+11
Function Call: WRITE
  • Prompt: "DRUG: "
  • Line Location: BEGIN+11
Function Call: WRITE
  • Prompt: ?6
  • Line Location: BEGIN+12
Function Call: WRITE
  • Prompt: $E(Y,1,30)
  • Line Location: BEGIN+12
Function Call: WRITE
  • Prompt: ?39
  • Line Location: BEGIN+13
Function Call: WRITE
  • Prompt: "INSTITUTED BY: "
  • Line Location: BEGIN+13
Function Call: WRITE
  • Prompt: ?55
  • Line Location: BEGIN+14
Function Call: WRITE
  • Prompt: $S($D(DXS(1,Y)):DXS(1,Y),1:Y)
  • Condition for execution: Y]""
  • Line Location: BEGIN+14
Function Call: WRITE
  • Prompt: ?0
  • Line Location: A1R+2
Function Call: WRITE
  • Prompt: "RECOMMENDATION: "
  • Line Location: A1R+2
Function Call: WRITE
  • Prompt: ?16
  • Line Location: A1R+3
Function Call: WRITE
  • Prompt: $E(Y,1,50)
  • Line Location: A1R+3
Function Call: WRITE
  • Prompt: ?0
  • Line Location: B1R+2
Function Call: WRITE
  • Prompt: "WAS PROVIDER CONTACTED: "
  • Line Location: B1R+2
Function Call: WRITE
  • Prompt: ?24
  • Line Location: B1R+3
Function Call: WRITE
  • Prompt: $S($D(DXS(2,Y)):DXS(2,Y),1:Y)
  • Condition for execution: Y]""
  • Line Location: B1R+3
Function Call: WRITE
  • Prompt: ?39
  • Line Location: B1R+4
Function Call: WRITE
  • Prompt: "RECOMMENDATION ACCEPTED: "
  • Line Location: B1R+4
Function Call: WRITE
  • Prompt: ?66
  • Line Location: B1R+5
Function Call: WRITE
  • Prompt: $S($D(DXS(3,Y)):DXS(3,Y),1:Y)
  • Condition for execution: Y]""
  • Line Location: B1R+5
Function Call: WRITE
  • Prompt: ?0
  • Line Location: B1R+6
Function Call: WRITE
  • Prompt: "PROVIDER CONTACTED: "
  • Line Location: B1R+6
Function Call: WRITE
  • Prompt: ?20
  • Line Location: B1R+7
Function Call: WRITE
  • Prompt: $E(Y,1,35)
  • Line Location: B1R+7
Function Call: WRITE
  • Prompt: ?0
  • Line Location: B1R+8
Function Call: WRITE
  • Prompt: "REASON FOR"
  • Condition for execution: $D(^APSPQA(32.4,D0,13))
  • Line Location: B1R+8
Function Call: WRITE
  • Prompt: ?0
  • Line Location: C1R+2
Function Call: WRITE
  • Prompt: "ACTION TAKEN: "
  • Condition for execution: $D(^APSPQA(32.4,D0,14))
  • Line Location: C1R+2
Function Call: WRITE
  • Prompt: ?0
  • Line Location: D1R+2
Function Call: WRITE
  • Prompt: "CLINICAL IMPACT:"
  • Condition for execution: $D(^APSPQA(32.4,D0,15))
  • Line Location: D1R+2
Function Call: WRITE
  • Prompt: ?0
  • Line Location: E1R+2
Function Call: WRITE
  • Prompt: "FINANCIAL IMPACT:"
  • Condition for execution: $D(^APSPQA(32.4,D0,16))
  • Line Location: E1R+2
Function Call: WRITE
  • Prompt: !,"--------------------------------------------------------------------------------",!!
  • Line Location: HEAD+1
Routine Call
  • DIALOGU
  • Line Location:
    • DT

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^APSPQA(32.4 - [#9009032.4] BEGIN+4, BEGIN+15, A1+1, A1R+3, A1R+4, B1+1, B1R+3, B1R+8, B1R+9, C1+1
, C1R+2, C1R+3, D1+1, D1R+2, D1R+3, E1+1, E1R+2, E1R+3, F1+1
^APSPQA(32.5 - [#9009032.5] A1R+3
^DIPT(468 BEGIN+2
^DPT - [#2] BEGIN+6
^PSDRUG - [#50] BEGIN+12
^UTILITY($J T
^VA(200 - [#200] BEGIN+8, BEGIN+10, B1R+7

Label References

Name Line Occurrences
@( M
A B1R+5
A1 BEGIN+15
A1R BEGIN+16
B1 A1R+4
B1R A1R+5
BEGIN APSPT16+1
C1 B1R+9
C1R B1R+10
D1 C1R+3
D1R C1R+4
DT BEGIN+4
E1 D1R+3
E1R D1R+4
F1 E1R+3
F1R E1R+4
N BEGIN+3, BEGIN+4, BEGIN+5, BEGIN+6, BEGIN+7, BEGIN+8, BEGIN+9, BEGIN+10, BEGIN+11, BEGIN+12
, BEGIN+13, BEGIN+14, A1R+2, A1R+3, B1R+2, B1R+3, B1R+4, B1R+5, B1R+6, B1R+7
, B1R+8, C1R+2, D1R+2, E1R+2
T BEGIN+3, BEGIN+15, A1R+4, B1R+9, C1R+3, D1R+3, E1R+3

Naked Globals

Name Field # of Occurrence
^( BEGIN+2, BEGIN+15, A1R+4, B1R+9, C1R+3, D1R+3, E1R+3
^(0 BEGIN+6, BEGIN+8, BEGIN+10, BEGIN+12, A1R+3, B1R+7
^(1 T

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> C C, S, P, A, D, D+1, B1R+5*
>> D0 BEGIN+4, BEGIN+15, A1+1, A1R+3, A1R+4, B1+1, B1R+3, B1R+8, B1R+9, C1+1
, C1R+2, C1R+3, D1+1, D1R+2, D1R+3, E1+1, E1R+2, E1R+3, F1+1
>> D1 BEGIN+15*, A1+1, A1R+4*, B1+1, B1R+9*, C1+1, C1R+3*, D1+1, D1R+3*, E1+1
, E1R+3*, F1+1
>> DILCT T+1*, BEGIN+1*
>> DIOT(2 T
DIP B1R+8!, C1R+2!, D1R+2!, E1R+2!, F1R+1!
>> DISTP T+1*, BEGIN+1*
>> DITTO( D, D+1*
DIWF T, BEGIN+15*, A1R+4*, B1R+9*, C1R+3*, D1R+3*, E1R+3*, F1R+2!
>> DIWL A1+1*, B1+1*, C1+1*, D1+1*, E1+1*, F1+1*
>> DIWR A1+1*, B1+1*, C1+1*, D1+1*, E1+1*, F1+1*
>> DIXX M
>> DN T, BEGIN+1*, BEGIN+3, BEGIN+4, BEGIN+5, BEGIN+6, BEGIN+7, BEGIN+8, BEGIN+9, BEGIN+10
, BEGIN+11, BEGIN+12, BEGIN+13, BEGIN+14, BEGIN+15, A1R+2, A1R+3, A1R+4, B1R+2, B1R+3
, B1R+4, B1R+5, B1R+6, B1R+7, B1R+8, B1R+9, C1R+2, C1R+3, D1R+2, D1R+3
, E1R+2, E1R+3, F1R+1
>> DQ( C*
DUZ("LANG" DT
>> DXS BEGIN+2
>> DXS( BEGIN+2*
>> DXS(1 BEGIN+14
>> DXS(2 B1R+3
>> DXS(3 B1R+5
>> H( S*
>> I(1 BEGIN+15*, A1R+4*, B1R+9*, C1R+3*, D1R+3*, E1R+3*
IOSL T
>> J(1 BEGIN+15*, A1R+4*, B1R+9*, C1R+3*, D1R+3*, E1R+3*
>> L( S*
>> N( P*
>> N(1 BEGIN+6*
>> Q( S*
>> S( A*
U DT+1, BEGIN+4, BEGIN+6, BEGIN+8, BEGIN+10, BEGIN+12, BEGIN+14, A1R+3, B1R+3, B1R+5
, B1R+7
>> X BEGIN+2*, BEGIN+4*, BEGIN+6, BEGIN+8, BEGIN+10, BEGIN+12, BEGIN+14, BEGIN+15*, A1+1*, A1R+3*
, A1R+4*, B1+1*, B1R+3*, B1R+5, B1R+7, B1R+9*, C1+1*, C1R+3*, D1+1*, D1R+3*
, E1+1*, E1R+3*, F1+1*
Y C, S, A, D*, D+1, DT, DT+1, DT+2, BEGIN+2*, BEGIN+4*
, BEGIN+6*, BEGIN+8*, BEGIN+10*, BEGIN+12*, BEGIN+14*, A1R+3*, B1R+3*, B1R+5*, B1R+7*, B1R+8!
, C1R+2!, D1R+2!, E1R+2!, F1R+1!, F1R+2!
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All