[613] | 1 | ONCBPC5 ;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
|
---|
| 13 | TOFR 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")
|
---|
| 16 | DOFR S DR="70DATE OF FIRST RECURRENCE......... " D ^DIE G:$D(Y) JUMP
|
---|
| 17 | DSOFR 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
|
---|
| 30 | PRTC W ! K DIR S DIR(0)="E" D ^DIR
|
---|
| 31 | G EXIT
|
---|
| 32 | JUMP ;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
|
---|
| 40 | EXIT K CHOICES,HTABLE,ONC,TABLE
|
---|
| 41 | K DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
|
---|
| 42 | Q
|
---|