source: FOIAVistA/trunk/r/ONCOLOGY-ONC/ONCBRP6.m@ 1742

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

initial load of FOIAVistA 6/30/08 version

File size: 1.1 KB
Line 
1ONCBRP6 ;HINES CIOFO/GWB - 1998 Breast Cancer Study - Table VI ;6/1/98
2 ;;2.11;ONCOLOGY;**18**;Mar 07, 1995
3 K TABLE,HTABLE
4 S TABLE("81. DATE OF FIRST RECURRENCE")="DFR"
5 S TABLE("82. TYPE OF FIRST RECURRENCE")="TFR"
6 S HTABLE(1)="81. TYPE OF FIRST RECURRENCE"
7 S HTABLE(2)="82. DATE OF FIRST RECURRENCE"
8 S CHOICES=2
9 W @IOF D HEAD^ONCBRP0
10 W !," TABLE VI - FIRST RECURRENCE"
11 W !," ---------------------------"
12 S DIC="^ONCO(165.5,",DR="70",DA=ONCONUM,DIQ="ONCO" D EN^DIQ1
13 S DIE="^ONCO(165.5,",DA=ONCONUM
14DFR S DR="70 81. DATE OF FIRST RECURRENCE" D ^DIE G:$D(Y) JUMP
15TFR S DR="71 82. 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 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:X?1.2N X=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
26EXIT K CHOICES,HTABLE,TABLE
27 K PIECE
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.