[613] | 1 | ONCNPC6 ;HIRMFO/GWB - PCE Study of Non-Hodgkin's Lymphoma - Table VII;4/23/97
|
---|
| 2 | ;;2.11;ONCOLOGY;**11**;Mar 07, 1995
|
---|
| 3 | K TABLE,HTABLE
|
---|
| 4 | S TABLE("DATE OF LAST CONTACT OR DEATH")="DLC"
|
---|
| 5 | S TABLE("VITAL STATUS")="VS"
|
---|
| 6 | S TABLE("CANCER STATUS")="CS"
|
---|
| 7 | S TABLE("COMPLETED BY")="CB"
|
---|
| 8 | S TABLE("REVIEWED BY CANCER COMMITTEE")="RBCC"
|
---|
| 9 | S HTABLE(1)="DATE OF LAST CONTACT OR DEATH"
|
---|
| 10 | S HTABLE(2)="VITAL STATUS"
|
---|
| 11 | S HTABLE(3)="CANCER STATUS"
|
---|
| 12 | S HTABLE(4)="COMPLETED BY"
|
---|
| 13 | S HTABLE(5)="REVIEWED BY CANCER COMMITTEE"
|
---|
| 14 | S CHOICES=5
|
---|
| 15 | W @IOF D HEAD^ONCNPC0
|
---|
| 16 | W !?23,"TABLE VI - STATUS AT LAST CONTACT"
|
---|
| 17 | W !?23,"---------------------------------"
|
---|
| 18 | DLC S DLC="" I $D(^ONCO(160,ONCOPA,"F","B")) S DLC=$O(^ONCO(160,ONCOPA,"F","B",""),-1)
|
---|
| 19 | I DLC'="" S Y=DLC D DATEOT^ONCOPCE S DLC=Y
|
---|
| 20 | W !,"DATE OF LAST CONTACT OR DEATH: ",DLC
|
---|
| 21 | VS S DIE="^ONCO(160,",DA=ONCONUM
|
---|
| 22 | S DR="15VITAL STATUS................." D ^DIE G:$D(Y) JUMP
|
---|
| 23 | I X=1 S $P(^ONCO(165.5,ONCONUM,7),U,14)=0
|
---|
| 24 | CS S CS="" I $D(^ONCO(165.5,ONCONUM,"TS","AA")) D
|
---|
| 25 | .S CSDAT=$O(^ONCO(165.5,ONCONUM,"TS","AA",""))
|
---|
| 26 | .S CSIEN=$O(^ONCO(165.5,ONCONUM,"TS","AA",CSDAT,""))
|
---|
| 27 | .S CSPNT=$P(^ONCO(165.5,ONCONUM,"TS",CSIEN,0),U,2)
|
---|
| 28 | .S CS=$P(^ONCO(164.42,CSPNT,0),U,1)
|
---|
| 29 | W !,"CANCER STATUS................: ",CS
|
---|
| 30 | CB S DIE="^ONCO(165.5,",DA=ONCONUM
|
---|
| 31 | S DR="81COMPLETED BY................." D ^DIE G:$D(Y) JUMP
|
---|
| 32 | RBCC S DIE="^ONCO(165.5,",DA=ONCONUM
|
---|
| 33 | S DR="82REVIEWED BY CANCER COMMITTEE." D ^DIE G:$D(Y) JUMP
|
---|
| 34 | W ! K DIR S DIR(0)="E" D ^DIR
|
---|
| 35 | G EXIT
|
---|
| 36 | JUMP ;Jump to prompts
|
---|
| 37 | S XX="" R !!,"GO TO: ",X:DTIME I (X="")!(X[U) S OUT="Y" G EXIT
|
---|
| 38 | I X["?" D G JUMP
|
---|
| 39 | .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
|
---|
| 40 | I '$D(TABLE(X)) S XX=X,X=$O(TABLE(X)) I ($P(X,XX,1)'="")!(X="") W *7,"??" D G JUMP
|
---|
| 41 | .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
|
---|
| 42 | S X=TABLE(X)
|
---|
| 43 | G @X
|
---|
| 44 | EXIT K CHOICES,HTABLE,TABLE
|
---|
| 45 | K CS,CSDAT,CSIEN,CSPNT,DLC
|
---|
| 46 | K DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
|
---|
| 47 | Q
|
---|