ONCPPC0 ;HIRMFO/GWB - PCE Studies of Prostate Cancer ;3/18/96
;;2.2;ONCOLOGY;**1**;Jul 31, 2013;Build 8
CHECK ;Check PCE eligibility
S $P(^ONCO(165.5,ONCONUM,7),U,15)="PRO"
S ^ONCO(165.5,"APCE","PRO",ONCONUM)=""
K DIR D HEAD
S DIR(0)="SO^1:General Information;2:Initial Diagnosis;3:Stage of Disease;4:First Course of Treatment;5:First Recurrence;6:Subsequent Treatment;7:Status at Last Contact;8:All;9:Print Prostate PCE"
S DIR("A")="Select Table" D ^DIR
G:$D(DIRUT)!($D(DIROUT)) EXIT
I Y=8 S OUT="" D G MENU
.D ^ONCPPC1 Q:$G(OUT)="Y"
.D ^ONCPPC2 Q:$G(OUT)="Y"
.D ^ONCPPC3 Q:$G(OUT)="Y"
.D ^ONCPPC4 Q:$G(OUT)="Y"
.D ^ONCPPC5 Q:$G(OUT)="Y"
.D ^ONCPPC6 Q:$G(OUT)="Y"
.D ^ONCPPC7 Q:$G(OUT)="Y"
S SUB="^ONCPPC"_Y D @SUB G MENU
HEAD ;PCE HEADER
W @IOF,!,?1,PATNAM,?SITTAB,SITEGP,!,?1,SSN,?TOPTAB,TOPNAM," ",TOPCOD,!,DASHES
S HDL=$L("Patient Care Evaluation Studies of Cancer of the Prostate"),TAB=(80-HDL)\2,TAB=TAB-1
W !,?TAB,"Patient Care Evaluation Studies of Cancer of the Prostate",!,DASHES
Q
EXIT ;Kill Variables and Exit.
K HDL,ONCONUM,ONCOPA,OUT,SUB,TAB
K DIC,DIR,DIROUT,DIRUT,DLAYGO,DTOUT,DUOUT,X,Y
Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HONCPPC0 1181 printed Dec 13, 2024@02:27:12 Page 2
ONCPPC0 ;HIRMFO/GWB - PCE Studies of Prostate Cancer ;3/18/96
+1 ;;2.2;ONCOLOGY;**1**;Jul 31, 2013;Build 8
CHECK ;Check PCE eligibility
+1 SET $PIECE(^ONCO(165.5,ONCONUM,7),U,15)="PRO"
+2 SET ^ONCO(165.5,"APCE","PRO",ONCONUM)=""
+3 KILL DIR
DO HEAD
+4 SET DIR(0)="SO^1:General Information;2:Initial Diagnosis;3:Stage of Disease;4:First Course of Treatment;5:First Recurrence;6:Subsequent Treatment;7:Status at Last Contact;8:All;9:Print Prostate PCE"
+5 SET DIR("A")="Select Table"
DO ^DIR
+6 if $DATA(DIRUT)!($DATA(DIROUT))
GOTO EXIT
+7 IF Y=8
SET OUT=""
Begin DoDot:1
+8 DO ^ONCPPC1
if $GET(OUT)="Y"
QUIT
+9 DO ^ONCPPC2
if $GET(OUT)="Y"
QUIT
+10 DO ^ONCPPC3
if $GET(OUT)="Y"
QUIT
+11 DO ^ONCPPC4
if $GET(OUT)="Y"
QUIT
+12 DO ^ONCPPC5
if $GET(OUT)="Y"
QUIT
+13 DO ^ONCPPC6
if $GET(OUT)="Y"
QUIT
+14 DO ^ONCPPC7
if $GET(OUT)="Y"
QUIT
End DoDot:1
GOTO MENU
+15 SET SUB="^ONCPPC"_Y
DO @SUB
GOTO MENU
HEAD ;PCE HEADER
+1 WRITE @IOF,!,?1,PATNAM,?SITTAB,SITEGP,!,?1,SSN,?TOPTAB,TOPNAM," ",TOPCOD,!,DASHES
+2 SET HDL=$LENGTH("Patient Care Evaluation Studies of Cancer of the Prostate")
SET TAB=(80-HDL)\2
SET TAB=TAB-1
+3 WRITE !,?TAB,"Patient Care Evaluation Studies of Cancer of the Prostate",!,DASHES
+4 QUIT
EXIT ;Kill Variables and Exit.
+1 KILL HDL,ONCONUM,ONCOPA,OUT,SUB,TAB
+2 KILL DIC,DIR,DIROUT,DIRUT,DLAYGO,DTOUT,DUOUT,X,Y
+3 QUIT