source: WorldVistAEHR/trunk/r/ONCOLOGY-ONC/ONCHPC5.m@ 1036

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

initial load of WorldVistAEHR

File size: 1.0 KB
Line 
1ONCHPC5 ;Hines OIFO/GWB - 2000 Hepatocellular Cancers PCE Study ;01/12/00
2 ;;2.11;ONCOLOGY;**26**;Mar 07, 1995
3 ;Recurrence
4 K TABLE,HTABLE
5 S TABLE("55. DATE OF FIRST RECURRENCE")="DFR"
6 S TABLE("56. TYPE OF FIRST RECURRENCE")="TFR"
7 S HTABLE(1)="55. TYPE OF FIRST RECURRENCE"
8 S HTABLE(2)="56. DATE OF FIRST RECURRENCE"
9 S CHOICES=2
10 W @IOF D HEAD^ONCHPC0
11 W !," RECURRENCE"
12 W !," ----------"
13 S DIE="^ONCO(165.5,",DA=ONCONUM,DR=70
14DFR S DR="70 55. DATE OF FIRST RECURRENCE" D ^DIE G:$D(Y) JUMP
15TFR S DR="71 56. TYPE OF FIRST RECURRENCE" D ^DIE G:$D(Y) JUMP
16PRTC W ! K DIR S DIR(0)="E" D ^DIR S:$D(DIRUT) OUT="Y"
17 G EXIT
18JUMP ;Jump to prompts
19 S XX="" R !!," GO TO ITEM NUMBER: ",X:DTIME
20 I (X="")!(X[U) S OUT="Y" G EXIT
21 I X["?" D G JUMP
22 .W !," CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
23 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
24 .W !," CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
25 S X=TABLE(X)
26 G @X
27EXIT K CHOICES,HTABLE,PIECE,TABLE
28 K DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
29 Q
Note: See TracBrowser for help on using the repository browser.