source: WorldVistAEHR/trunk/r/ONCOLOGY-ONC/ONCPPC5.m@ 1270

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

initial load of WorldVistAEHR

File size: 1.8 KB
Line 
1ONCPPC5 ;HIRMFO/GWB - PCE Studies of Prostate Cancer - Table V;7/22/96
2 ;;2.11;ONCOLOGY;**6**;Mar 07, 1995
3 K TABLE,HTABLE
4 S TABLE("TYPE OF FIRST RECURRENCE")="TOFR"
5 S TABLE("DATE OF FIRST RECURRENCE")="DOFR"
6 S TABLE("METHODS USED TO DIAGNOSE FIRST RECURRENCE")="MUTDFR"
7 S HTABLE(1)="TYPE OF FIRST RECURRENCE"
8 S HTABLE(2)="DATE OF FIRST RECURRENCE"
9 S HTABLE(3)="METHODS USED TO DIAGNOSE FIRST RECURRENCE"
10 S CHOICES=3
11 W @IOF D HEAD^ONCPPC0 W !?27,"TABLE V - FIRST RECURRENCE",!
12 S DIC="^ONCO(165.5,",DR="70",DA=ONCONUM,DIQ="ONCO" D EN^DIQ1
13 S TOFR=""
14TOFR S DIE="^ONCO(165.5,",DA=ONCONUM
15 S DR="71TYPE OF FIRST RECURRENCE........" D ^DIE G:$D(Y) JUMP
16 S TOFR=X
17DOFR S DR="70DATE OF FIRST RECURRENCE........" D ^DIE G:$D(Y) JUMP
18 I (TOFR=4)!(TOFR=5)!(TOFR=9) D G PRTC
19 .F PIECE=50:1:56 S $P(^ONCO(165.5,ONCONUM,"PRO1"),U,PIECE)=""
20MUTDFR W !!,"METHODS USED TO DIAGNOSE FIRST RECURRENCE:",!
21 S DR="649 BACKACHE......................" D ^DIE G:$D(Y) JUMP
22 S DR="650 BONE SCAN....................." D ^DIE G:$D(Y) JUMP
23 S DR="651 LETHARGY......................" D ^DIE G:$D(Y) JUMP
24 S DR="652 RECTAL EXAM WITH NEEDLE BIOSPY" D ^DIE G:$D(Y) JUMP
25 S DR="653 TUMOR MARKER ELEVATION........" D ^DIE G:$D(Y) JUMP
26 S DR="654 WEIGHT LOSS..................." D ^DIE G:$D(Y) JUMP
27 S DR="655 OTHER........................." D ^DIE G:$D(Y) JUMP
28PRTC W ! K DIR S DIR(0)="E" D ^DIR
29 G EXIT
30JUMP ;Jump to prompts
31 S XX="" R !!,"GO TO: ",X:DTIME I (X="")!(X[U) S OUT="Y" G EXIT
32 I X["?" D G JUMP
33 .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
34 I '$D(TABLE(X)) S XX=X,X=$O(TABLE(X)) I ($P(X,XX,1)'="")!(X="") W *7,"??" D G JUMP
35 .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
36 S X=TABLE(X)
37 G @X
38EXIT K CHOICES,HTABLE,TABLE
39 K PIECE
40 K DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
41 Q
Note: See TracBrowser for help on using the repository browser.