source: FOIAVistA/tag/r/ONCOLOGY-ONC/ONCSPC2.m@ 1227

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

initial load of FOIAVistA 6/30/08 version

File size: 3.8 KB
Line 
1ONCSPC2 ;HIRMFO/GWB - PCE Study of Soft Tissue Sarcoma Table II;6/19/96
2 ;;2.11;ONCOLOGY;**6**;Mar 07, 1995
3 K TABLE,HTABLE
4 S TABLE("CLASS OF CASE")="COC"
5 S TABLE("DIAGNOSTIC WORKUP")="DW"
6 S TABLE("HISTOLOGIC WORKUP")="HW"
7 S TABLE("BIOPSIES")="B"
8 S TABLE("OUTSIDE CONFIRMATION OF BIOPSY")="OCOB"
9 S TABLE("DATE OF INITIAL DIAGNOSIS")="DOID"
10 S TABLE("PRIMARY SITE")="PS"
11 S TABLE("SUBSITE")="S"
12 S TABLE("HISTOLOGY/BEHAVIOR CODE")="H"
13 S TABLE("GRADE")="G"
14 S TABLE("ADDNL GRADE CODING SYSTEM")="AGCS"
15 S TABLE("VALUE OF ADDNL CODING SYSTEM")="VOACS"
16 S TABLE("DIAGNOSTIC CONFIRMATION")="DC"
17 S HTABLE(1)="CLASS OF CASE"
18 S HTABLE(2)="DIAGNOSTIC WORKUP"
19 S HTABLE(3)="HISTOLOGIC WORKUP"
20 S HTABLE(4)="BIOPSIES"
21 S HTABLE(5)="OUTSIDE CONFIRMATION OF BIOPSY"
22 S HTABLE(6)="DATE OF INITIAL DIAGNOSIS"
23 S HTABLE(7)="PRIMARY SITE"
24 S HTABLE(8)="SUBSITE"
25 S HTABLE(9)="HISTOLOGY/BEHAVIOR CODE"
26 S HTABLE(10)="GRADE"
27 S HTABLE(11)="ADDNL GRADE CODING SYSTEM"
28 S HTABLE(12)="VALUE OF ADDNL CODING SYSTEM"
29 S HTABLE(13)="DIAGNOSTIC CONFIRMATION"
30 S CHOICES=13
31 K DIQ S DIC="^ONCO(165.5,",DR=".04;22;24;26",DA=ONCONUM,DIQ="ONC"
32 D EN^DIQ1
33 S Y=$P(^ONCO(165.5,ONCONUM,0),U,16) D DATEOT^ONCOPCE S DOID=Y
34 W @IOF D HEAD^ONCSPC0
35 W !?24,"TABLE II- INITIAL DIAGNOSIS/CANCER IDENTIFICATION",!
36 S DIE="^ONCO(165.5,",DA=ONCONUM
37COC W !,"CLASS OF CLASS................:",ONC(165.5,ONCONUM,.04)
38DW W !!,"DIAGNOSTIC WORKUP:",!
39 S DR="502 ANGIOGRAM OF PRIMARY........" D ^DIE G:$D(Y) JUMP
40 S DR="503 BONE MARROW ASPIRATE/BIOPSY." D ^DIE G:$D(Y) JUMP
41 S DR="504 BONE SCAN..................." D ^DIE G:$D(Y) JUMP
42 S DR="505 CHEST X-RAY................." D ^DIE G:$D(Y) JUMP
43 S DR="506 CT SCAN OF CHEST............" D ^DIE G:$D(Y) JUMP
44 S DR="507 CT SCAN OF PRIMARY.........." D ^DIE G:$D(Y) JUMP
45 S DR="508 LIVER FUNCTION STUDIES......" D ^DIE G:$D(Y) JUMP
46 S DR="509 LYMPHANGIOGRAM.............." D ^DIE G:$D(Y) JUMP
47 S DR="510 MRI OF PRIMARY.............." D ^DIE G:$D(Y) JUMP
48 S DR="511 MRI OF OTHER................" D ^DIE G:$D(Y) JUMP
49 S DR="512 SKELETAL X-RAY.............." D ^DIE G:$D(Y) JUMP
50 S DR="513 SONOGRAM...................." D ^DIE G:$D(Y) JUMP
51HW W !!,"HISTOLOGIC WORKUP:",!
52 S DR="514 CYTOGENETICS................" D ^DIE G:$D(Y) JUMP
53 S DR="515 ELECTRON MICROSCOPY........." D ^DIE G:$D(Y) JUMP
54 S DR="329 FLOW CYTOMETRY.............." D ^DIE G:$D(Y) JUMP
55 S DR="516 IMMUNOHISTOCHEMISTRY........" D ^DIE G:$D(Y) JUMP
56 S DR="517 IN SITU HYBRIDIZATION......." D ^DIE G:$D(Y) JUMP
57B W !!,"BIOPSIES:",!
58 W !," TYPE HISTOLOGY/BEHAVIOR/GRADE",!
59 S DR="528 FINE NEEDLE ASPIRATION......" D ^DIE G:$D(Y) JUMP
60 S DR="529 CORE NEEDLE BIOPSY.........." D ^DIE G:$D(Y) JUMP
61 S DR="530 INCISIONAL BIOPSY..........." D ^DIE G:$D(Y) JUMP
62 S DR="531 EXCISIONAL BIOPSY..........." D ^DIE G:$D(Y) JUMP
63 W !
64OCOB S DR="518OUTSIDE CONFIRMATION OF BIOPSY" D ^DIE G:$D(Y) JUMP
65DOID W !,"DATE OF INITIAL DIAGNOSIS.....: ",DOID
66PS W !,"PRIMARY SITE..................: ",TOPCOD
67S S DR="519SUBSITE" D ^DIE G:$D(Y) JUMP
68H W !,"HISTOLOGY/BEHAVIOR CODE.......: ",ONC(165.5,ONCONUM,22)
69G S DR="24GRADE........................." D ^DIE G:$D(Y) JUMP
70AGCS S DR="520ADDNL GRADE CODING SYSTEM....." D ^DIE G:$D(Y) JUMP
71VOACS S DR="521VALUE OF ADDNL CODING SYSTEM.." D ^DIE G:$D(Y) JUMP
72DC S DR="26DIAGNOSTIC CONFIRMATION......." D ^DIE G:$D(Y) JUMP
73 W ! K DIR S DIR(0)="E" D ^DIR
74 G EXIT
75JUMP ;Jump to prompts
76 S XX="" R !!,"GO TO: ",X:DTIME I (X="")!(X[U) S OUT="Y" G EXIT
77 I X["?" D G JUMP
78 .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
79 I '$D(TABLE(X)) S XX=X,X=$O(TABLE(X)) I ($P(X,XX,1)'="")!(X="") W *7,"??" D G JUMP
80 .W !,"CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
81 S X=TABLE(X)
82 G @X
83EXIT K HTABLE,TABLE,CHOICES
84 K DOID,HST,HSTCD,HSTNAM,PRINODE0,PRINODE2,TOPOG,TOPCD,SITE
85 K DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
86 Q
Note: See TracBrowser for help on using the repository browser.