ONCIPC5 ;Hines OIFO/GWB - Primary Intracranial/CNS Tumors PCE Study ;04/26/00
;;2.2;ONCOLOGY;**1**;Jul 31, 2013;Build 8
;Subsequent Treatment
K TABLE,HTABLE
S TABLE("76. DATE OF SUBSEQUENT TREATMENT FOR RECURRENCE/PROGRESSION")="DSTRP"
S TABLE("77. PROTOCOL PARTICIPATION (SUBSEQUENT TREATMENT)")="PPST"
S TABLE("78. TYPE OF SUBSEQUENT SURGICAL TREATMENT FOR RECURRENCE/PROGRESSION")="TSSTRP"
S TABLE("79. TYPE OF SUBSEQUENT RADIATION TREATMENT FOR RECURRENCE/PROGRESSION")="TSRTRP"
S TABLE("80. TYPE OF SUBSEQUENT CHEMOTHERAPY FOR RECURRENCE/PROGRESSION")="TSCRP"
S TABLE("81. OTHER TYPE OF SUBSEQUENT TREATMENT FOR RECURRENCE/PROGRESSION")="OTSRP"
S HTABLE(1)="76. DATE OF SUBSEQUENT TREATMENT FOR RECURRENCE/PROGRESSION"
S HTABLE(2)="77. PROTOCOL PARTICIPATION (SUBSEQUENT TREATMENT)"
S HTABLE(3)="78. TYPE OF SUBSEQUENT SURGICAL TREATMENT FOR RECURRENCE/PROGRESSION"
S HTABLE(4)="79. TYPE OF SUBSEQUENT RADIATION TREATMENT FOR RECURRENCE/PROGRESSION"
S HTABLE(5)="80. TYPE OF SUBSEQUENT CHEMOTHERAPY FOR RECURRENCE/PROGRESSION"
S HTABLE(6)="81. OTHER TYPE OF SUBSEQUENT TREATMENT FOR RECURRENCE/PROGRESSION"
S CHOICES=6
S IE=ONCONUM
S DSTRP="00/00/0000"
S (SUBSUR,SUBRAD,SUBCHE,SUBOTH)=""
I $D(^ONCO(165.5,IE,4,0)) S SCTIEN=$O(^ONCO(165.5,IE,4,0))
I $G(SCTIEN) D
.S DSTRP=$P(^ONCO(165.5,IE,4,SCTIEN,0),U,1)
.S Y=DSTRP D DATEOT^ONCOPCE S DSTRP=Y
.S IENS=SCTIEN_","_IE
.S SUBSUR=$$GET1^DIQ(165.51,IENS,.04)
.S SUBRAD=$$GET1^DIQ(165.51,IENS,.05)
.S SUBCHE=$$GET1^DIQ(165.51,IENS,.06)
.S SUBOTH=$$GET1^DIQ(165.51,IENS,.09)
W @IOF D HEAD^ONCIPC0
W !," SUBSEQUENT TREATMENT"
W !," --------------------"
S DIE="^ONCO(165.5,",DA=ONCONUM
DSTRP W !," 76. DATE OF SUBSEQUENT TREATMENT FOR RECURRENCE/PROGRESSION...: ",DSTRP
PPST I DSTRP="00/00/0000" D G TSSTRP
.S $P(^ONCO(165.5,IE,"CNS2"),U,88)="00"
.W !," 77. PROTOCOL PARTICIPATION (SUBSEQUENT TREATMENT).......: Not on"
S DR="1373 77. PROTOCOL PARTICIPATION (SUBSEQUENT TREATMENT)......." D ^DIE G:$D(Y) JUMP
TSSTRP I (DSTRP="00/00/0000")!(SUBSUR["None") D G TSRTRP
.S $P(^ONCO(165.5,IE,"CNS2"),U,89)=0
.W !," 78. TYPE OF SUBSEQUENT SURGICAL TX FOR RECURRENCE/PROGRESSION...: None, no subsequent surgery"
S DR="1374 78. TYPE OF SUBSEQUENT SURGICAL TX FOR RECURRENCE/PROGRESSION..." D ^DIE G:$D(Y) JUMP
TSRTRP I (DSTRP="00/00/0000")!(SUBRAD["None") D W ! K DIR S DIR(0)="E" D ^DIR G:Y=0 EXIT W @IOF D HEAD^ONCIPC0 G TSCRP
.S $P(^ONCO(165.5,IE,"CNS2"),U,90)=0
.W !," 79. TYPE OF SUBSEQUENT RADIATION TX FOR RECURRENCE/PROGRESSION...: None"
S DR="1375 79. TYPE OF SUBSEQUENT RADIAITON TX FOR RECURRENCE/PROGRESSION..." D ^DIE G:$D(Y) JUMP
W !
TSCRP W !," 80. TYPE OF SUBSEQUENT CHEMOTHERAPY FOR RECURRENCE/PROGRESSION:"
I (DSTRP="00/00/0000")!(SUBCHE["None") D W ! G OTSRP
.F PIECE=1:1:17 S $P(^ONCO(165.5,IE,"CNS3"),U,PIECE)=8
.W !
.W !," Chemotherapy not administered"
.W !
.W !," PROCARBAZINE.......: NA CARBOPLATIN........: NA"
.W !," CCNU...............: NA TEMOZOLOMIDE.......: NA"
.W !," VINCRISTINE........: NA CYCLOPHOSPHAMIDE...: NA"
.W !," HYDROXYUREA........: NA CPT-11.............: NA"
.W !," METHOTREXATE.......: NA TAMOXIFEN..........: NA"
.W !," CISPLATIN..........: NA INTERFERON.........: NA"
.W !," BCNU...............: NA CYTARABINE (ARA-C).: NA"
.W !," BCNU WAFER IMPLANT.: NA OTHER..............: NA"
.W !," VP-16..............: NA"
S DR="1376 PROCARBAZINE................." D ^DIE G:$D(Y) JUMP
S DR="1377 CCNU........................." D ^DIE G:$D(Y) JUMP
S DR="1378 VINCRISTINE.................." D ^DIE G:$D(Y) JUMP
S DR="1379 HYDROXYUREA.................." D ^DIE G:$D(Y) JUMP
S DR="1380 METHOTREXATE................." D ^DIE G:$D(Y) JUMP
S DR="1381 CISPLATIN...................." D ^DIE G:$D(Y) JUMP
S DR="1382 BCNU........................." D ^DIE G:$D(Y) JUMP
S DR="1383 BCNU WAFER IMPLANT..........." D ^DIE G:$D(Y) JUMP
S DR="1384 VP-16........................" D ^DIE G:$D(Y) JUMP
S DR="1385 CARBOPLATIN.................." D ^DIE G:$D(Y) JUMP
S DR="1386 TEMOZOLOMIDE................." D ^DIE G:$D(Y) JUMP
S DR="1387 CYCLOPHOSPHAMIDE............." D ^DIE G:$D(Y) JUMP
S DR="1388 CPT-11......................." D ^DIE G:$D(Y) JUMP
S DR="1389 TAMOXIFEN...................." D ^DIE G:$D(Y) JUMP
S DR="1390 INTERFERON..................." D ^DIE G:$D(Y) JUMP
S DR="1391 CYTARABINE (ARA-C)..........." D ^DIE G:$D(Y) JUMP
S DR="1392 OTHER........................" D ^DIE G:$D(Y) JUMP
W !
OTSRP I (DSTRP="00/00/0000")!(SUBOTH["None") D G PRTC
.S $P(^ONCO(165.5,IE,"CNS3"),U,18)=0
.W !," 81. OTHER TYPE OF SUBSEQUENT TX FOR RECURRENCE/PROGRESSION...: None"
S DR="1393 81. OTHER TYPE OF SUBSEQUENT TX FOR RECURRENCE/PROGRESSION..." D ^DIE G:$D(Y) JUMP
PRTC W ! K DIR S DIR(0)="E" D ^DIR
G EXIT
JUMP ;Jump to prompts
S XX="" R !!," GO TO ITEM NUMBER: ",X:DTIME
I (X="")!(X[U) S OUT="Y" G EXIT
I X["?" D G JUMP
.W !," CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
I '$D(TABLE(X)) S:X?1.2N X=X_"." S XX=X,X=$O(TABLE(X)) I ($P(X,XX,1)'="")!(X="") W *7,"??" D G JUMP
.W !," CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
S X=TABLE(X)
G @X
EXIT K CHOICES,HTABLE,TABLE
K DSTRP,IENS,PIECE,SUBSUR,SUBRAD,SUBCHE,SUBOTH
K DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HONCIPC5 5985 printed Oct 16, 2024@18:24:04 Page 2
ONCIPC5 ;Hines OIFO/GWB - Primary Intracranial/CNS Tumors PCE Study ;04/26/00
+1 ;;2.2;ONCOLOGY;**1**;Jul 31, 2013;Build 8
+2 ;Subsequent Treatment
+3 KILL TABLE,HTABLE
+4 SET TABLE("76. DATE OF SUBSEQUENT TREATMENT FOR RECURRENCE/PROGRESSION")="DSTRP"
+5 SET TABLE("77. PROTOCOL PARTICIPATION (SUBSEQUENT TREATMENT)")="PPST"
+6 SET TABLE("78. TYPE OF SUBSEQUENT SURGICAL TREATMENT FOR RECURRENCE/PROGRESSION")="TSSTRP"
+7 SET TABLE("79. TYPE OF SUBSEQUENT RADIATION TREATMENT FOR RECURRENCE/PROGRESSION")="TSRTRP"
+8 SET TABLE("80. TYPE OF SUBSEQUENT CHEMOTHERAPY FOR RECURRENCE/PROGRESSION")="TSCRP"
+9 SET TABLE("81. OTHER TYPE OF SUBSEQUENT TREATMENT FOR RECURRENCE/PROGRESSION")="OTSRP"
+10 SET HTABLE(1)="76. DATE OF SUBSEQUENT TREATMENT FOR RECURRENCE/PROGRESSION"
+11 SET HTABLE(2)="77. PROTOCOL PARTICIPATION (SUBSEQUENT TREATMENT)"
+12 SET HTABLE(3)="78. TYPE OF SUBSEQUENT SURGICAL TREATMENT FOR RECURRENCE/PROGRESSION"
+13 SET HTABLE(4)="79. TYPE OF SUBSEQUENT RADIATION TREATMENT FOR RECURRENCE/PROGRESSION"
+14 SET HTABLE(5)="80. TYPE OF SUBSEQUENT CHEMOTHERAPY FOR RECURRENCE/PROGRESSION"
+15 SET HTABLE(6)="81. OTHER TYPE OF SUBSEQUENT TREATMENT FOR RECURRENCE/PROGRESSION"
+16 SET CHOICES=6
+17 SET IE=ONCONUM
+18 SET DSTRP="00/00/0000"
+19 SET (SUBSUR,SUBRAD,SUBCHE,SUBOTH)=""
+20 IF $DATA(^ONCO(165.5,IE,4,0))
SET SCTIEN=$ORDER(^ONCO(165.5,IE,4,0))
+21 IF $GET(SCTIEN)
Begin DoDot:1
+22 SET DSTRP=$PIECE(^ONCO(165.5,IE,4,SCTIEN,0),U,1)
+23 SET Y=DSTRP
DO DATEOT^ONCOPCE
SET DSTRP=Y
+24 SET IENS=SCTIEN_","_IE
+25 SET SUBSUR=$$GET1^DIQ(165.51,IENS,.04)
+26 SET SUBRAD=$$GET1^DIQ(165.51,IENS,.05)
+27 SET SUBCHE=$$GET1^DIQ(165.51,IENS,.06)
+28 SET SUBOTH=$$GET1^DIQ(165.51,IENS,.09)
End DoDot:1
+29 WRITE @IOF
DO HEAD^ONCIPC0
+30 WRITE !," SUBSEQUENT TREATMENT"
+31 WRITE !," --------------------"
+32 SET DIE="^ONCO(165.5,"
SET DA=ONCONUM
DSTRP WRITE !," 76. DATE OF SUBSEQUENT TREATMENT FOR RECURRENCE/PROGRESSION...: ",DSTRP
PPST IF DSTRP="00/00/0000"
Begin DoDot:1
+1 SET $PIECE(^ONCO(165.5,IE,"CNS2"),U,88)="00"
+2 WRITE !," 77. PROTOCOL PARTICIPATION (SUBSEQUENT TREATMENT).......: Not on"
End DoDot:1
GOTO TSSTRP
+3 SET DR="1373 77. PROTOCOL PARTICIPATION (SUBSEQUENT TREATMENT)......."
DO ^DIE
if $DATA(Y)
GOTO JUMP
TSSTRP IF (DSTRP="00/00/0000")!(SUBSUR["None")
Begin DoDot:1
+1 SET $PIECE(^ONCO(165.5,IE,"CNS2"),U,89)=0
+2 WRITE !," 78. TYPE OF SUBSEQUENT SURGICAL TX FOR RECURRENCE/PROGRESSION...: None, no subsequent surgery"
End DoDot:1
GOTO TSRTRP
+3 SET DR="1374 78. TYPE OF SUBSEQUENT SURGICAL TX FOR RECURRENCE/PROGRESSION..."
DO ^DIE
if $DATA(Y)
GOTO JUMP
TSRTRP IF (DSTRP="00/00/0000")!(SUBRAD["None")
Begin DoDot:1
+1 SET $PIECE(^ONCO(165.5,IE,"CNS2"),U,90)=0
+2 WRITE !," 79. TYPE OF SUBSEQUENT RADIATION TX FOR RECURRENCE/PROGRESSION...: None"
End DoDot:1
WRITE !
KILL DIR
SET DIR(0)="E"
DO ^DIR
if Y=0
GOTO EXIT
WRITE @IOF
DO HEAD^ONCIPC0
GOTO TSCRP
+3 SET DR="1375 79. TYPE OF SUBSEQUENT RADIAITON TX FOR RECURRENCE/PROGRESSION..."
DO ^DIE
if $DATA(Y)
GOTO JUMP
+4 WRITE !
TSCRP WRITE !," 80. TYPE OF SUBSEQUENT CHEMOTHERAPY FOR RECURRENCE/PROGRESSION:"
+1 IF (DSTRP="00/00/0000")!(SUBCHE["None")
Begin DoDot:1
+2 FOR PIECE=1:1:17
SET $PIECE(^ONCO(165.5,IE,"CNS3"),U,PIECE)=8
+3 WRITE !
+4 WRITE !," Chemotherapy not administered"
+5 WRITE !
+6 WRITE !," PROCARBAZINE.......: NA CARBOPLATIN........: NA"
+7 WRITE !," CCNU...............: NA TEMOZOLOMIDE.......: NA"
+8 WRITE !," VINCRISTINE........: NA CYCLOPHOSPHAMIDE...: NA"
+9 WRITE !," HYDROXYUREA........: NA CPT-11.............: NA"
+10 WRITE !," METHOTREXATE.......: NA TAMOXIFEN..........: NA"
+11 WRITE !," CISPLATIN..........: NA INTERFERON.........: NA"
+12 WRITE !," BCNU...............: NA CYTARABINE (ARA-C).: NA"
+13 WRITE !," BCNU WAFER IMPLANT.: NA OTHER..............: NA"
+14 WRITE !," VP-16..............: NA"
End DoDot:1
WRITE !
GOTO OTSRP
+15 SET DR="1376 PROCARBAZINE................."
DO ^DIE
if $DATA(Y)
GOTO JUMP
+16 SET DR="1377 CCNU........................."
DO ^DIE
if $DATA(Y)
GOTO JUMP
+17 SET DR="1378 VINCRISTINE.................."
DO ^DIE
if $DATA(Y)
GOTO JUMP
+18 SET DR="1379 HYDROXYUREA.................."
DO ^DIE
if $DATA(Y)
GOTO JUMP
+19 SET DR="1380 METHOTREXATE................."
DO ^DIE
if $DATA(Y)
GOTO JUMP
+20 SET DR="1381 CISPLATIN...................."
DO ^DIE
if $DATA(Y)
GOTO JUMP
+21 SET DR="1382 BCNU........................."
DO ^DIE
if $DATA(Y)
GOTO JUMP
+22 SET DR="1383 BCNU WAFER IMPLANT..........."
DO ^DIE
if $DATA(Y)
GOTO JUMP
+23 SET DR="1384 VP-16........................"
DO ^DIE
if $DATA(Y)
GOTO JUMP
+24 SET DR="1385 CARBOPLATIN.................."
DO ^DIE
if $DATA(Y)
GOTO JUMP
+25 SET DR="1386 TEMOZOLOMIDE................."
DO ^DIE
if $DATA(Y)
GOTO JUMP
+26 SET DR="1387 CYCLOPHOSPHAMIDE............."
DO ^DIE
if $DATA(Y)
GOTO JUMP
+27 SET DR="1388 CPT-11......................."
DO ^DIE
if $DATA(Y)
GOTO JUMP
+28 SET DR="1389 TAMOXIFEN...................."
DO ^DIE
if $DATA(Y)
GOTO JUMP
+29 SET DR="1390 INTERFERON..................."
DO ^DIE
if $DATA(Y)
GOTO JUMP
+30 SET DR="1391 CYTARABINE (ARA-C)..........."
DO ^DIE
if $DATA(Y)
GOTO JUMP
+31 SET DR="1392 OTHER........................"
DO ^DIE
if $DATA(Y)
GOTO JUMP
+32 WRITE !
OTSRP IF (DSTRP="00/00/0000")!(SUBOTH["None")
Begin DoDot:1
+1 SET $PIECE(^ONCO(165.5,IE,"CNS3"),U,18)=0
+2 WRITE !," 81. OTHER TYPE OF SUBSEQUENT TX FOR RECURRENCE/PROGRESSION...: None"
End DoDot:1
GOTO PRTC
+3 SET DR="1393 81. OTHER TYPE OF SUBSEQUENT TX FOR RECURRENCE/PROGRESSION..."
DO ^DIE
if $DATA(Y)
GOTO JUMP
PRTC WRITE !
KILL DIR
SET DIR(0)="E"
DO ^DIR
+1 GOTO EXIT
JUMP ;Jump to prompts
+1 SET XX=""
READ !!," GO TO ITEM NUMBER: ",X:DTIME
+2 IF (X="")!(X[U)
SET OUT="Y"
GOTO EXIT
+3 IF X["?"
Begin DoDot:1
+4 WRITE !," CHOOSE FROM:"
FOR I=1:1:CHOICES
WRITE !,?5,HTABLE(I)
End DoDot:1
GOTO JUMP
+5 IF '$DATA(TABLE(X))
if X?1.2N
SET X=X_"."
SET XX=X
SET X=$ORDER(TABLE(X))
IF ($PIECE(X,XX,1)'="")!(X="")
WRITE *7,"??"
Begin DoDot:1
+6 WRITE !," CHOOSE FROM:"
FOR I=1:1:CHOICES
WRITE !,?5,HTABLE(I)
End DoDot:1
GOTO JUMP
+7 SET X=TABLE(X)
+8 GOTO @X
EXIT KILL CHOICES,HTABLE,TABLE
+1 KILL DSTRP,IENS,PIECE,SUBSUR,SUBRAD,SUBCHE,SUBOTH
+2 KILL DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
+3 QUIT