Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: ONCSCHMG

Package: Oncology

Routine: ONCSCHMG


Information

ONCSCHMG ;Hines OIFO/RTK - Grade, Discriminator, Stage Help and Utlts ;06/11/18

Source Information

Source file <ONCSCHMG.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Oncology 4 ^ONCSCHMA  (CCODES,CFORPATH,YPCHECK)^ONCSCHMH  ^ONCSCHMS  CHKAJID^ONCSCHMX  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 6

Package Total Caller Graph
Oncology 6 ONCPCI  ONCPSD  ONCSCHMH  ONCSCHMP  ONCSGA8H  ^ONCO(165.5  

Entry Points

Name Comments DBIA/ICR reference
HLP ;Help for Grade fields
IT ;Input Transform for Grade fields
OT ;Output Transform for Grade fields
DSP ;Displays within Abstract Screens
SDHLP ;Help for Schema Discriminator fields
SDIT ;Input Transform for Schema Discriminator fields
SSDDSP ;
SCMDSP ;Display of Schema Discriminators
AJCCHP ;Help for AJCC TNM fields (Clin, Path, Post Therapy)
WORDWRP ;Code to neatly display long descriptions
AJCCIT ;Input Transform for AJCC TNM fields (Clin, Path, Post Therapy)
PRFX ;set the prefix to "c" or "p" or NULL
SUFFHLP ;Help for Suffix fields
SUFFIT ;Input Transform for Suffix fields
GTAJIEN ;Utility to get AJIEN, AJCC ID, AJCC CHAPTER
GETPARNT ;Utility used to get parent ptr when no T or N or M codes in 165.8
CASE ;Utility for allowing any case in input of TNM fields

External References

Name Field # of Occurrence
^ONCSCHMA HLP+1, IT+1, OT+3, DSP+1, SCMDSP+1, GTAJIEN+2
CCODES^ONCSCHMH AJCCIT+15
CFORPATH^ONCSCHMH AJCCHP+16
YPCHECK^ONCSCHMH AJCCHP+17, AJCCIT+16
^ONCSCHMS SDHLP+1, SDIT+1
CHKAJID^ONCSCHMX GTAJIEN+8

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !?6,"Grade Table: ",$E($P($G(^ONCO(164.44,ONCGRIEN,0)),U,1),7,8)
  • Line Location: HLP+4
Function Call: WRITE
  • Prompt: ?25,"Schema: ",$P($G(^ONCO(164.44,ONCGRIEN,1,ONCSKNM,0)),U,1),"-",$E($P($G(^ONCO(164.44,ONCGRIEN,1,ONCSKNM,0)),U,2),1,40),!
  • Line Location: HLP+5
Function Call: WRITE
  • Prompt: ?6,$P($G(^ONCO(164.44,ONCGRIEN,2,IEN,0)),U,2)
  • Line Location: HLP+8
Function Call: WRITE
  • Prompt: !!
  • Line Location: HLP+10
Function Call: WRITE
  • Prompt: "??"
  • Line Location: IT+7
Function Call: WRITE
  • Prompt: " ",$P($G(^ONCO(164.44,ONCGRIEN,2,ONCTBIEN,0)),U,2)
  • Line Location: IT+8
Function Call: WRITE
  • Prompt: !?5,"Schema ID: ",$P($G(^ONCO(164.47,ONCSDIEN,0)),U,1)
  • Line Location: SDHLP+5
Function Call: WRITE
  • Prompt: ?23,"Schema Name: ",$P($G(^ONCO(164.47,ONCSDIEN,0)),U,2),!
  • Line Location: SDHLP+6
Function Call: WRITE
  • Prompt: !?5,$P($G(^ONCO(164.47,ONCSDIEN,1,IEN,0)),U,3)
  • Line Location: SDHLP+10
Function Call: WRITE
  • Prompt: !?5,$P($G(^ONCO(164.47,ONCSDIEN,1,IEN,0)),U,4)
  • Line Location: SDHLP+11
Function Call: WRITE
  • Prompt: !?1,"<BLANK> Primary Site is NOT C111, Discriminator is not necessary"
  • Line Location: SDHLP+12
Function Call: WRITE
  • Prompt: !!
  • Line Location: SDHLP+13
Function Call: WRITE
  • Prompt: " ",$P($G(^ONCO(164.47,ONCSDIEN,ONCSDND,IEN,0)),U,2)
  • Line Location: SDIT+10
Function Call: WRITE
  • Prompt: !," - - - - - - - - Site Specific Data Items - - - - - - - -"
  • Line Location: SSDDSP+1
Function Call: WRITE
  • Prompt: !!?4,"Schema: ",$P($G(^ONCO(164.44,ONCGRIEN,1,ONCSKNM,0)),U,1),"-",$E($P($G(^ONCO(164.44,ONCGRIEN,1,ONCSKNM,0)),U,2),1,40),!!," - - - - - - - - - - - - - - - - - - - - - - - - - - - - -",!!
  • Line Location: SCMDSP+4
Function Call: WRITE
  • Prompt: !?1,"Chapter: ",$P($G(^ONCO(165.8,ONCAJIEN,0)),U,1)
  • Line Location: AJCCHP+13
Function Call: WRITE
  • Prompt: ?15,"Chapter Name: ",$E($P($G(^ONCO(165.8,ONCAJIEN,0)),U,2),1,51),!
  • Line Location: AJCCHP+14
Function Call: WRITE
  • Prompt: ?29,$E($P($G(^ONCO(165.8,ONCAJIEN,0)),U,2),52,90),!
  • Line Location: AJCCHP+14
Function Call: WRITE
  • Prompt: !!?4,"NO STAGING CODES FOR THIS CHAPTER",!
  • Line Location: AJCCHP+15
Function Call: WRITE
  • Prompt: !,ONCPRFX,ONCCODE
  • Line Location: AJCCHP+21
Function Call: WRITE
  • Prompt: !
  • Condition for execution: FRSTLINE=0
  • Line Location: WORDWRP+5
Function Call: WRITE
  • Prompt: ?9,LINE
  • Line Location: WORDWRP+5
Function Call: WRITE
  • Prompt: !
  • Condition for execution: FRSTLINE=0
  • Line Location: WORDWRP+6
Function Call: WRITE
  • Prompt: ?9,LINE
  • Line Location: WORDWRP+6
Function Call: WRITE
  • Prompt: " Not Applicable"
  • Line Location: AJCCIT+23
Function Call: WRITE
  • Prompt: "??"
  • Line Location: AJCCIT+29
Function Call: WRITE
  • Prompt: " ",$E($P($G(^ONCO(165.8,ONCAJIEN,ONCNODE,ONCTBIEN,1)),U,1),1,60)
  • Line Location: AJCCIT+30
Function Call: WRITE
  • Prompt: !?2,"(s) Select if solitary tumor",!,"(m) Select if multifocal tumor",!
  • Line Location: SUFFHLP+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ONCO(164.44 - [#164.44] HLP+2, HLP+3, HLP+4, HLP+5, HLP+6, HLP+7, HLP+8, HLP+9, IT+2, IT+4
IT+5, IT+7, IT+8, OT+5, OT+6, OT+7, DSP+3, DSP+4, DSP+5, SCMDSP+2
SCMDSP+3, SCMDSP+4, GTAJIEN+5, GTAJIEN+6, GTAJIEN+7
^ONCO(164.47 - [#164.47] SDHLP+4, SDHLP+5, SDHLP+6, SDHLP+7, SDHLP+8, SDHLP+9, SDHLP+10, SDHLP+11, SDIT+4, SDIT+6
SDIT+7, SDIT+9, SDIT+10
^ONCO(165.5 - [#165.5] DSP+1, GTAJIEN+8*
^ONCO(165.8 - [#165.8] AJCCHP+11, AJCCHP+12, AJCCHP+13, AJCCHP+14, AJCCHP+15, AJCCHP+18, AJCCHP+19, AJCCHP+20, AJCCIT+11, AJCCIT+12
AJCCIT+13, AJCCIT+17, AJCCIT+18, AJCCIT+26, AJCCIT+29, AJCCIT+30, GTAJIEN+9, GTAJIEN+10, GETPARNT+3, GETPARNT+4

Label References

Name Line Occurrences
CASE AJCCIT+20
GETPARNT AJCCHP+15, AJCCIT+13
GTAJIEN AJCCHP+4, AJCCIT+5, SUFFHLP+1, SUFFIT+2
PRFX AJCCHP+21, AJCCIT+19
WORDWRP AJCCHP+21

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> D0 DSP+1, GTAJIEN+8
DTIME CASE+8, CASE+13
FRSTLINE WORDWRP+1*, WORDWRP+5*, WORDWRP+6*, WORDWRP+7!
IEN HLP+6~*, HLP+7, HLP+8, HLP+9, IT+4*, IT+5, SDHLP+7~*, SDHLP+8, SDHLP+9, SDHLP+10
SDHLP+11, SDIT+6~*, SDIT+7, SDIT+9~*, SDIT+10, AJCCHP+18~*, AJCCHP+19, AJCCHP+20, AJCCIT+17*, AJCCIT+18
LEN WORDWRP+1*, WORDWRP+4*, WORDWRP+5*, WORDWRP+6*, WORDWRP+7!
LINE WORDWRP+1*, WORDWRP+4*, WORDWRP+5*, WORDWRP+6*, WORDWRP+7!
>> ONCAJCHN GTAJIEN+1*, GTAJIEN+10*
>> ONCAJCHP SUFFHLP+3, SUFFHLP+9, SUFFIT+8, SUFFIT+13, GTAJIEN+1*, GTAJIEN+7*, GTAJIEN+9
>> ONCAJID GTAJIEN+1*, GTAJIEN+7*, GTAJIEN+8
ONCAJIEN AJCCHP+4, AJCCHP+7*, AJCCHP+9*, AJCCHP+11, AJCCHP+12, AJCCHP+13, AJCCHP+14, AJCCHP+15*!, AJCCHP+18, AJCCHP+19
AJCCHP+20, AJCCHP+22!, AJCCIT+5, AJCCIT+7*, AJCCIT+9*, AJCCIT+11, AJCCIT+12, AJCCIT+13*, AJCCIT+17, AJCCIT+18
AJCCIT+26!, AJCCIT+29, AJCCIT+30, AJCCIT+31!, SUFFHLP+1, SUFFIT+2, GTAJIEN+1*, GTAJIEN+7*, GTAJIEN+9*, GTAJIEN+10
GETPARNT+3, CASE+6, CASE+11
ONCAJLK AJCCIT+14*, AJCCIT+21, AJCCIT+22, AJCCIT+23, AJCCIT+24, AJCCIT+25, AJCCIT+31!, CASE+1*, CASE+2*, CASE+5*
CASE+6, CASE+9*, CASE+10*, CASE+11, CASE+14*, CASE+15*, CASE+16*, CASE+17*, CASE+18*, CASE+19*
CASE+20*, CASE+21*, CASE+22*
ONCAJVAL AJCCIT+14*, AJCCIT+19*, AJCCIT+21, AJCCIT+22, AJCCIT+23, AJCCIT+24, AJCCIT+31!
ONCCODE AJCCHP+5*, AJCCHP+20*, AJCCHP+21, AJCCHP+22!, AJCCIT+14*, AJCCIT+18*, AJCCIT+19, PRFX+2, PRFX+4
ONCDES AJCCHP+5*, AJCCHP+19*, AJCCHP+22!, WORDWRP+3, WORDWRP+4
>> ONCDGSX DSP+4
ONCGRIEN HLP+2*, HLP+3, HLP+4, HLP+5, HLP+6, HLP+7, HLP+8, HLP+9, IT+2*, IT+4
IT+5, IT+7, IT+8, OT+4~, OT+5*, OT+6, OT+7, DSP+3*, DSP+4, DSP+5
SCMDSP+2*, SCMDSP+3, SCMDSP+4
ONCGRVAL IT+3*, IT+5*, IT+6, IT+9!
>> ONCNODE AJCCHP+7, AJCCHP+8, AJCCHP+11*, AJCCHP+12*, AJCCHP+15, AJCCHP+18, AJCCHP+19, AJCCHP+20, AJCCIT+7, AJCCIT+8
AJCCIT+11*, AJCCIT+12*, AJCCIT+13, AJCCIT+17, AJCCIT+18, AJCCIT+26, AJCCIT+29, AJCCIT+30, GETPARNT+2, CASE+18
CASE+19
ONCPARNT GETPARNT+2*, GETPARNT+3, GETPARNT+5!
ONCPCHAP GETPARNT+3*, GETPARNT+4, GETPARNT+5!
>> ONCPRFX AJCCHP+21, AJCCIT+19, PRFX+1*, PRFX+5*, PRFX+6*, PRFX+7*
ONCPRIEN AJCCHP+15, AJCCHP+22!, AJCCIT+13, AJCCIT+31!, GETPARNT+1*, GETPARNT+4*
>> ONCSCMA HLP+1, HLP+2, HLP+3, IT+1, IT+2, OT+3, OT+5, DSP+1*, DSP+2, DSP+3
SCMDSP+1, SCMDSP+2, SCMDSP+3, GTAJIEN+2, GTAJIEN+5, GTAJIEN+6
>> ONCSCMDS SDHLP+1, SDHLP+4, SDIT+1, SDIT+4
>> ONCSDIEN SDHLP+4*, SDHLP+5, SDHLP+6, SDHLP+7, SDHLP+8, SDHLP+9, SDHLP+10, SDHLP+11, SDHLP+12, SDIT+4*
SDIT+6, SDIT+7, SDIT+9, SDIT+10
>> ONCSDND SDHLP+2, SDHLP+3, SDHLP+7, SDHLP+8, SDHLP+9, SDHLP+10, SDHLP+11, SDHLP+12, SDIT+2, SDIT+3
SDIT+6, SDIT+7, SDIT+9, SDIT+10
ONCSDVAL SDIT+5*, SDIT+7*, SDIT+8, SDIT+11!
>> ONCSFFX SUFFHLP+2, SUFFHLP+6, SUFFIT+6, SUFFIT+10
>> ONCSFXLK SUFFIT+3*, SUFFIT+4*, SUFFIT+5*, SUFFIT+7, SUFFIT+8, SUFFIT+11, SUFFIT+12, SUFFIT+14, SUFFIT+15
>> ONCSIGH AJCCIT+27*, AJCCIT+29
>> ONCSKNM HLP+3*, HLP+5, SCMDSP+3*, SCMDSP+4
ONCTBIEN IT+7*, IT+8, OT+4~, OT+6*, OT+7, DSP+4*, DSP+5, AJCCIT+26*, AJCCIT+29*, AJCCIT+30
AJCCIT+31!
ONCTMP1 GTAJIEN+5*, GTAJIEN+6, GTAJIEN+7!, GTAJIEN+9!, GTAJIEN+11!
ONCTMP2 GTAJIEN+6*, GTAJIEN+7!, GTAJIEN+9!, GTAJIEN+11!
ONCTNMTP AJCCHP+7, AJCCHP+8, AJCCHP+11, AJCCHP+12, AJCCHP+15!, AJCCHP+16, AJCCHP+22!, AJCCIT+7, AJCCIT+8, AJCCIT+11
AJCCIT+12, AJCCIT+13!, AJCCIT+24!, AJCCIT+26!, AJCCIT+27, AJCCIT+29!, AJCCIT+31!, PRFX+5, PRFX+6, CASE+3
CASE+4
ONCZX CASE+18*!, CASE+19*!
ONCZZZ CASE+8~*, CASE+9, CASE+10, CASE+13~*, CASE+14, CASE+15
PFX CASE+3~*, CASE+4*, CASE+5, CASE+6, CASE+9, CASE+10, CASE+11, CASE+14, CASE+15, CASE+16
CASE+17, CASE+18!, CASE+19!
STOP WORDWRP+1*, WORDWRP+2, WORDWRP+3*, WORDWRP+7!
>> TXT DSP+5*
U HLP+4, HLP+5, HLP+7, HLP+8, HLP+9, IT+5, IT+8, OT+7, DSP+1, DSP+5
SDHLP+5, SDHLP+6, SDHLP+8, SDHLP+9, SDHLP+10, SDHLP+11, SDIT+7, SDIT+10, SCMDSP+4, AJCCHP+13
AJCCHP+14, AJCCHP+19, AJCCHP+20, AJCCIT+18, AJCCIT+30, GTAJIEN+7, GTAJIEN+8, GTAJIEN+10, GETPARNT+3
WORD WORDWRP+3*, WORDWRP+4, WORDWRP+6, WORDWRP+7!
WRDCNT WORDWRP+1*, WORDWRP+2*, WORDWRP+3, WORDWRP+4, WORDWRP+5*, WORDWRP+6*, WORDWRP+7!
X IT+6!, IT+7, SDIT+8!, SDIT+9, AJCCIT+4*, AJCCIT+14, AJCCIT+21*, AJCCIT+22*, AJCCIT+23*, AJCCIT+24!
AJCCIT+25*, AJCCIT+26, AJCCIT+27, SUFFIT+1*, SUFFIT+3, SUFFIT+7*, SUFFIT+8*, SUFFIT+9!, SUFFIT+11*, SUFFIT+12*
SUFFIT+14*, SUFFIT+15*, SUFFIT+16!, CASE+1
>> Y OT+2, OT+6, OT+7*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All