33 lines
1.2 KiB
Mathematica
33 lines
1.2 KiB
Mathematica
ONCNPC5 ;HIRMFO/GWB - PCE Study of Non-Hodgkin's Lymphoma - Table V;4/23/97
|
|
;;2.11;ONCOLOGY;**11**;Mar 07, 1995
|
|
K TABLE,HTABLE S OUT=""
|
|
S TABLE("DATE OF FIRST RECURRENCE")="DOFR"
|
|
S TABLE("TYPE OF FIRST RECURRENCE")="TOFR"
|
|
S TABLE("OTHER TYPE OF FIRST RECURRENCE")="OTOFR"
|
|
S HTABLE(1)="DATE OF FIRST RECURRENCE"
|
|
S HTABLE(2)="TYPE OF FIRST RECURRENCE"
|
|
S HTABLE(3)="OTHER TYPE OF FIRST RECURRENCE"
|
|
S CHOICES=3
|
|
W @IOF D HEAD^ONCNPC0
|
|
W !?27,"TABLE V - FIRST RECURRENCE"
|
|
W !?27,"--------------------------"
|
|
DOFR S DIE="^ONCO(165.5,",DA=ONCONUM
|
|
S DR="70DATE OF FIRST RECURRENCE......" D ^DIE G:$D(Y) JUMP
|
|
TOFR S DIE="^ONCO(165.5,",DA=ONCONUM
|
|
S DR="71TYPE OF FIRST RECURRENCE......" D ^DIE G:$D(Y) JUMP
|
|
OTOFR S DIE="^ONCO(165.5,",DA=ONCONUM
|
|
S DR="71.4OTHER TYPE OF FIRST RECURRENCE" D ^DIE G:$D(Y) JUMP
|
|
W ! K DIR S DIR(0)="E" D ^DIR
|
|
G EXIT
|
|
JUMP ;Jump to prompts
|
|
S XX="" R !!,"GO TO: ",X:DTIME I (X="")!(X[U) S OUT="Y" G EXIT
|
|
I X["?" D G JUMP
|
|
.W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
|
|
I '$D(TABLE(X)) S XX=X,X=$O(TABLE(X)) I ($P(X,XX,1)'="")!(X="") W *7,"??" D G JUMP
|
|
.W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
|
|
S X=TABLE(X)
|
|
G @X
|
|
EXIT K CHOICES,HTABLE,TABLE
|
|
K DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
|
|
Q
|