source: FOIAVistA/tag/r/ONCOLOGY-ONC/ONCPPC2.m@ 1618

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

initial load of FOIAVistA 6/30/08 version

File size: 2.9 KB
Line 
1ONCPPC2 ;HIRMFO/GWB - PCE Studies of Prostate Cancer - Table II;7/22/96
2 ;;2.11;ONCOLOGY;**6,16**;Mar 07, 1995
3 K TABLE,HTABLE
4 S TABLE("METHOD OF DIAGNOSIS")="MOD"
5 S TABLE("DATE OF INITIAL DIAGNOSIS")="DATEDX"
6 S TABLE("DIAGNOSITC INFORMATION")="DI"
7 S TABLE("HISTOLOGY (ICD-O)")="HIST"
8 S TABLE("DIFFERENTIATION/GRADE")="GRADE"
9 S TABLE("GLEASON'S SCORE")="GS"
10 S HTABLE(1)="METHOD OF DIAGNOSIS"
11 S HTABLE(2)="DATE OF INITIAL DIAGNOSIS"
12 S HTABLE(3)="DIAGNOSTIC INFORMATION"
13 S HTABLE(4)="HISTOLOGY (ICD-O)"
14 S HTABLE(5)="DIFFERENTIATION/GRADE"
15 S HTABLE(6)="GLEASON'S SCORE"
16 S CHOICES=6
17 S DIE="^ONCO(165.5,",DA=ONCONUM
18 W @IOF D HEAD^ONCPPC0 W !?26,"TABLE II - INITIAL DIAGNOSIS",!
19MOD W !,"METHOD OF DIAGNOSIS:",!
20 S DR="600 CLINICAL DX WITH BONE LESION" D ^DIE G:$D(Y) JUMP
21 S DR="601 CLINICAL DX BY RECTAL EXAM.." D ^DIE G:$D(Y) JUMP
22 S DR="602 CYTOLOGY...................." D ^DIE G:$D(Y) JUMP
23 S DR="603 INCIDENTAL FINDING IN TURP.." D ^DIE G:$D(Y) JUMP
24 S DR="604 NEEDLE ASPIRATION BIOPSY...." D ^DIE G:$D(Y) JUMP
25 S DR="605 NEEDLE BIOPSY, NOS.........." D ^DIE G:$D(Y) JUMP
26 S DR="606 PERINEAL BIOPSY............." D ^DIE G:$D(Y) JUMP
27 S DR="607 TRANSRECTAL BIOPSY.........." D ^DIE G:$D(Y) JUMP
28 S DR="608 TRUS GUIDED BIOPSY.........." D ^DIE G:$D(Y) JUMP
29 S DR="609 TRANSURETHRAL RESECTION, NOS" D ^DIE G:$D(Y) JUMP
30 S DR="610 OTHER......................." D ^DIE G:$D(Y) JUMP
31DATEDX S DOID=$E(DATEDX,4,5)_"/"_$E(DATEDX,6,7)_"/"_(1700+$E(DATEDX,1,3))
32 W !!,"DATE OF INITIAL DIAGNOSIS.....: ",DOID
33DI W !!,"DIAGNOSTIC INFORMATION:",!
34 S DR="611 BONE MARROW ASPIRATION......" D ^DIE G:$D(Y) JUMP
35 S DR="612 BONE SCAN..................." D ^DIE G:$D(Y) JUMP
36 S DR="613 BONE X-RAY.................." D ^DIE G:$D(Y) JUMP
37 S DR="614 CHEST X-RAY................." D ^DIE G:$D(Y) JUMP
38 S DR="615 CT SCAN OF PRIMARY SITE....." D ^DIE G:$D(Y) JUMP
39 S DR="616 IVP........................." D ^DIE G:$D(Y) JUMP
40 S DR="617 LIVER SCAN.................." D ^DIE G:$D(Y) JUMP
41 S DR="618 MRI........................." D ^DIE G:$D(Y) JUMP
42 S DR="619 PELVIC LYMPH NODE DISSECTION" D ^DIE G:$D(Y) JUMP
43 S DR="620 PAP........................." D ^DIE G:$D(Y) JUMP
44 S DR="621 PSA........................." D ^DIE G:$D(Y) JUMP
45 S DR="622 OTHER......................." D ^DIE G:$D(Y) JUMP
46 W !
47HIST S DR="22HISTOLOGY (ICD-O)............." D ^DIE G:$D(Y) JUMP
48GRADE S DR="24DIFFERENTIATION/GRADE........." D ^DIE G:$D(Y) JUMP
49GS S DR="623GLEASON'S SCORE..............." D ^DIE G:$D(Y) JUMP
50 W ! K DIR S DIR(0)="E" D ^DIR
51 G EXIT
52JUMP ;Jump to prompts
53 S XX="" R !!,"GO TO: ",X:DTIME I (X="")!(X[U) S OUT="Y" G EXIT
54 I X["?" D G JUMP
55 .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
56 I '$D(TABLE(X)) S XX=X,X=$O(TABLE(X)) I ($P(X,XX,1)'="")!(X="") W *7,"??" D G JUMP
57 .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
58 S X=TABLE(X)
59 G @X
60EXIT K CHOICES,HTABLE,TABLE
61 K DOID
62 K DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
63 Q
Note: See TracBrowser for help on using the repository browser.