1 | ONCCPC6 ;HIRMFO/GWB - PCE Study of Colorectal Cancer - Table VI;3/28/97
|
---|
2 | ;;2.11;ONCOLOGY;**11**;Mar 07, 1995
|
---|
3 | K TABLE,HTABLE S OUT=""
|
---|
4 | S TABLE("DATE OF FIRST RECURRENCE")="DOFR"
|
---|
5 | S TABLE("TYPE OF FIRST RECURRENCE")="TOFR"
|
---|
6 | S HTABLE(1)="DATE OF FIRST RECURRENCE"
|
---|
7 | S HTABLE(2)="TYPE OF FIRST RECURRENCE"
|
---|
8 | S CHOICES=2
|
---|
9 | W @IOF D HEAD^ONCCPC0
|
---|
10 | W !?27,"TABLE VI - FIRST RECURRENCE"
|
---|
11 | W !?27,"---------------------------"
|
---|
12 | DOFR S DIE="^ONCO(165.5,",DA=ONCONUM
|
---|
13 | S DR="70DATE OF FIRST RECURRENCE......" D ^DIE G:$D(Y) JUMP
|
---|
14 | TOFR S DIE="^ONCO(165.5,",DA=ONCONUM
|
---|
15 | S DR="71TYPE OF FIRST RECURRENCE......" D ^DIE G:$D(Y) JUMP
|
---|
16 | W ! K DIR S DIR(0)="E" D ^DIR
|
---|
17 | G EXIT
|
---|
18 | JUMP ;Jump to prompts
|
---|
19 | S XX="" R !!,"GO TO: ",X:DTIME I (X="")!(X[U) S OUT="Y" G EXIT
|
---|
20 | I X["?" D G JUMP
|
---|
21 | .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
|
---|
22 | I '$D(TABLE(X)) S XX=X,X=$O(TABLE(X)) I ($P(X,XX,1)'="")!(X="") W *7,"??" D G JUMP
|
---|
23 | .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
|
---|
24 | S X=TABLE(X)
|
---|
25 | G @X
|
---|
26 | EXIT K CHOICES,HTABLE,TABLE
|
---|
27 | K DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
|
---|
28 | Q
|
---|