ONCACDU1 ;HINES OIFO/GWB - NAACCR extract utilities #1 ;05/08/12
Source file <ONCACDU1.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
BDATE(ACD160) | ;Date of Birth [240] 196-203
|
|
BEHAV(IEN) | ;Behavior Code (called by extract RULES)
|
|
ICD1(IEN) | ;source of item
|
|
EOD6(IEN) | ;Extent
|
|
ICD3(IEN) | ;
|
|
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.
|
|
BRE22(IEN) | ;Breast Surgery code User define in p18
|
|
CSF1(IEN) | ;CSF1 ;P#18 default to 999 for specific Site and Histology
|
|
CSF11(IEN) | ;P#18 default to 999 for specific Site and Histology
|
|
CSF22(IEN) | ;P#18
|
|
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 |
|
ADPCD(IEN) | ;Addr Current--Postal Code [1830] (added in patch #13)
|
|
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
|
Name | Field # of Occurrence |
---|---|
$$GET1^DIQ | ICD1+2, ICD1+3, ICD1+4, EOD6+3, EOD6+5, EOD6+6, EOD6+7, EOD6+8, EOD6+9, EOD6+10 , ICD3+2, ICD3+3, LYMPH+2, LYMPH+4, LYMPH+5, ICD9+2, ICD9+3, BRE22+1, CSF1+1, CSF1+2 , CSF1+4, CSF11+1, CSF11+2, CSF11+4, CSF22+2, DTFLAG+11, CHKFLGS+8, ADPCD+2, ADDDXST+2, CHKADDS+7 , CNTY+2, CNTY+4, SG+6, SG+7, PHCT+2, PHCT+4 |
GETS^DIQ | FHCT+1 |
$$HIST^ONCFUNC | BEHAV+2, CSF1+4, CSF11+4, CSF22+4 |
AGE^ONCOCOM | AGEDX+3 |
DATEOT^ONCOES | DATE+4 |
DOB1^ONCOES | BDATE+3 |
$$MELANOMA^ONCOU55 | DTFLAG+16 |
$$STRIP^XLFSTR | NL+1 |
FileNo | Call Tags |
---|---|
^ONCO(160 - [#160] | GET1^DIQ, GETS^DIQ |
^ONCO(164 - [#164] | GET1^DIQ |
^ONCO(164.2 - [#164.2] | GET1^DIQ |
^ONCO(165.5 - [#165.5] | GET1^DIQ |
^DIC(5 - [#5] | GET1^DIQ |
^ICD9 - [#80] | GET1^DIQ |
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+3, DTFLAG+14, DTFLAG+15, DTFLAG+17 |
^TMP($J | ICD9+13!, ICD9+15*, ICD9+16, ICD9+17! |
>> | 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, ADPCD+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 | ICD1+5*, ICD1+6, EOD6+2*, EOD6+11*, EOD6+12, ICD3+4*, ICD3+5, BRE22+2*, BRE22+3, CSF1+2* , CSF1+3*, CSF1+7*, CSF1+10*, CSF1+13*, CSF1+15*, CSF1+16, CSF11+2*, CSF11+3*, CSF11+6*, CSF11+7 , CSF22+2*, CSF22+3*, CSF22+5*, CSF22+6, DATE~, DATE+3, DTFLAG~, DTFLAG+8, DTFLAG+10, DTFLAG+12 , DTFLAG+19, DTFLAG+20, DTFLAG+22, DTFLAG+24, 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 | EOD6+3*, EOD6+4, LYMPH+1~, LYMPH+2*, LYMPH+3!, LYMPH+7, BRE22+1*, BRE22+2, CSF1+1~, CSF1+2* , CSF1+3, CSF11+1~, CSF11+2*, CSF11+3, CSF22+1~, CSF22+2*, CSF22+3 |
>> EXTRACT | ICD9+5 |
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+6*, DTFLAG+8*, DTFLAG+11*, DTFLAG+13*, DTFLAG+14*, DTFLAG+17*, DTFLAG+19*, DTFLAG+21* , DTFLAG+23*, DTFLAG+25*, FLAG+1 |
GS | SG+3~, SG+4*, SG+5, SG+6*, SG+7*, SG+8 |
I | PHCT+2*, PHCT+9! |
IEN | BEHAV~, BEHAV+2, ICD1~, ICD1+2, ICD1+3, ICD1+4, EOD6~, EOD6+3, EOD6+5, EOD6+6 , EOD6+7, EOD6+8, EOD6+9, EOD6+10, ICD3~, ICD3+2, ICD3+3, LYMPH~, LYMPH+2, LYMPH+4 , LYMPH+5, BRE22~, BRE22+1, CSF1~, CSF1+1, CSF1+2, CSF1+4, CSF11~, CSF11+1, CSF11+2 , CSF11+4, CSF22~, CSF22+2, CSF22+4, DTFLAG+3, DTFLAG+11, DTFLAG+14, DTFLAG+15, DTFLAG+16, DTFLAG+17 , CHKFLGS+8, ADPCD~, 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+4, ADPCD+1*, 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+4*, DTFLAG+8, DTFLAG+10, DTFLAG+11, DTFLAG+13, DTFLAG+14, DTFLAG+17, DTFLAG+19, DTFLAG+21 , DTFLAG+23, DTFLAG+25, 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 |
ONC164 | CSF1+1~*, CSF1+4, CSF1+13, CSF11+1~*, CSF11+4, CSF11+6 |
ONC164H | CSF1+1~, CSF1+4*, CSF1+6, CSF1+9, CSF1+15 |
>> ONCADDF | ADPCD+1, ADPCD+2*, ADPCD+3, ADDDXST+1, CHKADDS+4*, CHKADDS+7* |
ONCBEV | ICD1+1~, ICD1+3*, ICD1+5, ICD3+1~, ICD3+3*, ICD3+4 |
ONCBRM | EOD6+1~, EOD6+9*, EOD6+11 |
ONCCHE | EOD6+1~, EOD6+7*, EOD6+11 |
ONCDANS | LYMPH+1~, LYMPH+2*, LYMPH+3, LYMPH+6*, LYMPH+7*, LYMPH+9, ICD9+1~, ICD9+2*, ICD9+3*, ICD9+4* , ICD9+7*, ICD9+8*, ICD9+10*, ICD9+16*, ICD9+18*, ICD9+19 |
ONCDTFLG | DTFLAG+6, FLAG!, CHKFLGS+3*, CHKFLGS+8* |
ONCGR | ICD1+1~, ICD1+4*, ICD1+5 |
ONCH1 | CSF1+1~*, CSF1+12*, CSF1+13, CSF11+1~*, CSF11+5*, CSF11+6 |
ONCH1H | CSF1+1~, CSF1+6*, CSF1+7, CSF1+8*, CSF1+9* |
ONCHOR | EOD6+1~, EOD6+8*, EOD6+11 |
ONCHST | ICD1+1~, ICD1+2*, ICD1+5, ICD3+1~, ICD3+2*, ICD3+4 |
ONCI1 | ICD9+12~, ICD9+14* |
ONCJ1 | ICD9+12~, ICD9+14* |
ONCMO1 | ICD9+12~, ICD9+14* |
ONCMO2 | ICD9+12~, ICD9+14*, ICD9+15 |
ONCOTH | EOD6+1~, EOD6+10*, EOD6+11 |
>> ONCPHI | ICD9+5*, ICD9+7, ICD9+8, ICD9+10, ICD9+16 |
ONCPS | CSF1+1~, CSF1+4*, CSF11+1~, CSF11+4* |
ONCRAD | EOD6+1~, EOD6+6*, EOD6+11 |
ONCS | CSF1+1~, CSF1+4*, CSF1+7, CSF1+10, CSF1+12, CSF1+15, CSF11+1~, CSF11+4*, CSF11+5, CSF22+1~ , CSF22+4*, CSF22+5 |
ONCSCMA | DTFLAG+1~, DTFLAG+15*, DTFLAG+16 |
ONCSUR | EOD6+1~, EOD6+5*, EOD6+11 |
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! |
Name | Field # of Occurrence |
---|---|
$T(COMO+ONCI1 | ICD9+14 |