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

Package: Oncology

Routine: ONCOX2


Information

ONCOX2 ; GENERATED FROM 'ONCOX2' PRINT TEMPLATE (#843) ; 03/11/05 ; (FILE 165.5, MARGIN=132)

Source Information

Source file <ONCOX2.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
VA FileMan 5 DD^%DT  $$OUT^DIALOGU  CSTP^DIO2  Y^DIQ  (,0)^DIWW  
Oncology 3 AGE^ONCOCOM  NOKEO^ONCOCON  (AAD,ADD,ALIAS,CTY,DATEOT,DOB,PH,REL,SSN,W17AAD,ZIP)^ONCOES  

Entry Points

Name Comments DBIA/ICR reference
N
T
DT
M
BEGIN ;
A1 ;
A1R ;
B1 ;
B1R ;
C1 ;
C1R ;
D1 ;
D1R ;
E1 ;
E1R ;
F1 ;
F1R ;
G1 ;
G1R ;
H1 ;
H1R ;
I1 ;
I1R ;
J1 ;
A2 ;
A2R ;
B2 ;
B2R ;
C2 ;
C2R ;
J1R ;
HEAD ;

External References

Name Field # of Occurrence
DD^%DT B2+6, C2+8
$$OUT^DIALOGU DT
CSTP^DIO2 T+1
Y^DIQ BEGIN+5
^DIWW A2+4, A2+8
0^DIWW A2+3, A2+7
AGE^ONCOCOM H1R+3
NOKEO^ONCOCON E1+2
AAD^ONCOES G1R+2
ADD^ONCOES B1+1
ALIAS^ONCOES A1+1
CTY^ONCOES D1+2
DATEOT^ONCOES D1R+3, F1+4
DOB^ONCOES F1+4
PH^ONCOES D1+4
REL^ONCOES I1+2
SSN^ONCOES C1+1, F1+1
W17AAD^ONCOES G1R+2
ZIP^ONCOES C1+2

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: ?1
  • Line Location: BEGIN+4
Function Call: WRITE
  • Prompt: " Patient Name: "
  • Line Location: BEGIN+4
Function Call: WRITE
  • Prompt: $E(Y,1,30)
  • Line Location: BEGIN+5
Function Call: WRITE
  • Prompt: ?9
  • Line Location: BEGIN+6
Function Call: WRITE
  • Prompt: "Alias: "
  • Line Location: BEGIN+6
Function Call: WRITE
  • Prompt: $J(X,21)
  • Line Location: A1+1
Function Call: WRITE
  • Prompt: ?59
  • Line Location: A1R+2
Function Call: WRITE
  • Prompt: "Accession No: "
  • Line Location: A1R+2
Function Call: WRITE
  • Prompt: ?0,$E($P(X,U,5),1,9)
  • Line Location: A1R+3
Function Call: WRITE
  • Prompt: ?95
  • Line Location: A1R+4
Function Call: WRITE
  • Prompt: "Hospital No: "
  • Line Location: A1R+4
Function Call: WRITE
  • Prompt: X
  • Line Location: A1R+5
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1R+6
Function Call: WRITE
  • Prompt: "Home Address: "
  • Line Location: A1R+6
Function Call: WRITE
  • Prompt: $J(X,41)
  • Line Location: B1+1
Function Call: WRITE
  • Prompt: ?59
  • Line Location: B1R+2
Function Call: WRITE
  • Prompt: "Accession Yr: "
  • Line Location: B1R+2
Function Call: WRITE
  • Prompt: ?0,$E($P(X,U,7),1,4)
  • Line Location: B1R+3
Function Call: WRITE
  • Prompt: ?89
  • Line Location: B1R+4
Function Call: WRITE
  • Prompt: "Hospital Chart No: "
  • Line Location: B1R+4
Function Call: WRITE
  • Prompt: $J(X,12)
  • Line Location: C1+1
Function Call: WRITE
  • Prompt: ?17
  • Line Location: C1+2
Function Call: WRITE
  • Prompt: $J(X,21)
  • Line Location: C1+2
Function Call: WRITE
  • Prompt: ?52
  • Line Location: C1R+2
Function Call: WRITE
  • Prompt: "Primary Sequence No: "
  • Line Location: C1R+2
Function Call: WRITE
  • Prompt: ?0,$E($P(X,U,6),1,2)
  • Line Location: C1R+3
Function Call: WRITE
  • Prompt: ?8
  • Line Location: D1+1
Function Call: WRITE
  • Prompt: "County: "
  • Line Location: D1+1
Function Call: WRITE
  • Prompt: $J(X,21)
  • Line Location: D1+2
Function Call: WRITE
  • Prompt: ?0
  • Line Location: D1+3
Function Call: WRITE
  • Prompt: "Home Telephone: "
  • Line Location: D1+3
Function Call: WRITE
  • Prompt: $J(X,21)
  • Line Location: D1+4
Function Call: WRITE
  • Prompt: ?90
  • Line Location: D1R+2
Function Call: WRITE
  • Prompt: "Date of First Contact: "
  • Line Location: D1R+2
Function Call: WRITE
  • Prompt: $E(Y,1,30)
  • Line Location: D1R+3
Function Call: WRITE
  • Prompt: ?0
  • Line Location: E1+1
Function Call: WRITE
  • Prompt: "Next of Kin: "
  • Line Location: E1+1
Function Call: WRITE
  • Prompt: $J(X,21)
  • Line Location: E1+2
Function Call: WRITE
  • Prompt: ?0
  • Line Location: E1R+2
Function Call: WRITE
  • Prompt: X
  • Line Location: E1R+2
Function Call: WRITE
  • Prompt: ?0
  • Line Location: E1R+3
Function Call: WRITE
  • Prompt: "Social Security No: "
  • Line Location: E1R+3
Function Call: WRITE
  • Prompt: $J(X,12)
  • Line Location: F1+1
Function Call: WRITE
  • Prompt: ?50
  • Line Location: F1+2
Function Call: WRITE
  • Prompt: "Sex: "
  • Line Location: F1+2
Function Call: WRITE
  • Prompt: ?58
  • Line Location: F1+4
Function Call: WRITE
  • Prompt: ?89
  • Line Location: F1+5
Function Call: WRITE
  • Prompt: "Date of Birth: "
  • Line Location: F1+5
Function Call: WRITE
  • Prompt: X
  • Line Location: F1+6
Function Call: WRITE
  • Prompt: ?1
  • Line Location: F1+7
Function Call: WRITE
  • Prompt: "Address at Dx: "
  • Line Location: F1+7
Function Call: WRITE
  • Prompt: ?0,$E($P(X,U,1),1,40)
  • Line Location: F1R+2
Function Call: WRITE
  • Prompt: ?49
  • Line Location: F1R+3
Function Call: WRITE
  • Prompt: "Race: "
  • Line Location: F1R+3
Function Call: WRITE
  • Prompt: $E(Y,1,50)
  • Line Location: G1+1
Function Call: WRITE
  • Prompt: ?92
  • Line Location: G1+2
Function Call: WRITE
  • Prompt: "Birthplace: "
  • Line Location: G1+2
Function Call: WRITE
  • Prompt: X
  • Line Location: G1+3
Function Call: WRITE
  • Prompt: ?107
  • Line Location: G1R+2
Function Call: WRITE
  • Prompt: ?44
  • Line Location: G1R+3
Function Call: WRITE
  • Prompt: "Ethnicity: "
  • Line Location: G1R+3
Function Call: WRITE
  • Prompt: ?93
  • Line Location: H1R+2
Function Call: WRITE
  • Prompt: "Age at Dx: "
  • Line Location: H1R+2
Function Call: WRITE
  • Prompt: ?105
  • Line Location: H1R+3
Function Call: WRITE
  • Prompt: $E(X,1,3)
  • Line Location: H1R+3
Function Call: WRITE
  • Prompt: ?7
  • Line Location: H1R+4
Function Call: WRITE
  • Prompt: "County: "
  • Line Location: H1R+4
Function Call: WRITE
  • Prompt: $E(Y,1,30)
  • Line Location: H1R+5
Function Call: WRITE
  • Prompt: ?45
  • Line Location: I1+1
Function Call: WRITE
  • Prompt: "Religion: "
  • Line Location: I1+1
Function Call: WRITE
  • Prompt: $J(X,9)
  • Line Location: I1+2
Function Call: WRITE
  • Prompt: ?82
  • Line Location: I1R+2
Function Call: WRITE
  • Prompt: "Marital Status at Dx: "
  • Line Location: I1R+2
Function Call: WRITE
  • Prompt: ?0
  • Line Location: I1R+4
Function Call: WRITE
  • Prompt: X
  • Line Location: I1R+4
Function Call: WRITE
  • Prompt: ?0
  • Line Location: I1R+5
Function Call: WRITE
  • Prompt: " "
  • Line Location: I1R+5
Function Call: WRITE
  • Prompt: ?1
  • Line Location: A2+1
Function Call: WRITE
  • Prompt: "Occupation: "
  • Line Location: A2+1
Function Call: WRITE
  • Prompt: ?1
  • Line Location: A2+5
Function Call: WRITE
  • Prompt: "Usual Industry: "
  • Line Location: A2+5
Function Call: WRITE
  • Prompt: ?0
  • Line Location: A2R+1
Function Call: WRITE
  • Prompt: X
  • Line Location: A2R+1
Function Call: WRITE
  • Prompt: ?0
  • Line Location: A2R+2
Function Call: WRITE
  • Prompt: X
  • Line Location: A2R+2
Function Call: WRITE
  • Prompt: ?0
  • Line Location: A2R+3
Function Call: WRITE
  • Prompt: " "
  • Line Location: A2R+3
Function Call: WRITE
  • Prompt: ?1
  • Line Location: B2+1
Function Call: WRITE
  • Prompt: "Type of Tobacco user: "
  • Line Location: B2+1
Function Call: WRITE
  • Prompt: X
  • Line Location: B2+2
Function Call: WRITE
  • Prompt: " Packs-Years: "
  • Line Location: B2+3
Function Call: WRITE
  • Prompt: $J(Y,4)
  • Line Location: B2+4
Function Call: WRITE
  • Prompt: " YR. Quit Tobacco Use: "
  • Line Location: B2+5
Function Call: WRITE
  • Prompt: $E(Y,1,30)
  • Line Location: B2+6
Function Call: WRITE
  • Prompt: ?1
  • Line Location: C2+1
Function Call: WRITE
  • Prompt: "Type of Alcohol User: "
  • Line Location: C2+1
Function Call: WRITE
  • Prompt: X
  • Line Location: C2+2
Function Call: WRITE
  • Prompt: " Yrs. of Alcohol Use: "
  • Line Location: C2+3
Function Call: WRITE
  • Prompt: $J(Y,3)
  • Line Location: C2+4
Function Call: WRITE
  • Prompt: " Drinks per-day: "
  • Line Location: C2+5
Function Call: WRITE
  • Prompt: $J(Y,4)
  • Line Location: C2+6
Function Call: WRITE
  • Prompt: " Yr. Quit Drinking: "
  • Line Location: C2+7
Function Call: WRITE
  • Prompt: $E(Y,1,30)
  • Line Location: C2+8
Function Call: WRITE
  • Prompt: !,"------------------------------------------------------------------------------------------------------------------------------------",!!
  • Line Location: HEAD+1
Routine Call
  • DIALOGU
  • Line Location:
    • DT

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(165.5 BEGIN+5
^DIPT(843 BEGIN+2
^ONCO(160 - [#160] F1+3, G1+1, H1+1, J1+1, A2R+4, B2+4, B2+6, B2R+1, C2+4, C2+6
C2+8
^ONCO(164.46 - [#164.46] G1+1
^ONCO(165.5 - [#165.5] BEGIN+5, BEGIN+7, A1R+3, A1R+5, A1R+7, B1R+3, B1R+5, C1R+3, C1R+4, D1R+3
D1R+4, E1R+4, F1R+2, F1R+4, G1R+4, H1R+5, H1R+6, I1R+3, I1R+6
^UTILITY($J T
^VIC(5.1 - [#5.1] H1R+5

Label References

Name Line Occurrences
@( M
A1 BEGIN+7
A1R BEGIN+8
A2 J1+1
A2R J1+2
B1 A1R+7
B1R A1R+8
B2 A2R+4
B2R A2R+5
BEGIN ONCOX2+1
C1 B1R+5
C1R B1R+6
C2 B2R+1
C2R B2R+2
D1 C1R+4
D1R C1R+5
E1 D1R+4
E1R D1R+5
F1 E1R+4
F1R E1R+5
G1 F1R+4
G1R F1R+5
H1 G1R+4
H1R G1R+5
I1 H1R+6
I1R H1R+7
J1 I1R+6
J1R I1R+7
N BEGIN+4, BEGIN+6, A1R+2, A1R+4, A1R+6, B1R+2, B1R+4, C1+2, C1R+2, D1+1
D1+3, D1R+2, E1+1, E1R+2, E1R+3, F1+2, F1+5, F1+7, F1R+3, G1+2
G1R+3, H1R+2, H1R+3, H1R+4, I1+1, I1R+2, I1R+4, I1R+5, A2+1, A2+5
A2R+1, A2R+2, A2R+3, B2+1, C2+1
T BEGIN+4, E1R+2, I1R+4, I1R+5, J1+1, A2R+1, A2R+2, A2R+3, A2R+4, B2R+1

Naked Globals

Name Field # of Occurrence
^( J1+1, A2R+4, B2R+1
^(0 BEGIN+7, A1R+5, A1R+7, B1R+5, C1R+4, D1R+4, E1R+4, F1R+4, G1+1, G1R+4
H1R+5, H1R+6, I1R+6
^(1 T

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> C BEGIN+5*
>> D(0 BEGIN+7*, A1R+7*, B1R+5*, C1R+4*, D1R+4*, E1R+4*, F1R+4*, G1R+4*, H1R+6*, I1R+6*
>> D0 BEGIN+5, BEGIN+7*, A1R+1*, A1R+3, A1R+5, A1R+7*, B1R+1*, B1R+3, B1R+5*, C1R+1*
C1R+3, C1R+4*, D1R+1*, D1R+3, D1R+4*, E1R+1*, E1R+4*, F1+3, F1R+1*, F1R+2
F1R+4*, G1+1, G1R+1*, G1R+4*, H1+1, H1R+1*, H1R+5, H1R+6*, I1R+1*, I1R+3
I1R+6*, J1+1, A2R+4, B2+4, B2+6, B2R+1, C2+4, C2+6, C2+8, J1R+1*
>> D1 J1+1*, A2R+4*, B2+4, B2+6, B2R+1*, C2+4, C2+6, C2+8
>> DICMX A2+2*, A2+6*
>> DILCT T+1*, BEGIN+1*
>> DIOT(2 T
DIP A1R+5!, E1R+2!, F1+4!, F1+6!, G1+3!, G1R+2!, I1R+4!, A2+2!, A2+6!, A2R+1!
A2R+2!, B2+2!, C2+2!
DIP(1 BEGIN+7*, A1R+5*, A1R+7*, B1R+5*, C1R+4*, D1R+4*, E1R+4*, F1R+4*, G1R+4*, H1R+6*
I1R+6*
>> DISTP T+1*, BEGIN+1*
DIWF TJ1R+2!
>> DIWL A2+2*, A2+6*
>> DIWR A2+2*, A2+6*
>> DIXX M
>> DN TBEGIN+1*, BEGIN+4, BEGIN+6, A1R+2, A1R+4, A1R+5, A1R+6, B1R+2, B1R+4
C1+2, C1R+2, D1+1, D1+3, D1R+2, E1+1, E1R+2, E1R+3, F1+2, F1+4
F1+5, F1+6, F1+7, F1R+3, G1+2, G1+3, G1R+2, G1R+3, H1R+2, H1R+3
H1R+4, I1+1, I1R+2, I1R+4, I1R+5, J1+1, A2+1, A2+2, A2+5, A2+6
A2R+1, A2R+2, A2R+3, A2R+4, B2+1, B2+2, B2R+1, C2+1, C2+2
>> DSC( J1+1, A2R+4, B2R+1
>> DUZ("LANG" DT
>> DXS BEGIN+2*
>> DXS(1 E1R+2
>> DXS(10 F1+3
>> DXS(11 H1+1
>> DXS(12 I1R+3
>> DXS(2 G1+3
>> DXS(3 I1R+4
>> DXS(4 A2+2
>> DXS(5 A2+6
>> DXS(6 A2R+1
>> DXS(7 A2R+2
>> DXS(8 B2+2
>> DXS(9 C2+2
>> I(0 BEGIN+3*, BEGIN+7*, A1R+1, A1R+7*, B1R+1, B1R+5*, C1R+1, C1R+4*, D1R+1, D1R+4*
E1R+1, E1R+4*, F1R+1, F1R+4*, G1R+1, G1R+4*, H1R+1, H1R+6*, I1R+1, I1R+6*
J1R+1
I(100 BEGIN+7*, A1R+1!, A1R+7*, B1R+1!, B1R+5*, C1R+1!, C1R+4*, D1R+1!, D1R+4*, E1R+1!
E1R+4*, F1R+1!, F1R+4*, G1R+1!, G1R+4*, H1R+1!, H1R+6*, I1R+1!, I1R+6*, J1R+1!
>> I(101 J1+1*, A2R+4*, B2R+1*
IOSL T
>> J(0 BEGIN+3*
J(100 BEGIN+7*, A1R+1!, A1R+7*, B1R+1!, B1R+5*, C1R+1!, C1R+4*, D1R+1!, D1R+4*, E1R+1!
E1R+4*, F1R+1!, F1R+4*, G1R+1!, G1R+4*, H1R+1!, H1R+6*, I1R+1!, I1R+6*, J1R+1!
>> J(101 J1+1*, A2R+4*, B2R+1*
U DT+1, BEGIN+5, BEGIN+7, A1R+3, A1R+5, A1R+7, B1R+3, B1R+5, C1R+3, C1R+4
D1R+3, D1R+4, E1R+4, F1+3, F1R+2, F1R+4, G1+1, G1R+4, H1+1, H1R+5
H1R+6, I1R+3, I1R+6, B2+4, B2+6, C2+4, C2+6, C2+8
>> X BEGIN+5*, BEGIN+7*, A1+1*, A1R+3*, A1R+5*, A1R+7*, B1+1*, B1R+3*, B1R+5*, C1+1
C1+2*, C1R+3*, C1R+4*, D1+2*, D1+4, D1R+3*, D1R+4*, E1+2*, E1R+2, E1R+4*
F1+1, F1+3*, F1+6, F1R+2*, F1R+4*, G1+1*, G1+3, G1R+4*, H1+1*, H1R+3
H1R+5*, H1R+6*, I1+2, I1R+3*, I1R+4, I1R+6*, A2R+1, A2R+2, B2+2, B2+4*
B2+6*, C2+2, C2+4*, C2+6*, C2+8*
Y DTDT+1, DT+2, BEGIN+5*, A1R+5!, D1R+3*, E1R+2!, F1+3*, F1+4!, F1+6!
G1+1*, G1+3!, G1R+2!, H1+1*, H1R+5*, I1R+3*, I1R+4!, A2+2!, A2+6!, A2R+1!
A2R+2!, B2+2!, B2+4*, B2+6*, C2+2!, C2+4*, C2+6*, C2+8*, J1R+2!
Y( H1R+3!
Y(0 D1R+3*, B2+4*, B2+6*, C2+4*, C2+6*, C2+8*
Y(160 A1+1!, B1+1!, C1+1!, C1+2!, D1+2!, D1+4!, E1+2!, F1+1!, I1+2!
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All