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: IHS Changes To Pharmacy

Routine: APSPT16


Information

APSPT16 ; GENERATED FROM 'PSO INTERVENTIONS' PRINT TEMPLATE (#1645) ; 11/29/04 ; (FILE 9009032.4, MARGIN=80)

Source Information

Source file <APSPT16.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
VA Fileman 4 $$OUT^DIALOGU  (CP,CSTP)^DIO2  ^DIWP  (,0)^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 A1R+2, B1R+2, C1R+2, D1R+2, E1R+2, F1R+2
0^DIWW A1R+1, B1R+1, C1R+1, D1R+1, E1R+1, F1R+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+4
Function Call: WRITE
  • Prompt: "INTERVENTION DATE: "
  • Line Location: BEGIN+4
Function Call: WRITE
  • Prompt: ?19
  • Line Location: BEGIN+5
Function Call: WRITE
  • Prompt: ?39
  • Line Location: BEGIN+6
Function Call: WRITE
  • Prompt: "PATIENT: "
  • Line Location: BEGIN+6
Function Call: WRITE
  • Prompt: ?49
  • Line Location: BEGIN+7
Function Call: WRITE
  • Prompt: $E(Y,1,25)
  • Line Location: BEGIN+7
Function Call: WRITE
  • Prompt: ?0
  • Line Location: BEGIN+8
Function Call: WRITE
  • Prompt: "PROVIDER: "
  • Line Location: BEGIN+8
Function Call: WRITE
  • Prompt: ?10
  • Line Location: BEGIN+9
Function Call: WRITE
  • Prompt: $E(Y,1,28)
  • Line Location: BEGIN+9
Function Call: WRITE
  • Prompt: ?39
  • Line Location: BEGIN+10
Function Call: WRITE
  • Prompt: "PHARMACIST: "
  • Line Location: BEGIN+10
Function Call: WRITE
  • Prompt: ?52
  • Line Location: BEGIN+11
Function Call: WRITE
  • Prompt: $E(Y,1,20)
  • Line Location: BEGIN+11
Function Call: WRITE
  • Prompt: ?0
  • Line Location: BEGIN+12
Function Call: WRITE
  • Prompt: "DRUG: "
  • Line Location: BEGIN+12
Function Call: WRITE
  • Prompt: ?6
  • Line Location: BEGIN+13
Function Call: WRITE
  • Prompt: $E(Y,1,40)
  • Line Location: BEGIN+13
Function Call: WRITE
  • Prompt: ?39
  • Line Location: BEGIN+14
Function Call: WRITE
  • Prompt: "INSTITUTED BY: "
  • Line Location: BEGIN+14
Function Call: WRITE
  • Prompt: ?55
  • Line Location: BEGIN+15
Function Call: WRITE
  • Prompt: $S($D(DXS(1,Y)):DXS(1,Y),1:Y)
  • Condition for execution: Y]""
  • Line Location: BEGIN+15
Function Call: WRITE
  • Prompt: ?0
  • Line Location: A1R+3
Function Call: WRITE
  • Prompt: "RECOMMENDATION: "
  • Line Location: A1R+3
Function Call: WRITE
  • Prompt: ?16
  • Line Location: A1R+4
Function Call: WRITE
  • Prompt: $E(Y,1,50)
  • Line Location: A1R+4
Function Call: WRITE
  • Prompt: ?0
  • Line Location: B1R+3
Function Call: WRITE
  • Prompt: "WAS PROVIDER CONTACTED: "
  • Line Location: B1R+3
Function Call: WRITE
  • Prompt: ?24
  • Line Location: B1R+4
Function Call: WRITE
  • Prompt: $S($D(DXS(2,Y)):DXS(2,Y),1:Y)
  • Condition for execution: Y]""
  • Line Location: B1R+4
Function Call: WRITE
  • Prompt: ?39
  • Line Location: B1R+5
Function Call: WRITE
  • Prompt: "RECOMMENDATION ACCEPTED: "
  • Line Location: B1R+5
Function Call: WRITE
  • Prompt: ?66
  • Line Location: B1R+6
Function Call: WRITE
  • Prompt: $S($D(DXS(3,Y)):DXS(3,Y),1:Y)
  • Condition for execution: Y]""
  • Line Location: B1R+6
Function Call: WRITE
  • Prompt: ?0
  • Line Location: B1R+7
Function Call: WRITE
  • Prompt: "PROVIDER CONTACTED: "
  • Line Location: B1R+7
Function Call: WRITE
  • Prompt: ?20
  • Line Location: B1R+8
Function Call: WRITE
  • Prompt: $E(Y,1,35)
  • Line Location: B1R+8
Function Call: WRITE
  • Prompt: ?0
  • Line Location: B1R+9
Function Call: WRITE
  • Prompt: "REASON FOR"
  • Condition for execution: $D(^APSPQA(32.4,D0,13))
  • Line Location: B1R+9
Function Call: WRITE
  • Prompt: ?0
  • Line Location: C1R+3
Function Call: WRITE
  • Prompt: "ACTION TAKEN: "
  • Condition for execution: $D(^APSPQA(32.4,D0,14))
  • Line Location: C1R+3
Function Call: WRITE
  • Prompt: ?0
  • Line Location: D1R+3
Function Call: WRITE
  • Prompt: "CLINICAL IMPACT:"
  • Condition for execution: $D(^APSPQA(32.4,D0,15))
  • Line Location: D1R+3
Function Call: WRITE
  • Prompt: ?0
  • Line Location: E1R+3
Function Call: WRITE
  • Prompt: "FINANCIAL IMPACT:"
  • Condition for execution: $D(^APSPQA(32.4,D0,16))
  • Line Location: E1R+3
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+5, BEGIN+16, A1+1, A1R+4, A1R+5, B1+1, B1R+4, B1R+9, B1R+10, C1+1
, C1R+3, C1R+4, D1+1, D1R+3, D1R+4, E1+1, E1R+3, E1R+4, F1+1
^APSPQA(32.5 - [#9009032.5] A1R+4
^DIPT(1645 BEGIN+2
^DPT - [#2] BEGIN+7
^PSDRUG - [#50] BEGIN+13
^UTILITY($J T
^VA(200 - [#200] BEGIN+9, BEGIN+11, B1R+8

Label References

Name Line Occurrences
@( M
A B1R+6
A1 BEGIN+16
A1R BEGIN+17
B1 A1R+5
B1R A1R+6
BEGIN APSPT16+1
C1 B1R+10
C1R B1R+11
D1 C1R+4
D1R C1R+5
DT BEGIN+5
E1 D1R+4
E1R D1R+5
F1 E1R+4
F1R E1R+5
N 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+3, A1R+4, B1R+3, B1R+4, B1R+5, B1R+6, B1R+7, B1R+8
, B1R+9, C1R+3, D1R+3, E1R+3
T BEGIN+4, BEGIN+16, A1R+5, B1R+10, C1R+4, D1R+4, E1R+4

Naked Globals

Name Field # of Occurrence
^( BEGIN+16, A1R+5, B1R+10, C1R+4, D1R+4, E1R+4
^(0 BEGIN+7, BEGIN+9, BEGIN+11, BEGIN+13, A1R+4, B1R+8
^(1 T

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

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