source: WorldVistAEHR/trunk/r/ONCOLOGY-ONC/ONCMPC5.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: 1.3 KB
Line 
1ONCMPC5 ;HINES CIOFO/GWB - 199 Melanoma Study - Table VI ; 01/27/99
2 ;;2.11;ONCOLOGY;**22,24**;Mar 07, 1995
3 K TABLE,HTABLE
4 S TABLE("77. DATE OF FIRST RECURRENCE")="DOFR"
5 S TABLE("78. TYPE OF FIRST RECURRENCE")="TOFR"
6 S TABLE("79. OTHER TYPE OF FIRST RECURRENCE")="OTOFR"
7 S HTABLE(1)="77. TYPE OF FIRST RECURRENCE"
8 S HTABLE(2)="78. DATE OF FIRST RECURRENCE"
9 S HTABLE(3)="79. OTHER TYPE OF FIRST RECURRENCE"
10 S CHOICES=3
11 W @IOF D HEAD^ONCMPC0
12 W !," TABLE V - FIRST RECURRENCE"
13 W !," --------------------------"
14 S DIC="^ONCO(165.5,",DR="70",DA=ONCONUM,DIQ="ONCO" D EN^DIQ1
15 S DIE="^ONCO(165.5,",DA=ONCONUM
16DOFR S DR="70 77. DATE OF FIRST RECURRENCE......" D ^DIE G:$D(Y) JUMP
17TOFR S DR="71 78. TYPE OF FIRST RECURRENCE......" D ^DIE G:$D(Y) JUMP
18OTOFR S DR="71.4 79. OTHER TYPE OF 1ST RECURRENCE.." D ^DIE G:$D(Y) JUMP
19PRTC W ! K DIR S DIR(0)="E" D ^DIR S:$D(DIRUT) OUT="Y"
20 G EXIT
21JUMP ;Jump to prompts
22 S XX="" R !!," GO TO ITEM NUMBER: ",X:DTIME I (X="")!(X[U) S OUT="Y" G EXIT
23 I X["?" D G JUMP
24 .W !," CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
25 I '$D(TABLE(X)) S:X?1.2N X=X_"." S XX=X,X=$O(TABLE(X)) I ($P(X,XX,1)'="")!(X="") W *7,"??" D G JUMP
26 .W !," CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
27 S X=TABLE(X)
28 G @X
29EXIT K CHOICES,HTABLE,TABLE
30 K PIECE
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.