source: FOIAVistA/tag/r/ONCOLOGY-ONC/ONCPPC3.m@ 1582

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

initial load of FOIAVistA 6/30/08 version

File size: 1.8 KB
Line 
1ONCPPC3 ;HIRMFO/GWB - PCE Studies of Prostate Cancer - Table III;7/22/96
2 ;;2.11;ONCOLOGY;**6**;Mar 07, 1995
3 K TABLE,HTABLE
4 S TABLE("AJCC CLINICAL STAGE (cTNM)")="ACS"
5 S TABLE("CLINICAL STAGED BY")="CSB"
6 S TABLE("AJCC PATHOLOGIC STAGE (pTNM)")="APS"
7 S TABLE("PATHOLOGIC STAGED BY")="PSB"
8 S HTABLE(1)="AJCC CLINICAL STAGE (cTNM)"
9 S HTABLE(2)="CLINICAL STAGED BY"
10 S HTABLE(3)="AJCC PATHOLOGIC STAGE (pTNM)"
11 S HTABLE(4)="PATHOLOGIC STAGED BY"
12 S CHOICES=4
13 S DIE="^ONCO(165.5,",DA=ONCONUM
14 W @IOF D HEAD^ONCPPC0 W !?26,"TABLE III - STAGE OF DISEASE",!
15ACS W !,"AJCC CLINICAL STAGE (cTNM):",!
16CTCODE S DR="37.1 T-CODE............" D ^DIE G:$D(Y) JUMP
17 D CN1^ONCOTN,CN2^ONCOTN
18CNCODE S DR="37.2 N-CODE............" D ^DIE G:$D(Y) JUMP
19CMCODE S DR="37.3 M-CODE............" D ^DIE G:$D(Y) JUMP
20 I '$D(SKAJCC) D CN1^ONCOTN
21 S STGIND="C" D ES^ONCOTN
22CSTAGE ;W ! S DR="38 AJCC STAGE....." D ^DIE G:$D(Y) JUMP
23CSB S DR="19 CLINICAL STAGED BY.." D ^DIE G:$D(Y) JUMP
24APS W !!,"AJCC PATHOLOGIC STAGE (pTNM):",!
25PTCODE S DR="85 T-CODE.............." D ^DIE G:$D(Y) JUMP
26 D CN3^ONCOTN,CN4^ONCOTN
27PNCODE S DR="86 N-CODE.............." D ^DIE G:$D(Y) JUMP
28PMCODE S DR="87 M-CODE.............." D ^DIE G:$D(Y) JUMP
29 I '$D(SKAJCC) D CN3^ONCOTN
30 S STGIND="P" D ES^ONCOTN
31PSTAGE ;W ! S DR="88 AJCC STAGE....." D ^DIE G:$D(Y) JUMP
32PSB S DR="89 PATHOLOGIC STAGED BY" D ^DIE G:$D(Y) JUMP
33 W ! K DIR S DIR(0)="E" D ^DIR
34 G EXIT
35JUMP ;Jump to prompts
36 S XX="" R !!,"GO TO: ",X:DTIME I (X="")!(X[U) S OUT="Y" G EXIT
37 I X["?" D G JUMP
38 .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
39 I '$D(TABLE(X)) S XX=X,X=$O(TABLE(X)) I ($P(X,XX,1)'="")!(X="") W *7,"??" D G JUMP
40 .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
41 S X=TABLE(X)
42 G @X
43EXIT K CHOICES,HTABLE,TABLE
44 K DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
45 Q
Note: See TracBrowser for help on using the repository browser.