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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: ONCACDU1

Package: Oncology

Routine: ONCACDU1


Information

ONCACDU1 ;Hines OIFO/GWB - NAACCR extract utilities #1 ;05/08/12

Source Information

Source file <ONCACDU1.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Oncology 4 $$HIST^ONCFUNC  AGE^ONCOCOM  (DATEOT,DOB1)^ONCOES  $$MELANOMA^ONCOU55  
Kernel 1 $$STRIP^XLFSTR  
VA FileMan 1 ($$GET1,GETS)^DIQ  

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 ONCACDU2  ONCCS  ONCCSRS  ONCFUNC  ONCIPC1  ONCIPC8  

Entry Points

Name Comments DBIA/ICR reference
BDATE(ACD160) ;Date of Birth [240] 196-203
BEHAV(IEN) ;Behavior Code (called by extract RULES)
LYMPH(IEN) ;Lymph-Vascular Invasion (1297-1297)
ICD9(ACD160,ONIEN) ;COMOR/COMP 1-10 for ICD9 and Secondary Diagnosis for ICD10
COMO ;ICD10 PHI Code.
DATE(ACDANS) ;Convert date to NAACCR format CCYYMMDD
DTFLAG(ACDANS,ITEM) ;Compute Date Flag
FLAG
CHKFLGS ;CHECK THE DATE FLAG FIELDS IF USER NEEDED TO OVERRIDE VALUE
; if the DATE FLAG field is not NULL use that value to override the
; calculated value from DTFLAG entry point above
ADDDXST(IEN) ;Addr at DX--State [80] 145-146
CHKADDS ;CHECK THE ADDRESS--STATE & COUNTRY FIELDS IF USER NEEDED TO OVERRIDE
; if the ADDRESS--STATE/COUNTRY field is not NULL use that value to
; overwrite the calculated value from the ADDDXST entry point and the
; CSTST,ADDCTRY entry points in ONCACDU2
CNTY(IEN) ;COUNTY AT DX [90] 156-158
QCNTY
AGEDX(IEN) ;Age at Diagnosis [230] 119-121
OCCUP(ACD160) ;Text--Usual Occupation [310] 143-182
IND(ACD160) ;Text--Usual Industry [320] 183-222
TOB(IEN) ;Tobacco History [340] 224-224 VACCR extract only
ALC(IEN) ;Alcohol History [350] 225-225 VACCR extract only
SG(IEN,TYPE) ;TNM Stage Groups
CC ;Comorbid/Complication 1-10
CCEX ;K CC,CCEXSUB,CCSUB,FLD
RXCOD(IEN) ;RX Coding System--Current [1460] 888-889
FHCT ;Family History of Cancer Text 1456-1505 VACCR extract only
PHCT ;Patient History of Cancer Text 1785-1804 VACCR extract only
NL ;Name--Last [2230] 1947-1971

External References

Name Field # of Occurrence
$$GET1^DIQ LYMPH+2, LYMPH+4, LYMPH+5, ICD9+2, ICD9+3, DTFLAG+8, CHKFLGS+8, ADDDXST+2, CHKADDS+7, CNTY+2
, CNTY+4, SG+6, SG+7, PHCT+2, PHCT+4
GETS^DIQ FHCT+1
$$HIST^ONCFUNC BEHAV+2
AGE^ONCOCOM AGEDX+3
DATEOT^ONCOES DATE+4
DOB1^ONCOES BDATE+3
$$MELANOMA^ONCOU55 DTFLAG+13
$$STRIP^XLFSTR NL+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ONCO(160 - [#160] GET1^DIQ,  GETS^DIQ
^ONCO(164.2 - [#164.2] GET1^DIQ
^ONCO(165.5 - [#165.5] GET1^DIQ
^DIC(5 - [#5] GET1^DIQ
^ICD9 - [#80] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ONCO(160 - [#160] OCCUP+3, OCCUP+6, IND+3, IND+6, TOB+2, TOB+6, TOB+7, TOB+8, ALC+2, ALC+6
, ALC+7, ALC+8
^ONCO(165.5 - [#165.5] DTFLAG+11, DTFLAG+12, DTFLAG+14
^TMP($J ICD9+12!, ICD9+14*, ICD9+15, ICD9+16!

Label References

Name Line Occurrences
CHKADDS ADDDXST+1
CHKFLGS DTFLAG+4
FLAG DTFLAG+5, DTFLAG+7, DTFLAG+8, DTFLAG+16
QCNTY CNTY+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AASALCO ALC+1~, ALC+3*, ALC+4, ALC+9*, ALC+10*, ALC+11*, ALC+12
AASTOB TOB+1~, TOB+3*, TOB+4, TOB+9*, TOB+10*, TOB+11*, TOB+12
ACD160 BDATE~, BDATE+2, ICD9~, ICD9+2, OCCUP~, OCCUP+3, OCCUP+6, IND~, IND+3, IND+6
, TOB+2, TOB+6, TOB+7, TOB+8, ALC+2, ALC+6, ALC+7, ALC+8, FHCT+1
ACDAGE AGEDX+1~, AGEDX+3*, AGEDX+4
ACDANS DATE~, DATE+3, DTFLAG~, DTFLAG+7, DTFLAG+9, DTFLAG+16, DTFLAG+17, DTFLAG+19, DTFLAG+21, FHCT+2*
FHCT+5, FHCT+6*, FHCT+7*, PHCT+1*, PHCT+6, PHCT+7*, PHCT+8*, NL+1*
BEHAV BEHAV+1~, BEHAV+2*, BEHAV+3
D0 BDATE+1~, BDATE+2*, AGEDX+1~, AGEDX+2*
DATE DATE+1~, DATE+2*, DATE+6*, DATE+7*, DATE+8*, DATE+9*, DATE+10*, DATE+11
DATEDX LYMPH+1~, LYMPH+2*, LYMPH+3!, LYMPH+7
>> EXTRACT ICD9+6
FHCT FHCT+4*, FHCT+5, FHCT+6, FHCT+8!
FHCTIEN FHCT+2*, FHCT+3*, FHCT+4, FHCT+8!
FIPSCODE CNTY+1~, CNTY+2*, CNTY+3, CNTY+4*, QCNTY
FLAG DTFLAG+1~, DTFLAG+2*, DTFLAG+5*, DTFLAG+8*, DTFLAG+10*, DTFLAG+11*, DTFLAG+14*, DTFLAG+16*, DTFLAG+18*, DTFLAG+20*
, DTFLAG+22*, FLAG+1
GS SG+3~, SG+4*, SG+5, SG+6*, SG+7*, SG+8
I PHCT+2*, PHCT+9!
IEN BEHAV~, BEHAV+2, LYMPH~, LYMPH+2, LYMPH+4, LYMPH+5, DTFLAG+8, DTFLAG+11, DTFLAG+12, DTFLAG+13
, DTFLAG+14, CHKFLGS+8, ADDDXST~, ADDDXST+2, CHKADDS+7, CNTY~, CNTY+2, CNTY+4, AGEDX~, AGEDX+2
, TOB~, ALC~, SG~, SG+6, SG+7, RXCOD~, PHCT+2
IEN160 FHCT+1*, FHCT+8!
IND IND+5~, IND+6*, IND+7, IND+8
ITEM DTFLAG~, DTFLAG+3, ADDDXST+1*, CHKADDS+4
LV LYMPH+1~, LYMPH+5*, LYMPH+6, LYMPH+7, LYMPH+8!
MPH LYMPH+1~, LYMPH+4*, LYMPH+5*, LYMPH+7, LYMPH+8!
N DTFLAG+1~, DTFLAG+3*, DTFLAG+7, DTFLAG+8, DTFLAG+10, DTFLAG+11, DTFLAG+14, DTFLAG+16, DTFLAG+18, DTFLAG+20
, DTFLAG+22, CHKFLGS+4, CHKFLGS+5, CHKFLGS+6, CHKADDS+4*, CHKADDS+5, CHKADDS+8!
OCC OCCUP+5~, OCCUP+6*, OCCUP+7, OCCUP+8
OCCUP OCCUP+1~, OCCUP+3*, OCCUP+4, OCCUP+6, IND+1~, IND+3*, IND+4, IND+6
ONC FHCT+1!, FHCT+8!
ONC( FHCT+3, FHCT+4
>> ONCADDF ADDDXST+1, CHKADDS+4*, CHKADDS+7*
ONCDANS LYMPH+1~, LYMPH+2*, LYMPH+3, LYMPH+6*, LYMPH+7*, LYMPH+9, ICD9+1~, ICD9+2*, ICD9+3*, ICD9+5*
, ICD9+7*, ICD9+9*, ICD9+15*, ICD9+17*, ICD9+18
ONCDTFLG DTFLAG+5, FLAG!, CHKFLGS+3*, CHKFLGS+8*
ONCI1 ICD9+11~, ICD9+13*
ONCJ1 ICD9+11~, ICD9+13*
ONCMO1 ICD9+11~, ICD9+13*
ONCMO2 ICD9+11~, ICD9+13*, ICD9+14
>> ONCPHI ICD9+6*, ICD9+7, ICD9+9, ICD9+15
ONCSCMA DTFLAG+1~, DTFLAG+12*, DTFLAG+13
ONIEN ICD9~, ICD9+2
OUT RXCOD+1~, RXCOD+2*, RXCOD+3
PHCT PHCT+4*, PHCT+5, PHCT+6, PHCT+7, PHCT+9!
PHCTPT PHCT+2*, PHCT+3, PHCT+4, PHCT+9!
REC DTFLAG+1~
TYPE SG~, SG+5, SG+6, SG+7
U OCCUP+6, IND+6, TOB+2, TOB+9, TOB+10, ALC+2, ALC+9
X BDATE+1~, BDATE+4*, BDATE+5, DATE+1~, DATE+3*, DATE+5, DATE+6, DATE+7, DATE+8, DATE+9
, AGEDX+1~, AGEDX+3, OCCUP+1~, OCCUP+2*, OCCUP+8*, OCCUP+9, IND+1~, IND+2*, IND+8*, IND+9
, TOB+1~, TOB+2*, TOB+3, TOB+5~*, TOB+6*, TOB+7, TOB+8, ALC+1~, ALC+2*, ALC+3
, ALC+5~*, ALC+6*, ALC+7, ALC+8
>> XX ADDDXST+2*, ADDDXST+3*, ADDDXST+4
Y BDATE+1~, TOB+8~*, TOB+9, TOB+10, ALC+8~*, ALC+9
ZZFLDNUM FLAG!, CHKFLGS+4*, CHKFLGS+5*, CHKFLGS+6*, CHKFLGS+7, CHKFLGS+8, CHKADDS+5*, CHKADDS+6, CHKADDS+7, CHKADDS+8!

Marked Items

Name Field # of Occurrence
$T(COMO+ONCI1 ICD9+13
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All