source: WorldVistAEHR/trunk/r/ONCOLOGY-ONC/ONCBRP3.m@ 1036

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

initial load of WorldVistAEHR

File size: 2.3 KB
RevLine 
[613]1ONCBRP3 ;HINES CIOFO/GWB - 1998 Breast Cancer Study - Table III ;6/1/98
2 ;;2.11;ONCOLOGY;**18**;Mar 07, 1995
3 K TABLE,HTABLE
4 S TABLE("35. (M) DNA INDEX/PLOIDY")="DIP"
5 S TABLE("36. ESTROGEN RECEPTOR PROTEIN")="ERP"
6 S TABLE("37. PROGESTERONE RECEPTOR PROTEIN")="PRP"
7 S TABLE("38. (M) ANDROGEN RECEPTOR PROTEIN")="ARP"
8 S TABLE("39. TYPE OF TEST")="TT"
9 S HTABLE(1)="35. (M) DNA INDEX/PLOIDY"
10 S HTABLE(2)="36. ESTROGEN RECEPTOR PROTEIN"
11 S HTABLE(3)="37. PROGESTERONE RECEPTOR PROTEIN"
12 S HTABLE(4)="38. (M) ANDROGEN RECEPTOR PROTEIN"
13 S HTABLE(5)="39. TYPE OF TEST"
14 S CHOICES=5
15 K DIQ S DIC="^ONCO(165.5,",DR="25.1;25.2",DA=ONCONUM,DIQ="ONC"
16 S DIQ(0)="IE" D EN^DIQ1
17 S DIE="^ONCO(165.5,",DA=ONCONUM
18 W @IOF D HEAD^ONCBRP0
19 W !," TABLE III - TUMOR MARKERS AND PROGNOSTIC TESTS"
20 W !," ----------------------------------------------"
21DIP I $$GET1^DIQ(160,ONCOPA,10,"I")=2 D G ERP
22 .S $P(^ONCO(165.5,ONCONUM,"BRE1"),U,38)=""
23 .W !," 35. (M) DNA INDEX/PLOIDY.........: (Data Item for Males Only)"
24 S DR="937 35. (M) DNA INDEX PLOIDY........." D ^DIE G:$D(Y) JUMP
25ERP W !," 36. ESTROGEN RECEPTOR PROTEIN....: ",ONC(165.5,ONCONUM,25.1,"E")
26PRP W !," 37. PROGESTERONE RECEPTOR PROTEIN: ",ONC(165.5,ONCONUM,25.2,"E")
27ARP I $$GET1^DIQ(160,ONCOPA,10,"I")=2 D G TT
28 .S $P(^ONCO(165.5,ONCONUM,"BRE1"),U,41)=""
29 .W !," 38. (M) ANDROGEN RECEPTOR PROTEIN: (Data Item for Males Only)"
30 S DR="940 38. (M) ANDROGEN RECEPTOR PROTEIN" D ^DIE G:$D(Y) JUMP
31TT S ERA=$P($G(^ONCO(165.5,ONCONUM,"BRE1")),U,39)
32 S PRA=$P($G(^ONCO(165.5,ONCONUM,"BRE1")),U,40)
33 I ERA=0,PRA=0 D G PRTC
34 .S $P(^ONCO(165.5,ONCONUM,"BRE1"),U,42)=0
35 .W !," 39. TYPE OF TEST.................: Neither ERA nor PRA was done"
36 I ERA=9,PRA=9 D G PRTC
37 .S $P(^ONCO(165.5,ONCONUM,"BRE1"),U,42)=9
38 .W !," 39. TYPE OF TEST.................: Unknown if ERA/PRA was done"
39 S DR="941 39. TYPE OF TEST................." D ^DIE G:$D(Y) JUMP
40PRTC W ! K DIR S DIR(0)="E" D ^DIR S:$D(DIRUT) OUT="Y"
41 G EXIT
42JUMP ;Jump to prompts
43 S XX="" R !!," GO TO ITEM NUMBER: ",X:DTIME I (X="")!(X[U) S OUT="Y" G EXIT
44 I X["?" D G JUMP
45 .W !," CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
46 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
47 .W !," CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
48 S X=TABLE(X)
49 G @X
50EXIT K CHOICES,HTABLE,TABLE
51 K DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
52 Q
Note: See TracBrowser for help on using the repository browser.