source: WorldVistAEHR/trunk/r/ONCOLOGY-ONC/ONCNPC5.m@ 1259

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

initial load of WorldVistAEHR

File size: 1.2 KB
Line 
1ONCNPC5 ;HIRMFO/GWB - PCE Study of Non-Hodgkin's Lymphoma - Table V;4/23/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 TABLE("OTHER TYPE OF FIRST RECURRENCE")="OTOFR"
7 S HTABLE(1)="DATE OF FIRST RECURRENCE"
8 S HTABLE(2)="TYPE OF FIRST RECURRENCE"
9 S HTABLE(3)="OTHER TYPE OF FIRST RECURRENCE"
10 S CHOICES=3
11 W @IOF D HEAD^ONCNPC0
12 W !?27,"TABLE V - FIRST RECURRENCE"
13 W !?27,"--------------------------"
14DOFR S DIE="^ONCO(165.5,",DA=ONCONUM
15 S DR="70DATE OF FIRST RECURRENCE......" D ^DIE G:$D(Y) JUMP
16TOFR S DIE="^ONCO(165.5,",DA=ONCONUM
17 S DR="71TYPE OF FIRST RECURRENCE......" D ^DIE G:$D(Y) JUMP
18OTOFR S DIE="^ONCO(165.5,",DA=ONCONUM
19 S DR="71.4OTHER TYPE OF FIRST RECURRENCE" D ^DIE G:$D(Y) JUMP
20 W ! K DIR S DIR(0)="E" D ^DIR
21 G EXIT
22JUMP ;Jump to prompts
23 S XX="" R !!,"GO TO: ",X:DTIME I (X="")!(X[U) S OUT="Y" G EXIT
24 I X["?" D G JUMP
25 .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
26 I '$D(TABLE(X)) S XX=X,X=$O(TABLE(X)) I ($P(X,XX,1)'="")!(X="") W *7,"??" D G JUMP
27 .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
28 S X=TABLE(X)
29 G @X
30EXIT K CHOICES,HTABLE,TABLE
31 K DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
32 Q
Note: See TracBrowser for help on using the repository browser.