source: WorldVistAEHR/trunk/r/ONCOLOGY-ONC/ONCIPC2.m@ 949

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

initial load of WorldVistAEHR

File size: 6.8 KB
RevLine 
[613]1ONCIPC2 ;Hines OIFO/GWB - Primary Intracranial/CNS Tumors PCE Study ;01/18/00
2 ;;2.11;ONCOLOGY;**26**;Mar 07, 1995
3 ;Tumor Identification
4 K TABLE,HTABLE
5 S TABLE("17. CLASS OF CASE")="CC^ONCIPC2"
6 S TABLE("18. SYMPTOMS")="SYM^ONCIPC2"
7 S TABLE("19. NEUROLOGICAL FINDINGS")="NF^ONCIPC2"
8 S TABLE("20. PRE-THERAPY DIAGNOSTIC STUDIES")="PTDS^ONCIPC2A"
9 S TABLE("21. TUMOR LOCATION/INVOLVEMENT")="TLI^ONCIPC2A"
10 S TABLE("22. SIDE")="SIDE^ONCIPC2A"
11 S TABLE("23. NUMBER OF TUMORS")="NT^ONCIPC2A"
12 S TABLE("24. DATE OF FIRST SYMPTOMS")="DFS^ONCIPC2A"
13 S TABLE("25. DATE OF INITIAL DIAGNOSIS")="DID^ONCIPC2A"
14 S TABLE("26. DATE OF PATHOLOGIC DIAGNOSIS")="DPD^ONCIPC2A"
15 S TABLE("27. PRIMARY SITE (ICD-O-2)")="PS^ONCIPC2A"
16 S TABLE("28. WHO HISTOLOGICAL CLASSIFICATION OF TUMOR")="WHCT^ONCIPC2A"
17 S TABLE("29. BEHAVIOR CODE (ICD-O-2)")="BC^ONCIPC2A"
18 S TABLE("30. GRADE")="GRADE^ONCIPC2A"
19 S TABLE("31. DIAGNOSTIC CONFIRMATION")="DC^ONCIPC2A"
20 S TABLE("32. MOLECULAR MARKERS")="MM^ONCIPC2A"
21 S TABLE("33. TUMOR SIZE")="TS^ONCIPC2A"
22 S TABLE("34. TUMOR SIZE (SOURCE")="TSS^ONCIPC2A"
23 S TABLE("35. KARNOFSKY'S RATING PRIOR TO THERAPY")="KRPT^ONCIPC2A"
24 S HTABLE(1)="17. CLASS OF CASE"
25 S HTABLE(2)="18. SYMPTOMS"
26 S HTABLE(3)="19. NEUROLOGICAL FINDINGS"
27 S HTABLE(4)="20. PRE-THERAPY DIAGNOSTIC STUDIES"
28 S HTABLE(5)="21. TUMOR LOCATION/INVOLVEMENT"
29 S HTABLE(6)="22. SIDE"
30 S HTABLE(7)="23. NUMBER OF TUMORS"
31 S HTABLE(8)="24. DATE OF FIRST SYMPTOMS"
32 S HTABLE(9)="25. DATE OF INITIAL DIAGNOSIS"
33 S HTABLE(10)="26. DATE OF PATHOLOGIC DIAGNOSIS"
34 S HTABLE(11)="27. PRIMARY SITE (ICD-O-2)"
35 S HTABLE(12)="28. WHO HISTOLOGICAL CLASSIFICATION OF TUMOR"
36 S HTABLE(13)="29. BEHAVIOR CODE (ICD-O-2)"
37 S HTABLE(14)="30. GRADE"
38 S HTABLE(15)="31. DIAGNOSTIC CONFIRMATION"
39 S HTABLE(16)="32. MOLECULAR MARKERS"
40 S HTABLE(17)="33. TUMOR SIZE"
41 S HTABLE(18)="34. TUMOR SIZE (SOURCE)"
42 S HTABLE(19)="35. KARNOFSKY'S RATING PRIOR TO THERAPY"
43 S CHOICES=19
44 S IE=ONCONUM
45 S DIE="^ONCO(165.5,",DA=ONCONUM
46 W @IOF D HEAD^ONCIPC0
47 W !," TUMOR IDENTIFICATION"
48 W !," --------------------"
49CC W !," 17. CLASS OF CASE.................: ",$$GET1^DIQ(165.5,IE,.04)
50 W !
51SYM W !," 18. SYMPTOMS:"
52 S DR="1220 HEADACHE....................." D ^DIE G:$D(Y) JUMP
53 S DR="1221 NAUSEA/VOMITING.............." D ^DIE G:$D(Y) JUMP
54 S DR="1222 CHANGE IN SENSE OF SMELL AND/ OR TASTE...................." D ^DIE G:$D(Y) JUMP
55 S DR="1223 ALTERED ALERTNESS............" D ^DIE G:$D(Y) JUMP
56 S DR="1224 FATIGUE......................" D ^DIE G:$D(Y) JUMP
57 S DR="1225 SPEECH DISTURBANCE..........." D ^DIE G:$D(Y) JUMP
58 S DR="1226 PERSONALITY CHANGES.........." D ^DIE G:$D(Y) JUMP
59 S DR="1227 DEPRESSION..................." D ^DIE G:$D(Y) JUMP
60 S DR="1228 MEMORY LOSS.................." D ^DIE G:$D(Y) JUMP
61 S DR="1229 LACK OF CONCENTRATION........" D ^DIE G:$D(Y) JUMP
62 S DR="1230 DOUBLE VISION................" D ^DIE G:$D(Y) JUMP
63 S DR="1231 OTHER VISUAL DISTURBANCE....." D ^DIE G:$D(Y) JUMP
64 S DR="1232 DECREASED HEARING............" D ^DIE G:$D(Y) JUMP
65 S DR="1233 VERTIGO......................" D ^DIE G:$D(Y) JUMP
66 S DR="1234 TINNITUS....................." D ^DIE G:$D(Y) JUMP
67 S DR="1235 NUMBNESS/TINGLING............" D ^DIE G:$D(Y) JUMP
68 S DR="1236 WEAKNESS OR PARALYSIS........" D ^DIE G:$D(Y) JUMP
69 S DR="1237 DIFFICULTY IN COORDINATION/ BALANCE....................." D ^DIE G:$D(Y) JUMP
70 S DR="1238 GENERALIZED SEIZURE.........." D ^DIE G:$D(Y) JUMP
71 S DR="1239 FOOD SEIZURE................." D ^DIE G:$D(Y) JUMP
72 S DR="1240 BLADDER INCONTINENCE........." D ^DIE G:$D(Y) JUMP
73 S DR="1241 BOWEL INCONTINENCE..........." D ^DIE G:$D(Y) JUMP
74 S DR="1242 PAIN (OTHER THAN HEADACHE)..." D ^DIE G:$D(Y) JUMP
75 S DR="1243 WEIGHT CHANGE................" D ^DIE G:$D(Y) JUMP
76 S DR="1244 OTHER........................" D ^DIE G:$D(Y) JUMP
77 W !
78NF W !," 19. NEUROLOGICAL FINDINGS:"
79 S DR="1245 ALERTNESS...................." D ^DIE G:$D(Y) JUMP
80 S DR="1246 SPEECH......................." D ^DIE G:$D(Y) JUMP
81 S DR="1247 PERSONALITY.................." D ^DIE G:$D(Y) JUMP
82 S DR="1248 MEMORY OR JUDGEMENT.........." D ^DIE G:$D(Y) JUMP
83 S DR="1249 VISUAL ACUITY................" D ^DIE G:$D(Y) JUMP
84 S DR="1250 VISUAL FIELDS................" D ^DIE G:$D(Y) JUMP
85 S DR="1251 EYE MOVEMENTS (EOM).........." D ^DIE G:$D(Y) JUMP
86 S DR="1252 FACIAL SENSATION............." D ^DIE G:$D(Y) JUMP
87 S DR="1253 FACIAL MOVEMENT.............." D ^DIE G:$D(Y) JUMP
88 S DR="1254 HEARING......................" D ^DIE G:$D(Y) JUMP
89 S DR="1255 GAG REFLEX..................." D ^DIE G:$D(Y) JUMP
90 S DR="1256 STERNOCLEIDOMASTOID/SHOULDER SHRUG STRENGTH.............." D ^DIE G:$D(Y) JUMP
91 S DR="1257 ARTICULATION OR ENUNCIATION.." D ^DIE G:$D(Y) JUMP
92 S DR="1258 PAPILLEDEMA.................." D ^DIE G:$D(Y) JUMP
93 S DR="1259 TONGUE FASCICULATIONS OR ATROPHY....................." D ^DIE G:$D(Y) JUMP
94 S DR="1260 DECREASE IN SENSATION OF ANY SITE........................" D ^DIE G:$D(Y) JUMP
95 S DR="1261 CORTICAL SENSORY DEFICIT....." D ^DIE G:$D(Y) JUMP
96 S DR="1262 WEAKNESS, ATROPHY OR FASCICULATION OF ANY SITE................." D ^DIE G:$D(Y) JUMP
97 S DR="1263 ATAXIA OF GAIT..............." D ^DIE G:$D(Y) JUMP
98 S DR="1264 TRUNCAL ATAXIA..............." D ^DIE G:$D(Y) JUMP
99 S DR="1265 DYSMETRIA...................." D ^DIE G:$D(Y) JUMP
100 S DR="1266 RAPID ALTERNATING MOVEMENTS.." D ^DIE G:$D(Y) JUMP
101 S DR="1267 FINGER TO FINGER NOSE TESTING" D ^DIE G:$D(Y) JUMP
102 S DR="1268 HEEL TO KNEE TO SHIN TESTING." D ^DIE G:$D(Y) JUMP
103 S DR="1269 DEEP TENDON REFLEXES IN UPPER EXTREMITIES................." D ^DIE G:$D(Y) JUMP
104 S DR="1270 DEEP TENDON REFLEXES IN LOWER EXTREMITIES................." D ^DIE G:$D(Y) JUMP
105 S DR="1271 BABINSKI SIGN................" D ^DIE G:$D(Y) JUMP
106 S DR="1272 HOFFMAN REFLEX..............." D ^DIE G:$D(Y) JUMP
107 S DR="1273 OTHER ABNORMAL REFLEXES......" D ^DIE G:$D(Y) JUMP
108 W !
109 G ^ONCIPC2A
110JUMP ;Jump to prompts
111 S XX="" R !!," GO TO ITEM NUMBER: ",X:DTIME
112 I (X="")!(X[U) S OUT="Y" G EXIT
113 I X["?" D G JUMP
114 .W !," CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
115 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
116 .W !," CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
117 S X=TABLE(X)
118 G @X
119EXIT K CHOICES,HTABLE,IE,TABLE
120 K DID,DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
121 Q
Note: See TracBrowser for help on using the repository browser.