source: FOIAVistA/trunk/r/ONCOLOGY-ONC/ONCBPC5.m@ 1783

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

initial load of FOIAVistA 6/30/08 version

File size: 1.8 KB
Line 
1ONCBPC5 ;HIRMFO/GWB - PCE Study of Cancers of the Urinary Bladder - Table V;7/22/96
2 ;;2.11;ONCOLOGY;**6**;Mar 07, 1995
3 K ONC,TABLE,HTABLE
4 S TABLE("TYPE OF FIRST RECURRENCE")="TOFR"
5 S TABLE("DATE OF FIRST RECURRENCE")="DOFR"
6 S TABLE("DISTANT SITE(S) OF FIRST RECURRENCE")="DSOFR"
7 S HTABLE(1)="TYPE OF FIRST RECURRENCE"
8 S HTABLE(2)="DATE OF FIRST RECURRENCE"
9 S HTABLE(3)="DISTANT SITE(S) OF FIRST RECURRENCE"
10 S CHOICES=3
11 W @IOF D HEAD^ONCBPC0 W !?27,"TABLE V - FIRST RECURRENCE",!
12 S DIC="^ONCO(165.5,",DR="70",DA=ONCONUM,DIQ="ONC",DIQ(0)="IE" D EN^DIQ1
13TOFR S DIE="^ONCO(165.5,",DA=ONCONUM
14 S DR="387TYPE OF FIRST RECURRENCE/BLADDER.." D ^DIE G:$D(Y) JUMP
15 ;W !,"DATE OF FIRST RECURRENCE..........: ",ONC(165.5,ONCONUM,70,"E")
16DOFR S DR="70DATE OF FIRST RECURRENCE......... " D ^DIE G:$D(Y) JUMP
17DSOFR S DIE="^ONCO(165.5,",DA=ONCONUM
18 W !!,"DISTANT SITE(S) OF RECURRENCE:",!
19 S DR="71.1 RECURRENCE SITE 1..........." D ^DIE G:$D(Y) JUMP
20 I X=0 D G PRTC
21 .S $P(^ONCO(165.5,ONCONUM,5),U,4)=0
22 .W !," RECURRENCE SITE 2...........: None"
23 .S $P(^ONCO(165.5,ONCONUM,5),U,5)=0
24 .W !," RECURRENCE SITE 3...........: None"
25 S DR="71.2 RECURRENCE SITE 2..........." D ^DIE G:$D(Y) JUMP
26 I X=0 D G PRTC
27 .S $P(^ONCO(165.5,ONCONUM,5),U,5)=0
28 .W !," RECURRENCE SITE 3...........: None"
29 S DR="71.3 RECURRENCE SITE 3..........." D ^DIE G:$D(Y) JUMP
30PRTC W ! K DIR S DIR(0)="E" D ^DIR
31 G EXIT
32JUMP ;Jump to prompts
33 S XX="" R !!,"GO TO: ",X:DTIME I (X="")!(X[U) S OUT="Y" G EXIT
34 I X["?" D G JUMP
35 .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
36 I '$D(TABLE(X)) S XX=X,X=$O(TABLE(X)) I ($P(X,XX,1)'="")!(X="") W *7,"??" D G JUMP
37 .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
38 S X=TABLE(X)
39 G @X
40EXIT K CHOICES,HTABLE,ONC,TABLE
41 K DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
42 Q
Note: See TracBrowser for help on using the repository browser.