source: WorldVistAEHR/trunk/r/ONCOLOGY-ONC/ONCNPC3.m@ 1042

Last change on this file since 1042 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 2.1 KB
Line 
1ONCNPC3 ;HIRMFO/GWB - PCE Study of Non-Hodgkin's Lymphoma - Table III;4/15/97
2 ;;2.11;ONCOLOGY;**11**;Mar 07, 1995
3 K TABLE,HTABLE
4 S TABLE("AJCC CLINICAL STAGE GROUP")="ACS"
5 S TABLE("CLINICALLY STAGED BY")="CSB"
6 S TABLE("AJCC PATHOLOGIC STAGE GROUP")="APS"
7 S TABLE("PATHOLOGICALLY STAGED BY")="PSB"
8 S TABLE("TYPE OF STAGING SYSTEM (PEDIATRIC)")="TOSS"
9 S TABLE("PEDIATRIC STAGE")="PS"
10 S TABLE("STAGED BY (PEDIATRIC STAGE)")="SB"
11 S TABLE("EXTRANODAL SITES")="ES"
12 S HTABLE(1)="AJCC CLINICAL STAGE GROUP"
13 S HTABLE(2)="CLINICALLY STAGED BY"
14 S HTABLE(3)="AJCC PATHOLOGIC STAGE GROUP"
15 S HTABLE(4)="PATHOLOGICALLY STAGED BY"
16 S HTABLE(5)="TYPE OF STAGING SYSTEM (PEDIATRIC)"
17 S HTABLE(6)="PEDIATRIC STAGE"
18 S HTABLE(7)="STAGED BY (PEDIATRIC STAGE)"
19 S HTABLE(8)="EXTRANODAL SITES"
20 S CHOICES=8
21 K DIQ S DIC="^ONCO(165.5,",DR="38;88",DA=ONCONUM,DIQ="ONC" D EN^DIQ1
22 W @IOF D HEAD^ONCNPC0
23 W !?18,"TABLE III- EXTENT OF DISEASE AND AJCC STAGE"
24 W !?18,"-------------------------------------------"
25 S DIE="^ONCO(165.5,",DA=ONCONUM
26ACS W !!,"AJCC CLINICAL STAGE GROUP......: ",ONC(165.5,ONCONUM,38)
27CSB S DR="19CLINICALLY STAGED BY..........." D ^DIE G:$D(Y) JUMP
28APS W !!,"AJCC PATHOLOGIC STAGE GROUP ...: ",ONC(165.5,ONCONUM,88)
29PSB S DR="89PATHOLOGICALLY STAGED BY......." D ^DIE G:$D(Y) JUMP
30 W !
31TOSS S DR="849TYPE OF STAGING SYS (PEDIATRIC)" D ^DIE G:$D(Y) JUMP
32PS S DR="850PEDIATRIC STAGE................" D ^DIE G:$D(Y) JUMP
33SB S DR="851STAGED BY (PEDIATRIC STAGE)...." D ^DIE G:$D(Y) JUMP
34ES W !!,"EXTRANODAL SITES:",!
35 S DR="852 EXTRANODAL SITE 1............" D ^DIE G:$D(Y) JUMP
36 S DR="853 EXTRANODAL SITE 2............" D ^DIE G:$D(Y) JUMP
37 S DR="854 EXTRANODAL SITE 3............" D ^DIE G:$D(Y) JUMP
38 W ! K DIR S DIR(0)="E" D ^DIR
39 G EXIT
40JUMP ;Jump to prompts
41 S XX="" R !!,"GO TO: ",X:DTIME I (X="")!(X[U) S OUT="Y" G EXIT
42 I X["?" D G JUMP
43 .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
44 I '$D(TABLE(X)) S XX=X,X=$O(TABLE(X)) I ($P(X,XX,1)'="")!(X="") W *7,"??" D G JUMP
45 .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
46 S X=TABLE(X)
47 G @X
48EXIT K HTABLE,TABLE,CHOICES
49 K DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
50 Q
Note: See TracBrowser for help on using the repository browser.