source: WorldVistAEHR/trunk/r/ONCOLOGY-ONC/ONCIPC5.m@ 1764

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

initial load of WorldVistAEHR

File size: 5.7 KB
Line 
1ONCIPC5 ;Hines OIFO/GWB - Primary Intracranial/CNS Tumors PCE Study ;04/26/00
2 ;;2.11;ONCOLOGY;**26,27**;Mar 07, 1995
3 ;Subsequent Treatment
4 K TABLE,HTABLE
5 S TABLE("76. DATE OF SUBSEQUENT TREATMENT FOR RECURRENCE/PROGRESSION")="DSTRP"
6 S TABLE("77. PROTOCOL PARTICIPATION (SUBSEQUENT TREATMENT)")="PPST"
7 S TABLE("78. TYPE OF SUBSEQUENT SURGICAL TREATMENT FOR RECURRENCE/PROGRESSION")="TSSTRP"
8 S TABLE("79. TYPE OF SUBSEQUENT RADIATION TREATMENT FOR RECURRENCE/PROGRESSION")="TSRTRP"
9 S TABLE("80. TYPE OF SUBSEQUENT CHEMOTHERAPY FOR RECURRENCE/PROGRESSION")="TSCRP"
10 S TABLE("81. OTHER TYPE OF SUBSEQUENT TREATMENT FOR RECURRENCE/PROGRESSION")="OTSRP"
11 S HTABLE(1)="76. DATE OF SUBSEQUENT TREATMENT FOR RECURRENCE/PROGRESSION"
12 S HTABLE(2)="77. PROTOCOL PARTICIPATION (SUBSEQUENT TREATMENT)"
13 S HTABLE(3)="78. TYPE OF SUBSEQUENT SURGICAL TREATMENT FOR RECURRENCE/PROGRESSION"
14 S HTABLE(4)="79. TYPE OF SUBSEQUENT RADIATION TREATMENT FOR RECURRENCE/PROGRESSION"
15 S HTABLE(5)="80. TYPE OF SUBSEQUENT CHEMOTHERAPY FOR RECURRENCE/PROGRESSION"
16 S HTABLE(6)="81. OTHER TYPE OF SUBSEQUENT TREATMENT FOR RECURRENCE/PROGRESSION"
17 S CHOICES=6
18 S IE=ONCONUM
19 S DSTRP="00/00/0000"
20 S (SUBSUR,SUBRAD,SUBCHE,SUBOTH)=""
21 I $D(^ONCO(165.5,IE,4,0)) S SCTIEN=$O(^ONCO(165.5,IE,4,0))
22 I $G(SCTIEN) D
23 .S DSTRP=$P(^ONCO(165.5,IE,4,SCTIEN,0),U,1)
24 .S Y=DSTRP D DATEOT^ONCOPCE S DSTRP=Y
25 .S IENS=SCTIEN_","_IE
26 .S SUBSUR=$$GET1^DIQ(165.51,IENS,.04)
27 .S SUBRAD=$$GET1^DIQ(165.51,IENS,.05)
28 .S SUBCHE=$$GET1^DIQ(165.51,IENS,.06)
29 .S SUBOTH=$$GET1^DIQ(165.51,IENS,.09)
30 W @IOF D HEAD^ONCIPC0
31 W !," SUBSEQUENT TREATMENT"
32 W !," --------------------"
33 S DIE="^ONCO(165.5,",DA=ONCONUM
34DSTRP W !," 76. DATE OF SUBSEQUENT TREATMENT FOR RECURRENCE/PROGRESSION...: ",DSTRP
35PPST I DSTRP="00/00/0000" D G TSSTRP
36 .S $P(^ONCO(165.5,IE,"CNS2"),U,88)="00"
37 .W !," 77. PROTOCOL PARTICIPATION (SUBSEQUENT TREATMENT).......: Not on"
38 S DR="1373 77. PROTOCOL PARTICIPATION (SUBSEQUENT TREATMENT)......." D ^DIE G:$D(Y) JUMP
39TSSTRP I (DSTRP="00/00/0000")!(SUBSUR["None") D G TSRTRP
40 .S $P(^ONCO(165.5,IE,"CNS2"),U,89)=0
41 .W !," 78. TYPE OF SUBSEQUENT SURGICAL TX FOR RECURRENCE/PROGRESSION...: None, no subsequent surgery"
42 S DR="1374 78. TYPE OF SUBSEQUENT SURGICAL TX FOR RECURRENCE/PROGRESSION..." D ^DIE G:$D(Y) JUMP
43TSRTRP 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
44 .S $P(^ONCO(165.5,IE,"CNS2"),U,90)=0
45 .W !," 79. TYPE OF SUBSEQUENT RADIATION TX FOR RECURRENCE/PROGRESSION...: None"
46 S DR="1375 79. TYPE OF SUBSEQUENT RADIAITON TX FOR RECURRENCE/PROGRESSION..." D ^DIE G:$D(Y) JUMP
47 W !
48TSCRP W !," 80. TYPE OF SUBSEQUENT CHEMOTHERAPY FOR RECURRENCE/PROGRESSION:"
49 I (DSTRP="00/00/0000")!(SUBCHE["None") D W ! G OTSRP
50 .F PIECE=1:1:17 S $P(^ONCO(165.5,IE,"CNS3"),U,PIECE)=8
51 .W !
52 .W !," Chemotherapy not administered"
53 .W !
54 .W !," PROCARBAZINE.......: NA CARBOPLATIN........: NA"
55 .W !," CCNU...............: NA TEMOZOLOMIDE.......: NA"
56 .W !," VINCRISTINE........: NA CYCLOPHOSPHAMIDE...: NA"
57 .W !," HYDROXYUREA........: NA CPT-11.............: NA"
58 .W !," METHOTREXATE.......: NA TAMOXIFEN..........: NA"
59 .W !," CISPLATIN..........: NA INTERFERON.........: NA"
60 .W !," BCNU...............: NA CYTARABINE (ARA-C).: NA"
61 .W !," BCNU WAFER IMPLANT.: NA OTHER..............: NA"
62 .W !," VP-16..............: NA"
63 S DR="1376 PROCARBAZINE................." D ^DIE G:$D(Y) JUMP
64 S DR="1377 CCNU........................." D ^DIE G:$D(Y) JUMP
65 S DR="1378 VINCRISTINE.................." D ^DIE G:$D(Y) JUMP
66 S DR="1379 HYDROXYUREA.................." D ^DIE G:$D(Y) JUMP
67 S DR="1380 METHOTREXATE................." D ^DIE G:$D(Y) JUMP
68 S DR="1381 CISPLATIN...................." D ^DIE G:$D(Y) JUMP
69 S DR="1382 BCNU........................." D ^DIE G:$D(Y) JUMP
70 S DR="1383 BCNU WAFER IMPLANT..........." D ^DIE G:$D(Y) JUMP
71 S DR="1384 VP-16........................" D ^DIE G:$D(Y) JUMP
72 S DR="1385 CARBOPLATIN.................." D ^DIE G:$D(Y) JUMP
73 S DR="1386 TEMOZOLOMIDE................." D ^DIE G:$D(Y) JUMP
74 S DR="1387 CYCLOPHOSPHAMIDE............." D ^DIE G:$D(Y) JUMP
75 S DR="1388 CPT-11......................." D ^DIE G:$D(Y) JUMP
76 S DR="1389 TAMOXIFEN...................." D ^DIE G:$D(Y) JUMP
77 S DR="1390 INTERFERON..................." D ^DIE G:$D(Y) JUMP
78 S DR="1391 CYTARABINE (ARA-C)..........." D ^DIE G:$D(Y) JUMP
79 S DR="1392 OTHER........................" D ^DIE G:$D(Y) JUMP
80 W !
81OTSRP I (DSTRP="00/00/0000")!(SUBOTH["None") D G PRTC
82 .S $P(^ONCO(165.5,IE,"CNS3"),U,18)=0
83 .W !," 81. OTHER TYPE OF SUBSEQUENT TX FOR RECURRENCE/PROGRESSION...: None"
84 S DR="1393 81. OTHER TYPE OF SUBSEQUENT TX FOR RECURRENCE/PROGRESSION..." D ^DIE G:$D(Y) JUMP
85PRTC W ! K DIR S DIR(0)="E" D ^DIR
86 G EXIT
87JUMP ;Jump to prompts
88 S XX="" R !!," GO TO ITEM NUMBER: ",X:DTIME
89 I (X="")!(X[U) S OUT="Y" G EXIT
90 I X["?" D G JUMP
91 .W !," CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
92 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
93 .W !," CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
94 S X=TABLE(X)
95 G @X
96EXIT K CHOICES,HTABLE,TABLE
97 K DSTRP,IENS,PIECE,SUBSUR,SUBRAD,SUBCHE,SUBOTH
98 K DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
99 Q
Note: See TracBrowser for help on using the repository browser.