Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: ONCIPC2

ONCIPC2.m

Go to the documentation of this file.
ONCIPC2 ;Hines OIFO/GWB - Primary Intracranial/CNS Tumors PCE Study ;01/18/00
 ;;2.2;ONCOLOGY;**1**;Jul 31, 2013;Build 8
 ;Tumor Identification
 K TABLE,HTABLE
 S TABLE("17. CLASS OF CASE")="CC^ONCIPC2"
 S TABLE("18. SYMPTOMS")="SYM^ONCIPC2"
 S TABLE("19. NEUROLOGICAL FINDINGS")="NF^ONCIPC2"
 S TABLE("20. PRE-THERAPY DIAGNOSTIC STUDIES")="PTDS^ONCIPC2A"
 S TABLE("21. TUMOR LOCATION/INVOLVEMENT")="TLI^ONCIPC2A"
 S TABLE("22. SIDE")="SIDE^ONCIPC2A"
 S TABLE("23. NUMBER OF TUMORS")="NT^ONCIPC2A"
 S TABLE("24. DATE OF FIRST SYMPTOMS")="DFS^ONCIPC2A"
 S TABLE("25. DATE OF INITIAL DIAGNOSIS")="DID^ONCIPC2A"
 S TABLE("26. DATE OF PATHOLOGIC DIAGNOSIS")="DPD^ONCIPC2A"
 S TABLE("27. PRIMARY SITE (ICD-O-2)")="PS^ONCIPC2A"
 S TABLE("28. WHO HISTOLOGICAL CLASSIFICATION OF TUMOR")="WHCT^ONCIPC2A"
 S TABLE("29. BEHAVIOR CODE (ICD-O-2)")="BC^ONCIPC2A"
 S TABLE("30. GRADE")="GRADE^ONCIPC2A"
 S TABLE("31. DIAGNOSTIC CONFIRMATION")="DC^ONCIPC2A"
 S TABLE("32. MOLECULAR MARKERS")="MM^ONCIPC2A"
 S TABLE("33. TUMOR SIZE")="TS^ONCIPC2A"
 S TABLE("34. TUMOR SIZE (SOURCE")="TSS^ONCIPC2A"
 S TABLE("35. KARNOFSKY'S RATING PRIOR TO THERAPY")="KRPT^ONCIPC2A"
 S HTABLE(1)="17. CLASS OF CASE"
 S HTABLE(2)="18. SYMPTOMS"
 S HTABLE(3)="19. NEUROLOGICAL FINDINGS"
 S HTABLE(4)="20. PRE-THERAPY DIAGNOSTIC STUDIES"
 S HTABLE(5)="21. TUMOR LOCATION/INVOLVEMENT"
 S HTABLE(6)="22. SIDE"
 S HTABLE(7)="23. NUMBER OF TUMORS"
 S HTABLE(8)="24. DATE OF FIRST SYMPTOMS"
 S HTABLE(9)="25. DATE OF INITIAL DIAGNOSIS"
 S HTABLE(10)="26. DATE OF PATHOLOGIC DIAGNOSIS"
 S HTABLE(11)="27. PRIMARY SITE (ICD-O-2)"
 S HTABLE(12)="28. WHO HISTOLOGICAL CLASSIFICATION OF TUMOR"
 S HTABLE(13)="29. BEHAVIOR CODE (ICD-O-2)"
 S HTABLE(14)="30. GRADE"
 S HTABLE(15)="31. DIAGNOSTIC CONFIRMATION"
 S HTABLE(16)="32. MOLECULAR MARKERS"
 S HTABLE(17)="33. TUMOR SIZE"
 S HTABLE(18)="34. TUMOR SIZE (SOURCE)"
 S HTABLE(19)="35. KARNOFSKY'S RATING PRIOR TO THERAPY"
 S CHOICES=19
 S IE=ONCONUM
 S DIE="^ONCO(165.5,",DA=ONCONUM
 W @IOF D HEAD^ONCIPC0
 W !," TUMOR IDENTIFICATION"
 W !," --------------------"
CC W !," 17. CLASS OF CASE.................: ",$$GET1^DIQ(165.5,IE,.04)
 W !
SYM W !," 18. SYMPTOMS:"
 S DR="1220      HEADACHE....................." D ^DIE G:$D(Y) JUMP
 S DR="1221      NAUSEA/VOMITING.............." D ^DIE G:$D(Y) JUMP
 S DR="1222      CHANGE IN SENSE OF SMELL AND/                                                    OR TASTE...................." D ^DIE G:$D(Y) JUMP
 S DR="1223      ALTERED ALERTNESS............" D ^DIE G:$D(Y) JUMP
 S DR="1224      FATIGUE......................" D ^DIE G:$D(Y) JUMP
 S DR="1225      SPEECH DISTURBANCE..........." D ^DIE G:$D(Y) JUMP
 S DR="1226      PERSONALITY CHANGES.........." D ^DIE G:$D(Y) JUMP
 S DR="1227      DEPRESSION..................." D ^DIE G:$D(Y) JUMP
 S DR="1228      MEMORY LOSS.................." D ^DIE G:$D(Y) JUMP
 S DR="1229      LACK OF CONCENTRATION........" D ^DIE G:$D(Y) JUMP
 S DR="1230      DOUBLE VISION................" D ^DIE G:$D(Y) JUMP
 S DR="1231      OTHER VISUAL DISTURBANCE....." D ^DIE G:$D(Y) JUMP
 S DR="1232      DECREASED HEARING............" D ^DIE G:$D(Y) JUMP
 S DR="1233      VERTIGO......................" D ^DIE G:$D(Y) JUMP
 S DR="1234      TINNITUS....................." D ^DIE G:$D(Y) JUMP
 S DR="1235      NUMBNESS/TINGLING............" D ^DIE G:$D(Y) JUMP
 S DR="1236      WEAKNESS OR PARALYSIS........" D ^DIE G:$D(Y) JUMP
 S DR="1237      DIFFICULTY IN COORDINATION/                                                      BALANCE....................." D ^DIE G:$D(Y) JUMP
 S DR="1238      GENERALIZED SEIZURE.........." D ^DIE G:$D(Y) JUMP
 S DR="1239      FOOD SEIZURE................." D ^DIE G:$D(Y) JUMP
 S DR="1240      BLADDER INCONTINENCE........." D ^DIE G:$D(Y) JUMP
 S DR="1241      BOWEL INCONTINENCE..........." D ^DIE G:$D(Y) JUMP
 S DR="1242      PAIN (OTHER THAN HEADACHE)..." D ^DIE G:$D(Y) JUMP
 S DR="1243      WEIGHT CHANGE................" D ^DIE G:$D(Y) JUMP
 S DR="1244      OTHER........................" D ^DIE G:$D(Y) JUMP
 W !
NF W !," 19. NEUROLOGICAL FINDINGS:"
 S DR="1245      ALERTNESS...................." D ^DIE G:$D(Y) JUMP
 S DR="1246      SPEECH......................." D ^DIE G:$D(Y) JUMP
 S DR="1247      PERSONALITY.................." D ^DIE G:$D(Y) JUMP
 S DR="1248      MEMORY OR JUDGEMENT.........." D ^DIE G:$D(Y) JUMP
 S DR="1249      VISUAL ACUITY................" D ^DIE G:$D(Y) JUMP
 S DR="1250      VISUAL FIELDS................" D ^DIE G:$D(Y) JUMP
 S DR="1251      EYE MOVEMENTS (EOM).........." D ^DIE G:$D(Y) JUMP
 S DR="1252      FACIAL SENSATION............." D ^DIE G:$D(Y) JUMP
 S DR="1253      FACIAL MOVEMENT.............." D ^DIE G:$D(Y) JUMP
 S DR="1254      HEARING......................" D ^DIE G:$D(Y) JUMP
 S DR="1255      GAG REFLEX..................." D ^DIE G:$D(Y) JUMP
 S DR="1256      STERNOCLEIDOMASTOID/SHOULDER                                                     SHRUG STRENGTH.............." D ^DIE G:$D(Y) JUMP
 S DR="1257      ARTICULATION OR ENUNCIATION.." D ^DIE G:$D(Y) JUMP
 S DR="1258      PAPILLEDEMA.................." D ^DIE G:$D(Y) JUMP
 S DR="1259      TONGUE FASCICULATIONS OR                                                         ATROPHY....................." D ^DIE G:$D(Y) JUMP
 S DR="1260      DECREASE IN SENSATION OF ANY                                                     SITE........................" D ^DIE G:$D(Y) JUMP
 S DR="1261      CORTICAL SENSORY DEFICIT....." D ^DIE G:$D(Y) JUMP
 S DR="1262      WEAKNESS, ATROPHY OR FASCICULATION                                               OF ANY SITE................." D ^DIE G:$D(Y) JUMP
 S DR="1263      ATAXIA OF GAIT..............." D ^DIE G:$D(Y) JUMP
 S DR="1264      TRUNCAL ATAXIA..............." D ^DIE G:$D(Y) JUMP
 S DR="1265      DYSMETRIA...................." D ^DIE G:$D(Y) JUMP
 S DR="1266      RAPID ALTERNATING MOVEMENTS.." D ^DIE G:$D(Y) JUMP
 S DR="1267      FINGER TO FINGER NOSE TESTING" D ^DIE G:$D(Y) JUMP
 S DR="1268      HEEL TO KNEE TO SHIN TESTING." D ^DIE G:$D(Y) JUMP
 S DR="1269      DEEP TENDON REFLEXES IN UPPER                                                    EXTREMITIES................." D ^DIE G:$D(Y) JUMP
 S DR="1270      DEEP TENDON REFLEXES IN LOWER                                                    EXTREMITIES................." D ^DIE G:$D(Y) JUMP
 S DR="1271      BABINSKI SIGN................" D ^DIE G:$D(Y) JUMP
 S DR="1272      HOFFMAN REFLEX..............." D ^DIE G:$D(Y) JUMP
 S DR="1273      OTHER ABNORMAL REFLEXES......" D ^DIE G:$D(Y) JUMP
 W !
 G ^ONCIPC2A
JUMP ;Jump to prompts
 S XX="" R !!," GO TO ITEM NUMBER: ",X:DTIME
 I (X="")!(X[U) S OUT="Y" G EXIT
 I X["?" D  G JUMP
 .W !," CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
 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
 .W !," CHOOSE FROM:" F I=1:1:CHOICES W !,?5,HTABLE(I)
 S X=TABLE(X)
 G @X
EXIT K CHOICES,HTABLE,IE,TABLE
 K DID,DA,DIE,DIR,DIROUT,DIRUT,DR,DTOUT,DUOUT,X,XX,Y
 Q