source: WorldVistAEHR/trunk/r/ONCOLOGY-ONC/ONCBPC2.m@ 1361

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

initial load of WorldVistAEHR

File size: 3.3 KB
RevLine 
[613]1ONCBPC2 ;HIRMFO/GWB - PCE Study of Cancers of the Urinary Bladder Table II;6/19/96
2 ;;2.11;ONCOLOGY;**6**;Mar 07, 1995
3 K TABLE,HTABLE
4 S TABLE("CLINICAL DETECTION")="CLI"
5 S TABLE("ONSET OF SYMPTOMS")="ONS"
6 S TABLE("DURATION OF SYMPTOMS BEFORE DIAGNOSIS")="DUR"
7 S TABLE("DIAGNOSTIC PROCEDURES")="DIA"
8 S TABLE("DATE OF INITIAL DIAGNOSIS")="DAT"
9 S TABLE("SPECIALTY MAKING DIAGNOSIS")="SPE"
10 S TABLE("PRIMARY SITE (ICD-O-2)")="PRI"
11 S TABLE("HISTOLOGY (ICD-O-2)")="HIS"
12 S TABLE("GRADE")="GRA"
13 S HTABLE(1)="CLINICAL DETECTION"
14 S HTABLE(2)="ONSET OF SYMPTOMS"
15 S HTABLE(3)="DURATION OF SYMPTOMS BEFORE DIAGNOSIS"
16 S HTABLE(4)="DIAGNOSTIC PROCEDURES"
17 S HTABLE(5)="DATE OF INITIAL DIAGNOSIS"
18 S HTABLE(6)="SPECIALTY MAKING DIAGNOSIS"
19 S HTABLE(7)="PRIMARY SITE (ICD-O-2)"
20 S HTABLE(8)="HISTOLOGY (ICD-O-2)"
21 S HTABLE(9)="GRADE"
22 S CHOICES=9
23 S PRINODE0=^ONCO(165.5,ONCONUM,0)
24 S PRINODE2=$G(^ONCO(165.5,ONCONUM,2))
25 S DATEDIA=$P(PRINODE0,U,16),Y=DATEDIA D DATEOT^ONCOPCE S DATEDIA=Y
26 S TOPOG=$P(PRINODE2,U,1),(TOPCD,SITE)=""
27 I TOPOG'="" S TOPCD=$P(^ONCO(164,TOPOG,0),U,2),SITE=$P(^ONCO(164,TOPOG,0),U,1)
28 S HST=$P(PRINODE2,U,3),(HSTCD,HSTNAM)=""
29 I HST'="" S HSTCD=$P(^ONCO(164.1,HST,0),U,2),HSTNAM=$P(^ONCO(164.1,HST,0),U,1)
30 W @IOF D HEAD^ONCBPC0 W !?24,"TABLE II- DIAGNOSTIC INFORMATION",!
31CLI W !,"CLINICAL DETECTION:",!
32 S DIE="^ONCO(165.5,",DA=ONCONUM
33 S DR="317 GROSS HEMATURIA................" D ^DIE G:$D(Y) JUMP
34 S DR="318 MICROSCOPIC HEMATURIA.........." D ^DIE G:$D(Y) JUMP
35 S DR="319 URINARY FREQUENCY.............." D ^DIE G:$D(Y) JUMP
36 S DR="320 BLADDER IRRITABILITY..........." D ^DIE G:$D(Y) JUMP
37 S DR="321 DYSURIA........................" D ^DIE G:$D(Y) JUMP
38 S DR="322 OTHER.........................." D ^DIE G:$D(Y) JUMP
39 W !
40ONS S DR="323ONSET OF SYMPTOMS................" D ^DIE G:$D(Y) JUMP
41DUR W !!,"DURATION OF SYMPTOMS (months) BEFORE DIAGNOSIS:",!
42 S DR="324 GROSS HEMATURIA................" D ^DIE G:$D(Y) JUMP
43 S DR="325 DYSURIA........................" D ^DIE G:$D(Y) JUMP
44DIA W !!,"DIAGNOSTIC PROCEDURES:",!
45 S DR="326 BIMANUAL EXAMINATION OF BLADDER" D ^DIE G:$D(Y) JUMP
46 S DR="327 CYSTOSCOPY WITH BIOPSY........." D ^DIE G:$D(Y) JUMP
47 S DR="328 CYSTOSCOPY WITHOUT BIOPSY......" D ^DIE G:$D(Y) JUMP
48 S DR="329 FLOW CYTOMETRY................." D ^DIE G:$D(Y) JUMP
49 S DR="330 INTRAVENOUS PYELOGRAM.........." D ^DIE G:$D(Y) JUMP
50 S DR="331 URINE CYTOLOGY................." D ^DIE G:$D(Y) JUMP
51 S DR="332 URINALYSIS....................." D ^DIE G:$D(Y) JUMP
52 S DR="333 OTHER.........................." D ^DIE G:$D(Y) JUMP
53 W !
54DAT W !,"DATE OF INITIAL DIAGNOSIS........: ",DATEDIA
55SPE S DR="334SPECIALTY MAKING DIAGNOSIS......." D ^DIE G:$D(Y) JUMP
56PRI W !,"PRIMARY SITE (ICD-O-2)...........: ",TOPCD," ",SITE
57HIS W !,"HISTOLOGY (ICD-O-2)..............: ",HSTCD," ",HSTNAM
58GRA S DR="24GRADE............................" D ^DIE G:$D(Y) JUMP
59 W ! K DIR S DIR(0)="E" D ^DIR
60 G EXIT
61JUMP ;Jump to prompts
62 S XX="" R !!,"GO TO: ",X:DTIME I (X="")!(X[U) S OUT="Y" G EXIT
63 I X["?" D G JUMP
64 .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
65 I '$D(TABLE(X)) S XX=X,X=$O(TABLE(X)) I ($P(X,XX,1)'="")!(X="") W *7,"??" D G JUMP
66 .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
67 S X=TABLE(X)
68 G @X
69EXIT K HTABLE,TABLE,CHOICES
70 K DATEDIA,HST,HSTCD,HSTNAM,PRINODE0,PRINODE2,TOPOG,TOPCD,SITE
71 K DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
72 Q
Note: See TracBrowser for help on using the repository browser.