[613] | 1 | ONCCPC5 ;HIRMFO/GWB - PCE Study of Colorectal Cancer - Table V;3/28/97
|
---|
| 2 | ;;2.11;ONCOLOGY;**11**;Mar 07, 1995
|
---|
| 3 | K TABLE,HTABLE S OUT=""
|
---|
| 4 | S TABLE("WERE OTHER REFERRALS MADE")="WORM"
|
---|
| 5 | S HTABLE(1)="WERE OTHER REFERRALS MADE"
|
---|
| 6 | S CHOICES=1
|
---|
| 7 | W @IOF D HEAD^ONCCPC0
|
---|
| 8 | W !?27,"TABLE V - QUALITY OF LIFE"
|
---|
| 9 | W !?27,"-------------------------"
|
---|
| 10 | WORM W !,"WERE OTHER REFERRALS MADE:",!
|
---|
| 11 | S DIE="^ONCO(165.5,",DA=ONCONUM
|
---|
| 12 | S DR="796 NUTRITIONAL CONSULTATION" D ^DIE G:$D(Y) JUMP
|
---|
| 13 | S DR="797 OCCUPATIONAL THERAPY...." D ^DIE G:$D(Y) JUMP
|
---|
| 14 | S DR="563 PHYSICAL THERAPY........" D ^DIE G:$D(Y) JUMP
|
---|
| 15 | S DR="798 OSTOMY CONSULTATION....." D ^DIE G:$D(Y) JUMP
|
---|
| 16 | S DR="799 PSYCHOSOCIAL............" D ^DIE G:$D(Y) JUMP
|
---|
| 17 | W ! K DIR S DIR(0)="E" D ^DIR Q:(Y=0)!(Y="")
|
---|
| 18 | G EXIT
|
---|
| 19 | JUMP ;Jump to prompts
|
---|
| 20 | S XX="" R !!,"GO TO: ",X:DTIME 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 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
|
---|
| 27 | EXIT K CHOICES,HTABLE,TABLE
|
---|
| 28 | K DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
|
---|
| 29 | Q
|
---|