source: WorldVistAEHR/trunk/r/ONCOLOGY-ONC/ONCP2P8A.m@ 1667

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

initial load of WorldVistAEHR

File size: 8.1 KB
Line 
1ONCP2P8A ;HINES CIOFO/GWB - 1998 Prostate Cancer Study - print ;6/1/98
2 ;;2.11;ONCOLOGY;**18**;Mar 07, 1995
3III S TABLE="TABLE III - EXTENT AND STAGE OF DISEASE"
4 I IOST'?1"C".E W ! I ($Y'<(LIN-4)) D HEAD^ONCP2P0
5 W !?4,TABLE,!?4,"---------------------------------------" D P Q:EX=U
6 W !,"27. SIZE OF TUMOR (mm)...............: ",ONC(165.5,IE,29) D P Q:EX=U
7 W !,"28. REGIONAL NODES EXAMINED..........: ",ONC(165.5,IE,33) D P Q:EX=U
8 W !,"29. REGIONAL NODES POSITIVE..........: ",ONC(165.5,IE,32) D P Q:EX=U
9ACS W !!,"30. AJCC CLINICAL STAGE (cTNM):" D P Q:EX=U
10 W !," T-CODE..........................: ",ONC(165.5,IE,37.1) D P Q:EX=U
11 W !," N-CODE..........................: ",ONC(165.5,IE,37.2) D P Q:EX=U
12 W !," M-CODE..........................: ",ONC(165.5,IE,37.3) D P Q:EX=U
13 W !," AJCC STAGE......................: ",ONC(165.5,IE,38) D P Q:EX=U
14APS W !!,"31. AJCC PATHOLOGIC STAGE (pTNM):" D P Q:EX=U
15 W !," T-CODE..........................: ",ONC(165.5,IE,85) D P Q:EX=U
16 W !," N-CODE..........................: ",ONC(165.5,IE,86) D P Q:EX=U
17 W !," M-CODE..........................: ",ONC(165.5,IE,87)
18 W !," AJCC STAGE......................: ",ONC(165.5,IE,88)
19 K LINE S $P(LINE,"-",51)="-"
20 I IOST?1"C".E K DIR S DIR(0)="E" D ^DIR Q:'Y D HEAD^ONCP2P0 W !?4,TABLE_" (continued)",!?4,LINE G SB
21 W ! D P Q:EX=U
22SB W !,"32. STAGED BY:" D P Q:EX=U
23 W !," CLINICAL STAGE..................: ",ONC(165.5,IE,19) D P Q:EX=U
24 W !," PATHOLOGIC STAGE................: ",ONC(165.5,IE,89) D P Q:EX=U
25 I IOST?1"C".E W ! K DIR S DIR(0)="E" D ^DIR Q:'Y D HEAD^ONCP2P0 G IV
26 D P Q:EX=U
27IV S TABLE="TABLE IV - FIRST COURSE OF TREATMENT"
28 I IOST'?1"C".E W ! I ($Y'<(LIN-4)) D HEAD^ONCP2P0
29 K LINE S $P(LINE,"-",36)="-"
30 W !?4,TABLE,!?4,LINE D P Q:EX=U
31 K LINE S $P(LINE,"-",48)="-"
32 S D0=ONCONUM D DFC^ONCOCOM S DOFCT=Y
33 W !,"33. DATE OF FIRST COURSE TREATMENT...: ",DOFCT D P Q:EX=U
34 W !,"34. EXPECTED MGT/WATCHFUL WAITING....: ",ONC(165.5,IE,685) D P Q:EX=U
35 W !!?4,"SURGERY",!?4,"-------" D P Q:EX=U
36 W !?4,"NON CANCER-DIRECTED SURGERY",!?4,"---------------------------" D P Q:EX=U
37 S NCDS=ONC(165.5,IE,58.1)
38 S (NCDS1,NCDS2)="",LOS=$L(NCDS) I LOS<43 S NCDS1=NCDS G CDS
39 S NOP=$L($E(NCDS,1,41)," ")
40 S NCDS1=$P(NCDS," ",1,NOP-1),NCDS2=$P(NCDS," ",NOP,999)
41CDS S CDS=ONC(165.5,IE,58.2)
42 S (CDS1,CDS2)="",LOS=$L(CDS) I LOS<43 S CDS1=CDS G S
43 S NOP=$L($E(CDS,1,41)," ")
44 S CDS1=$P(CDS," ",1,NOP-1),CDS2=$P(CDS," ",NOP,999)
45S W !,"35. DATE OF NON CA-DIRECTED SURGERY..: ",ONC(165.5,IE,58.3) D P Q:EX=U
46 W !,"36. NON CANCER-DIRECTED SURGERY......: ",NCDS1 W:NCDS2'="" !,?39,NCDS2 D P Q:EX=U
47 W !!?4,"CANCER-DIRECTED SURGERY",!?4,"-----------------------" D P Q:EX=U
48 W !,"37. DATE OF CANCER-DIRECTED SURGERY..: ",ONC(165.5,IE,50) D P Q:EX=U
49 W !,"38. LENGTH OF STAY AFTER SURGERY.....: ",ONC(165.5,IE,686) D P Q:EX=U
50 W !,"39. SURGICAL APPROACH................: ",ONC(165.5,IE,74) D P Q:EX=U
51 W !,"40. TYPE OF CANCER-DIRECTED SURGERY..: ",CDS1 W:CDS2'="" !,?39,CDS2
52 S SM=ONC(165.5,IE,59)
53 S (SM1,SM2)="",LOS=$L(SM) I LOS<43 S SM1=SM G SM
54 S NOP=$L($E(SM,1,41)," "),SM1=$P(SM," ",1,NOP-1),SM2=$P(SM," ",NOP,999)
55SM W !,"41. SURGICAL MARGINS.................: ",SM1 W:SM2'="" !,?39,SM2 D P Q:EX=U
56 W !,"42. SCOPE OF LYMPH NODE SURGERY......: ",ONC(165.5,IE,138) D P Q:EX=U
57 W !!,"43. TYPE OF LYMPH NODE SURGERY:" D P Q:EX=U
58 W !," LAPAROSCOPIC....................: ",ONC(165.5,IE,687) D P Q:EX=U
59 W !," OPEN............................: ",ONC(165.5,IE,688) D P Q:EX=U
60 S SORS=ONC(165.5,ONCONUM,139)
61 S (SORS1,SORS2)="",LOS=$L(SORS) I LOS<43 S SORS1=SORS G SORS
62 S NOP=$L($E(SORS,1,41)," ")
63 S SORS1=$P(SORS," ",1,NOP-1),SORS2=$P(SORS," ",NOP,999)
64SORS W !!,"44. SURGERY OF OTHER REGIONAL SITE(S), DISTANT SITE(S),"
65 W !," OR DISTANT LYMPH NODE(S).........: ",SORS1 W:SORS2'="" !,?39,SORS2 D P Q:EX=U
66 W !,"45. NUMBER OF LYMPH NODES REMOVED....: ",ONC(165.5,IE,140) D P Q:EX=U
67 W !,"46. RECONSTRUCTION/RESTORATION.......: ",ONC(165.5,IE,23) D P Q:EX=U
68 W !!,"47. COMPLICATIONS FOLLOWING SURGICAL FIRST COURSE OF TREATMENT:" D P Q:EX=U
69 W !," PERMANENT RECTAL INJURY.........: ",ONC(165.5,IE,689) D P Q:EX=U
70 W !," THROMBOEMBOLISM.................: ",ONC(165.5,IE,690) D P Q:EX=U
71 W !," URETHRAL STRICTURE..............: ",ONC(165.5,IE,691) D P Q:EX=U
72 W !!,"48. POSTOPERATIVE DEATH W/I 30 DAYS..: ",ONC(165.5,IE,441)
73R W !!?4,"RADIATION THERAPY",!?4,"-----------------" D P Q:EX=U
74 W !,"49. DATE RADIATION STARTED...........: ",ONC(165.5,IE,51) D P Q:EX=U
75 W !,"50. RADIATION THERAPY................: ",ONC(165.5,IE,51.2) D P Q:EX=U
76 W !,"51. RADIATION FACILITY...............: ",ONC(165.5,IE,692) D P Q:EX=U
77 W !!,"52. INTERSTITIAL RADIATION/BRACHYTHERAPY ADMINISTERED:" D P Q:EX=U
78 W !," GOLD 198........................: ",ONC(165.5,IE,628) D P Q:EX=U
79 W !," IODINE 125......................: ",ONC(165.5,IE,627) D P Q:EX=U
80 W !," IRIDIUM 192.....................: ",ONC(165.5,IE,630) D P Q:EX=U
81 W !," OTHER INTERSTITIAL, NOS.........: ",ONC(165.5,IE,631) D P Q:EX=U
82 W !," PALLADIUM 103...................: ",ONC(165.5,IE,629) D P Q:EX=U
83 W !!,"53. ROUTE OF INTERSTITIAL RADIATION/"
84 W !," BRACHYTHERAPY ADMINISTERED.......: ",ONC(165.5,IE,693) D P Q:EX=U
85 I IOST?1"C".E W ! K DIR S DIR(0)="E" D ^DIR Q:'Y D HEAD^ONCP2P0 W !?4,TABLE_" (continued)",!?4,LINE G ERA
86 W ! D P Q:EX=U
87ERA W !,"54. EXTERNAL RADIATION ADMINISTERED:"
88 W !," DISTANT METASTATIC SITES........: ",ONC(165.5,IE,636) D P Q:EX=U
89 W !," PROSTATE & PELVIC NODES.........: ",ONC(165.5,IE,634) D P Q:EX=U
90 W !," PROSTATE & PARA-AORTIC NODES....: ",ONC(165.5,IE,635) D P Q:EX=U
91 W !," PROSTATE REGION ONLY............: ",ONC(165.5,IE,633) D P Q:EX=U
92 W !," OTHER EXTERNAL SITES, NOS.......: ",ONC(165.5,IE,637) D P Q:EX=U
93 W !!,"55. TYPE OF EXTERNAL RADIATION"
94 W !," ADMINISTRATION...................: ",ONC(165.5,IE,694) D P Q:EX=U
95 I IOST?1"C".E W ! K DIR S DIR(0)="E" D ^DIR Q:'Y D HEAD^ONCP2P0 W !?4,TABLE_" (continued)",!?4,LINE G TERDIB
96 W ! D P Q:EX=U
97TERDIB W !,"56. TOTAL EXTERNAL RAD DOSE (cGy) INCLUDING BOOST:"
98 W !," PROSTATE........................: ",ONC(165.5,IE,638) D P Q:EX=U
99 W !," PELVIC NODES....................: ",ONC(165.5,IE,639) D P Q:EX=U
100 W !," PARA-AORTIC NODES...............: ",ONC(165.5,IE,640) D P Q:EX=U
101 W !!,"57. COMPLICATIONS FOLLOWING RADIATION FIRST COURSE OF TREATMENT:"
102 W !," ACUTE GASTROINTESTINAL..........: ",ONC(165.5,IE,695) D P Q:EX=U
103 W !," ACUTE GASTROURINARY.............: ",ONC(165.5,IE,696) D P Q:EX=U
104 W !," ANORECTAL.......................: ",ONC(165.5,IE,697) D P Q:EX=U
105 W !," CHRONIC REQUIRING SURGERY OR"
106 W !," PROLONGED HOSPITALIZATION.......: ",ONC(165.5,IE,698) D P Q:EX=U
107 W !," URETHRAL OR BLADDER.............: ",ONC(165.5,IE,699) D P Q:EX=U
108 I IOST?1"C".E W ! K DIR S DIR(0)="E" D ^DIR Q:'Y D HEAD^ONCP2P0 W !?4,TABLE_" (continued)",!?4,LINE G H
109 W ! D P Q:EX=U
110H W !," HORMONE THERAPY"
111 W !," ---------------"
112 W !,"58. DATE OF ORCHIECTOMY.............: ",ONC(165.5,IE,699.1) D P Q:EX=U
113 W !,"59. DATE EXOGENOUS HT BEGAN.........: ",ONC(165.5,IE,54) D P Q:EX=U
114 W !,"60. HORMONE THERAPY.................: ",ONC(165.5,IE,54.2) D P Q:EX=U
115 W !!,"61. EXOGENOUS HORMONE AGENTS ADMINISTERED:"
116 W !," ANTIANDROGENS...................: ",ONC(165.5,IE,644) D P Q:EX=U
117 W !," ESTROGENS.......................: ",ONC(165.5,IE,643) D P Q:EX=U
118 W !," LUTEINIZING HORMONES............: ",ONC(165.5,IE,646) D P Q:EX=U
119 W !," PROGESTATIONAL AGENTS...........: ",ONC(165.5,IE,645) D P Q:EX=U
120 W !," OTHER...........................: ",ONC(165.5,IE,648) D P Q:EX=U
121 I IOST?1"C".E W ! K DIR S DIR(0)="E" D ^DIR Q:'Y D HEAD^ONCP2P0 W !?4,TABLE_" (continued)",!?4,LINE G C
122 W ! D P Q:EX=U
123C W !?4,"CHEMOTHERAPY",!?4,"------------" D P Q:EX=U
124 W !,"62. DATE CHEMOTHERAPY STARTED........: ",ONC(165.5,IE,53) D P Q:EX=U
125 W !,"63. CHEMOTHERAPY.....................: ",ONC(165.5,IE,53.2) D P Q:EX=U
126 I IOST?1"C".E W ! K DIR S DIR(0)="E" D ^DIR Q:'Y D HEAD^ONCP2P0 G V
127 D P Q:EX=U
128V D ^ONCP2P8B
129KILL ;Kill Variables and Exit
130 K %,DIR,DIROUT,DIRUT,DTOUT,DUOUT,FILN,ONCOBL,EX,TXT,X,Y
131 Q
132P ;Display Data
133 I ($Y'<(LIN-1)) D Q:EX=U W !?4,TABLE_" (continued)",!?4,LINE
134 .I IOST?1"C".E W ! K DIR S DIR(0)="E" D ^DIR I 'Y S EX=U Q
135 .D HEAD^ONCP2P0 Q
136 Q
Note: See TracBrowser for help on using the repository browser.