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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: MCAROGA

Package: Medicine

Routine: MCAROGA


Information

MCAROGA ; GENERATED FROM 'MCAROGA' PRINT TEMPLATE (#3725) ; 11/29/04 ; (FILE 699, MARGIN=80)

Source Information

Source file <MCAROGA.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
VA Fileman 4 $$OUT^DIALOGU  CSTP^DIO2  ^DIWP  (,0)^DIWW  
Medicine 2 TECH^MCARGS  DISP^MCMAG  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Medicine 1 MCARP  

Entry Points

Name Comments DBIA/ICR reference
A2R ;
E1R ;
DT
BEGIN ;
G1 ;
H1R ;
A1 ;
A2 ;
F1R ;
C1 ;
E1 ;
G1R ;
HEAD ;
A1R ;
M
N
T
F1 ;
D1R ;
H1 ;
B1R ;
B1 ;
C1R ;
D1 ;

External References

Name Field # of Occurrence
$$OUT^DIALOGU DT
CSTP^DIO2 T+1
^DIWP F1+1, H1+1
^DIWW F1R+2, H1R+2
0^DIWW F1R+1, H1R+1
TECH^MCARGS A2R+3
DISP^MCMAG H1R+4

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: X
  • Line Location: BEGIN+4
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1+1
Function Call: WRITE
  • Prompt: "LOCATION: "
  • Line Location: A1+1
Function Call: WRITE
  • Prompt: ?14
  • Line Location: A1+2
Function Call: WRITE
  • Prompt: $E(Y,1,30)
  • Line Location: A1+2
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1+3
Function Call: WRITE
  • Prompt: "DESCRIPTION: "
  • Line Location: A1+3
Function Call: WRITE
  • Prompt: ?16
  • Line Location: A1+4
Function Call: WRITE
  • Prompt: $E(Y,1,20)
  • Line Location: A1+4
Function Call: WRITE
  • Prompt: ?16
  • Line Location: A1+5
Function Call: WRITE
  • Prompt: ?27
  • Line Location: A1+6
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1+7
Function Call: WRITE
  • Prompt: X
  • Line Location: A1+7
Function Call: WRITE
  • Prompt: ?0,$E($P(X,U,4),1,15)
  • Line Location: A1+8
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1+9
Function Call: WRITE
  • Prompt: "Technique: "
  • Line Location: A1+9
Function Call: WRITE
  • Prompt: ?16
  • Line Location: A2+1
Function Call: WRITE
  • Prompt: $E(Y,1,60)
  • Line Location: A2+1
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A2R+1
Function Call: WRITE
  • Prompt: "Impression: "
  • Line Location: A2R+1
Function Call: WRITE
  • Prompt: ?16
  • Line Location: A2R+2
Function Call: WRITE
  • Prompt: $E(Y,1,50)
  • Line Location: A2R+2
Function Call: WRITE
  • Prompt: ?16
  • Line Location: A2R+3
Function Call: WRITE
  • Prompt: ?27
  • Line Location: A1R+1
Function Call: WRITE
  • Prompt: ?38
  • Line Location: A1R+2
Function Call: WRITE
  • Prompt: ?0
  • Line Location: A1R+3
Function Call: WRITE
  • Prompt: X
  • Line Location: A1R+3
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1R+4
Function Call: WRITE
  • Prompt: "Results:"
  • Line Location: A1R+4
Function Call: WRITE
  • Prompt: ?11
  • Line Location: B1+1
Function Call: WRITE
  • Prompt: $E(Y,1,60)
  • Line Location: B1+1
Function Call: WRITE
  • Prompt: ?2
  • Line Location: B1R+1
Function Call: WRITE
  • Prompt: "Complications: "
  • Line Location: B1R+1
Function Call: WRITE
  • Prompt: ?17
  • Line Location: C1+1
Function Call: WRITE
  • Prompt: $E(Y,1,40)
  • Line Location: C1+1
Function Call: WRITE
  • Prompt: ", "
  • Line Location: C1+2
Function Call: WRITE
  • Prompt: ?2
  • Line Location: D1+1
Function Call: WRITE
  • Prompt: "Disposition: "
  • Line Location: D1+1
Function Call: WRITE
  • Prompt: ?20
  • Line Location: D1+2
Function Call: WRITE
  • Prompt: $S($D(DXS(11,Y)):DXS(11,Y),1:Y)
  • Condition for execution: Y]""
  • Line Location: D1+2
Function Call: WRITE
  • Prompt: ?12
  • Line Location: D1+3
Function Call: WRITE
  • Prompt: "Date: "
  • Line Location: D1+3
Function Call: WRITE
  • Prompt: ?20
  • Line Location: D1+4
Function Call: WRITE
  • Prompt: ?12
  • Line Location: D1+5
Function Call: WRITE
  • Prompt: "Reason: "
  • Line Location: D1+5
Function Call: WRITE
  • Prompt: ?20,$E($P(X,U,3),1,80)
  • Line Location: D1+6
Function Call: WRITE
  • Prompt: ?0
  • Line Location: D1R+1
Function Call: WRITE
  • Prompt: X
  • Line Location: D1R+1
Function Call: WRITE
  • Prompt: ?2
  • Line Location: D1R+2
Function Call: WRITE
  • Prompt: "Primary: "
  • Line Location: D1R+2
Function Call: WRITE
  • Prompt: ?17
  • Line Location: D1R+3
Function Call: WRITE
  • Prompt: $E(Y,1,50)
  • Line Location: D1R+3
Function Call: WRITE
  • Prompt: ?17,$E($P(X,U,1),1,60)
  • Line Location: D1R+4
Function Call: WRITE
  • Prompt: ?2
  • Line Location: E1+1
Function Call: WRITE
  • Prompt: "Secondary: "
  • Line Location: E1+1
Function Call: WRITE
  • Prompt: ?17
  • Line Location: E1+2
Function Call: WRITE
  • Prompt: $E(Y,1,50)
  • Line Location: E1+2
Function Call: WRITE
  • Prompt: ?17,$E($P(X,U,2),1,60)
  • Line Location: E1+3
Function Call: WRITE
  • Prompt: ?2
  • Line Location: E1R+1
Function Call: WRITE
  • Prompt: "Supplement: "
  • Line Location: E1R+1
Function Call: WRITE
  • Prompt: ?2
  • Line Location: F1R+3
Function Call: WRITE
  • Prompt: X
  • Line Location: F1R+3
Function Call: WRITE
  • Prompt: ?0
  • Line Location: F1R+4
Function Call: WRITE
  • Prompt: X
  • Line Location: F1R+4
Function Call: WRITE
  • Prompt: ?2
  • Line Location: F1R+5
Function Call: WRITE
  • Prompt: "Prescriptions: "
  • Line Location: F1R+5
Function Call: WRITE
  • Prompt: ?17
  • Line Location: G1+1
Function Call: WRITE
  • Prompt: $E(Y,1,40)
  • Line Location: G1+1
Function Call: WRITE
  • Prompt: " "
  • Line Location: G1+2
Function Call: WRITE
  • Prompt: ?0,$E($P(X,U,2),1,30)
  • Line Location: G1+3
Function Call: WRITE
  • Prompt: ?2
  • Line Location: G1R+1
Function Call: WRITE
  • Prompt: "Instructions: "
  • Line Location: G1R+1
Function Call: WRITE
  • Prompt: ?2
  • Line Location: H1R+3
Function Call: WRITE
  • Prompt: "PHYSICIANS' SIGNATURE ____________________________________"
  • Line Location: H1R+3
Function Call: WRITE
  • Prompt: ?62
  • Line Location: H1R+4
Function Call: WRITE
  • Prompt: ?2
  • Line Location: H1R+5
Function Call: WRITE
  • Prompt: !,"--------------------------------------------------------------------------------",!!
  • Line Location: HEAD+1
Routine Call
  • DIALOGU
  • Line Location:
    • DT

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIPT(3725 BEGIN+2
^MCAR(696.9 - [#696.9] C1+1
^MCAR(697 - [#697] A1+2
^MCAR(697.5 - [#697.5] A2R+2, D1R+3, E1+2
^MCAR(699 - [#699] BEGIN+5, A1+2, A1+8, A1+10, A2+1, A2R+2, A1R+5, B1+1, B1R+2, C1+1
, C1R+1, D1+2, D1R+3, D1R+4, D1R+5, E1+2, E1R+2, F1+1, F1R+6, G1+1
, G1R+2, H1+1
^MCAR(699.55 - [#699.55] A1+4
^MCAR(699.6 - [#699.6] A2+1
^MCAR(699.81 - [#699.81] B1+1
^PSDRUG - [#50] G1+1
^UTILITY($J T

Label References

Name Line Occurrences
@( M
A1 BEGIN+5
A1R BEGIN+6
A2 A1+10
A2R A1+11
B1 A1R+5
B1R A1R+6
BEGIN MCAROGA+1
C1 B1R+2
C1R B1R+3
D1 C1R+1
D1R C1R+2
DT D1+4
E1 D1R+5
E1R D1R+6
F1 E1R+2
F1R E1R+3
G1 F1R+6
G1R F1R+7
H1 G1R+2
H1R G1R+3
N BEGIN+4, A1+1, A1+3, A1+4, A1+7, A1+9, A2+1, A2R+1, A2R+2, A1R+3
, A1R+4, B1+1, B1R+1, C1+1, D1+1, D1+2, D1+3, D1+4, D1+5, D1+6
, D1R+1, D1R+2, D1R+3, D1R+4, E1+1, E1+2, E1+3, E1R+1, F1R+3, F1R+4
, F1R+5, G1+1, G1R+1, H1R+3
T BEGIN+4, BEGIN+5, A1+1, A1+10, A1R+3, A1R+5, B1R+2, C1R+1, D1R+1, D1R+5
, E1R+2, F1R+4, F1R+6, G1R+2, H1R+3, H1R+5

Naked Globals

Name Field # of Occurrence
^( BEGIN+5, A1+10, A1R+5, B1R+2, C1R+1, D1R+5, E1R+2, F1R+6, G1R+2
^(0 A1+2, A1+4, A2+1, A2R+2, B1+1, C1+1, D1R+3, E1+2, G1+1
^(1 T

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> D0 BEGIN+5, A1+2, A1+8, A1+10, A2+1, A2R+2, A1R+5, B1+1, B1R+2, C1+1
, C1R+1, D1+2, D1R+3, D1R+4, D1R+5, E1+2, E1R+2, F1+1, F1R+6, G1+1
, G1R+2, H1+1
>> D1 BEGIN+5*, A1+2, A1+8, A1+10, A2+1, A2R+2, A1R+5*, B1+1, B1R+2*, C1+1
, C1R+1*, D1+2, D1R+5*, E1+2, E1R+2*, F1+1, F1R+6*, G1+1, G1R+2*, H1+1
>> D2 A1+10*, A2+1
>> DILCT T+1*, BEGIN+1*
>> DIOT(2 T
DIP BEGIN+4!, A1+5!, A1+6!, A1+7!, A2R+3!, A1R+1!, A1R+2!, A1R+3!, D1R+1!, F1R+3!
, F1R+4!, H1R+4!, H1R+5!
DIP(2 A1+7, F1R+3
DIP(3 A1+7, F1R+3
DIP(4 A1+7, F1R+3
>> DISTP T+1*, BEGIN+1*
DIWF T, H1R+6!
>> DIWL F1+1*, H1+1*
>> DIWR F1+1*, H1+1*
>> DIXX M
>> DN T, BEGIN+1*, BEGIN+4, BEGIN+5, A1+1, A1+3, A1+4, A1+5, A1+6, A1+7
, A1+9, A1+10, A2+1, A2R+1, A2R+2, A2R+3, A1R+1, A1R+2, A1R+3, A1R+4
, A1R+5, B1+1, B1R+1, B1R+2, C1+1, C1R+1, D1+1, D1+2, D1+3, D1+4
, D1+5, D1+6, D1R+1, D1R+2, D1R+3, D1R+4, D1R+5, E1+1, E1+2, E1+3
, E1R+1, E1R+2, F1R+3, F1R+4, F1R+5, F1R+6, G1+1, G1R+1, G1R+2, H1R+3
, H1R+4, H1R+5
>> DSC( BEGIN+5, A1+10, A1R+5, B1R+2, C1R+1, D1R+5, F1R+6
DUZ("LANG" DT
>> DXS BEGIN+2*
>> DXS(1 BEGIN+4
>> DXS(10 C1+3
>> DXS(11 D1+2
>> DXS(2 A1+5
>> DXS(3 A1+7
>> DXS(4 A1R+1
>> DXS(5 A1R+2
>> DXS(6 A1R+3
>> DXS(7 D1R+1
>> DXS(8 F1R+3
>> DXS(9 F1R+4
>> I(0 BEGIN+3*
>> I(1 BEGIN+5*, A1R+5*, B1R+2*, C1R+1*, D1R+5*, E1R+2*, F1R+6*, G1R+2*
>> I(2 A1+10*
IOSL T
>> J(0 BEGIN+3*
>> J(1 BEGIN+5*, A1R+5*, B1R+2*, C1R+1*, D1R+5*, E1R+2*, F1R+6*, G1R+2*
>> J(2 A1+10*
MCFILE H1R+4*, H1R+5!
U DT+1, A1+2, A1+4, A1+8, A2+1, A2R+2, B1+1, C1+1, C1+3, D1+2
, D1+4, D1+6, D1R+3, D1R+4, E1+2, E1+3, G1+1, G1+3
>> X BEGIN+4, A1+2*, A1+4, A1+7*, A1+8*, A2+1*, A2R+2*, A1R+3, B1+1*, C1+1*
, C1+3, D1+2*, D1+4, D1+6, D1R+1, D1R+3*, D1R+4*, E1+2*, E1+3, F1+1*
, F1R+3*, F1R+4, G1+1*, G1+3, H1+1*
Y DT, DT+1, DT+2, BEGIN+4!, A1+2*, A1+4*, A1+5!, A1+6!, A1+7!, A2+1*
, A2R+2*, A2R+3!, A1R+1!, A1R+2!, A1R+3!, B1+1*, C1+1*, C1+3*, D1+2*, D1+4*
, D1R+1!, D1R+3*, E1+2*, F1R+3!, F1R+4!, G1+1*, H1R+4!, H1R+5!, H1R+6!
ZI A1+6!
ZZ A1+6!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All