ONCFUNC ;HINES OIFO/GWB - OncoTrax functions ;05/03/12
Source file <ONCFUNC.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
SHN() | ;STATE HOSPITAL NUMBER (160.1,1.03)
|
|
STCO70(IEN) | ;GEOLOCATION ID 1970/80/90
|
|
STCO00(IEN) | ;GEOLOCATION ID 2000
|
|
STCO10(IEN) | ;GEOLOCATION ID 2010
|
|
STCO20(IEN) | ;GEOLOCATION ID 2020
|
|
IIN() | ;INSTITUTION ID NUMBER (160.1,27)
|
|
FLNAME(NAME) | ;COMPUTED EXPRESSION for FIRST-LAST (160,.012)
|
|
SP | ||
DIV(IEN) | ;DIVISION (165.5,2000)
|
|
SUSDIV(IEN,SUSIEN) | ;DIVISION (160,30)
|
|
PFTD(IEN) | ;Primaries for this division
|
|
PRICNT | ;TOTAL PRIMARIES FOR PATIENT (160,17)
|
|
DIDIV(IEN) | ;Disease Index DIVISION screen
|
|
DIDIVEX | ||
HIST(IEN,HSTFLD,HISTNAM,ICDFILE,ICDNUM) | ;
|
|
MORP(IEN) | ;MorpH (73-91) ICD-O-1 extract
|
|
LYMPHOMA(IEN) | ;Hodgkin and non-Hodgkin Lymphomas
|
|
LYMPH(IEN) | ;Lymphomas
|
|
HEMATO(IEN) | ;Hematopoietic, reticuloendothelial, immunoproliferative or
; myeloproliferative disease |
|
CC | ;COMORBIDITY/COMPLICATION #1-10 (160,25-25.9) screen
|
|
SDIAG | ;Secondary Diagnosis 1 - 10
|
|
SDOT | ;ICD CODE OUTPUT TRANSFORM
|
|
DSTS(IEN) | ;DATE SYSTEMIC THERAPY STARTED
|
|
DUPPRI | ;Check for duplicate primaries belonging to another DIVISION
|
|
CLEANUP | ;Cleanup
|
Name | Field # of Occurrence |
---|---|
$$GET1^DIQ | SHN+4, STCO70+3, STCO70+4, STCO70+6, STCO70+9, STCO00+3, STCO00+4, STCO00+6, STCO10+3, STCO10+4 , STCO10+6, STCO10+9, STCO20+3, STCO20+4, STCO20+6, IIN+4, IIN+5, MORP+2, MORP+3, MORP+4 , SDOT+2, DSTS+2, DSTS+3, DSTS+4, DUPPRI+4, DUPPRI+5, DUPPRI+6 |
^DIR | DUPPRI+18 |
$$ICDDX^ICDEX | SDOT+2 |
$$ICDDX^ICDEXC | CC+6, SDIAG+5 |
$$CNTY^ONCACDU1 | STCO70+7, STCO00+7, STCO10+7, STCO20+7 |
$$DATE^ONCACDU1 | DSTS+6 |
$$HIST^ONCFUNC | LYMPHOMA+4, LYMPH+4, HEMATO+5 |
^ONCOCOML | DUPPRI+17 |
FileNo | Call Tags |
---|---|
^ONCO(160.1 - [#160.1] | GET1^DIQ |
^ONCO(160.19 - [#160.19] | GET1^DIQ |
^ONCO(165.5 - [#165.5] | GET1^DIQ |
^DIC(5 - [#5] | GET1^DIQ |
^ICD9 - [#80] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNVPOV - [#9000010.07] | DIDIV+4 |
^AUPNVSIT - [#9000010] | DIDIV+5 |
^DG(40.8 - [#40.8] | DIDIV+7 |
^ICD9 - [#80] | CC+5, SDIAG+4 |
^ONCO( | HIST+9 |
^ONCO(160 - [#160] | SUSDIV+2 |
^ONCO(160.1 - [#160.1] | SHN+2, SHN+3, IIN+2, IIN+3 |
^ONCO(165.5 - [#165.5] | DIV+2, PFTD+3, PRICNT+1, HIST+3, HIST+7, LYMPHOMA+3, LYMPH+3, HEMATO+4, DUPPRI+3, DUPPRI+17 |
^SC - [#44] | DIDIV+6 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> ACDANS | STCO70+12*, STCO70+13, STCO00+11*, STCO00+12, STCO10+12*, STCO10+13, STCO20+11*, STCO20+12 |
AFLDIV | DIDIV+8, CLEANUP+1! |
CODE | SDOT+1~, SDOT+2* |
D0 | FLNAME+2, PRICNT+1, DIDIV+4, CLEANUP+1! |
DFN | FLNAME+1~, FLNAME+2* |
DIR | DUPPRI+18!, DUPPRI+19! |
DIR(0 | DUPPRI+18* |
DIV | DIV+1~, DIV+2*, DIV+3, SUSDIV+1~, SUSDIV+2*, SUSDIV+3, DUPPRI+6*, DUPPRI+7, DUPPRI+10*, DUPPRI+19! |
DIVMATCH | DIDIV+2~, DIDIV+3*, DIDIV+8*, DIDIVEX+1 |
DSTS | DSTS+5*, DSTS+6, DSTS+7! |
DSTSDT | DSTS+7! |
DSTSDT( | DSTS+2*, DSTS+3*, DSTS+4* |
DSTSDT(0 | DSTS+5 |
DUZ(2 | SHN+2, IIN+2, PFTD+3, PRICNT+1, DIDIV+8, DUPPRI+10 |
FIRST | FLNAME+1~, FLNAME+4*, FLNAME+7 |
HEMATO | HEMATO+2~, HEMATO+3*, HEMATO+8*, HEMATO+10*, HEMATO+12 |
HISTICD | HIST+2~, HIST+7*, HIST+9, HIST+10 |
HISTNAM | HIST~, HIST+8*, HIST+9* |
HLPNT | DIDIV+5*, DIDIV+6, DIDIVEX! |
HNODE | HIST+2~, HIST+5*, HIST+7 |
HST123 | LYMPHOMA+5*, LYMPHOMA+6, LYMPHOMA+7, LYMPHOMA+9! |
HST14 | LYMPH+5*, LYMPH+7, LYMPH+9, LYMPH+10!, HEMATO+6*, HEMATO+8, HEMATO+10, HEMATO+11! |
HSTFLD | HIST~, HIST+6* |
HSTICD | LYMPHOMA+4*, LYMPHOMA+5, LYMPHOMA+8, LYMPHOMA+9!, LYMPH+4*, LYMPH+5, LYMPH+10!, HEMATO+5*, HEMATO+6, HEMATO+11! |
ICDFILE | HIST~, HIST+5*, HIST+9 |
ICDNUM | HIST~, HIST+4*, HIST+5, HIST+6 |
IEN | STCO70~, STCO70+3, STCO70+6, STCO70+7, STCO70+9, STCO00~, STCO00+3, STCO00+6, STCO00+7, STCO10~ , STCO10+3, STCO10+6, STCO10+7, STCO10+9, STCO20~, STCO20+3, STCO20+6, STCO20+7, DIV~, DIV+2 , SUSDIV~, SUSDIV+2, PFTD~, PFTD+3, DIDIV~, HIST~, HIST+3, HIST+7, MORP~, MORP+2 , MORP+3, MORP+4, LYMPHOMA~, LYMPHOMA+3, LYMPHOMA+4, LYMPH~, LYMPH+3, LYMPH+4, HEMATO~, HEMATO+4 , HEMATO+5, DSTS~, DSTS+2, DSTS+3, DSTS+4 |
IIN | IIN+1~, IIN+4*, IIN+5*, IIN+6 |
INPNT | DIDIV+7*, DIDIV+8, DIDIVEX! |
J | DUPPRI+17*, DUPPRI+19! |
LAST | FLNAME+1~, FLNAME+3*, FLNAME+7 |
LYMPHOMA | LYMPHOMA+1~, LYMPHOMA+2*, LYMPHOMA+6*, LYMPHOMA+7*, LYMPHOMA+8*, LYMPHOMA+10, LYMPH+1~, LYMPH+2*, LYMPH+7*, LYMPH+9* , LYMPH+11 |
MCPNT | DIDIV+6*, DIDIV+7, DIDIVEX! |
MIDDLE | FLNAME+1~, FLNAME+4*, FLNAME+6*, FLNAME+7 |
NAME | FLNAME~, FLNAME+2 |
ONC702 | MORP+1~, MORP+3*, MORP+5 |
ONC703 | MORP+1~, MORP+4*, MORP+5 |
ONC731 | MORP+1~, MORP+2*, MORP+5 |
ONC80I | CC+3~, CC+5*, CC+6, SDIAG+2~, SDIAG+4*, SDIAG+5 |
ONCCB | STCO70+1~, STCO70+2*, STCO70+11*, STCO70+12, STCO00+1~, STCO00+2*, STCO00+10*, STCO00+11, STCO10+1~, STCO10+2* , STCO10+11*, STCO10+12, STCO20+1~, STCO20+2*, STCO20+10*, STCO20+11 |
ONCCE | STCO70+1~, STCO10+2* |
ONCCO | STCO70+1~, STCO70+2*, STCO70+7*, STCO70+8*, STCO70+12, STCO00+1~, STCO00+2*, STCO00+7*, STCO00+8*, STCO00+11 , STCO10+1~, STCO10+2*, STCO10+7*, STCO10+8*, STCO10+12, STCO20+1~, STCO20+2*, STCO20+7*, STCO20+8*, STCO20+11 |
ONCCT | STCO70+2*, STCO70+9*, STCO70+10*, STCO70+12, STCO00+1~, STCO00+2*, STCO00+9*, STCO00+11, STCO10+1~, STCO10+9* , STCO10+10*, STCO10+12, STCO20+1~, STCO20+2*, STCO20+9*, STCO20+11 |
ONCDTDX | HIST+2~, HIST+3*, HIST+4, LYMPHOMA+3*, LYMPHOMA+6, LYMPHOMA+7, LYMPHOMA+8, LYMPHOMA+9!, LYMPH+3*, LYMPH+6 , LYMPH+8, LYMPH+10!, HEMATO+4*, HEMATO+7, HEMATO+9, HEMATO+11! |
ONCDX | STCO70+1~, STCO70+6*, STCO70+7, STCO00+1~, STCO00+6*, STCO00+7, STCO10+1~, STCO10+6*, STCO10+7, STCO20+1~ , STCO20+6*, STCO20+7 |
ONCFLAG | CC+3~, CC+4*, CC+7*, CC+8*, CC+9*, CC+10*, CC+11*, CC+12*, CC+13*, CC+14* , CC+15*, CC+16*, CC+17, SDIAG+2~, SDIAG+3*, SDIAG+6*, SDIAG+7*, SDIAG+8 |
ONCICD | SDOT+1~, SDOT+2* |
ONCICDY | CC+3~, CC+6*, CC+7, CC+8, CC+9, CC+10, CC+11, CC+12, CC+13, CC+14 , CC+15, CC+16, SDIAG+2~, SDIAG+5*, SDIAG+6, SDIAG+7 |
ONCST | STCO70+1~, STCO70+2*, STCO70+3*, STCO70+4*, STCO70+5*, STCO70+12, STCO00+1~, STCO00+2*, STCO00+3*, STCO00+4* , STCO00+5*, STCO00+11, STCO10+1~, STCO10+2*, STCO10+3*, STCO10+4*, STCO10+5*, STCO10+12, STCO20+1~, STCO20+2* , STCO20+3*, STCO20+4*, STCO20+5*, STCO20+11 |
ONCXX | MORP+1~, MORP+5*, MORP+6 |
OSP | SHN+1~, SHN+2*, SHN+3*, SHN+4, IIN+1~, IIN+2*, IIN+3*, IIN+4 |
PFTD | PFTD+1~, PFTD+2*, PFTD+3*, PFTD+4 |
PL | FLNAME+1~, SP* |
PRI | PFTD+1~, PFTD+3*, PRICNT+1*, PRICNT+4! |
PRICNT | PRICNT+1*, PRICNT+2*, PRICNT+3, PRICNT+4! |
PS | DUPPRI+4*, DUPPRI+7, DUPPRI+8, DUPPRI+19! |
PSSN | DUPPRI+9*, DUPPRI+10, DUPPRI+19! |
SHN | SHN+1~, SHN+4*, SHN+5 |
SN | DUPPRI+5*, DUPPRI+7, DUPPRI+8, DUPPRI+19! |
SPACE | SDOT+1~, SDOT+2* |
SUFFIX | FLNAME+1~, FLNAME+5*, FLNAME+7 |
SUSIEN | SUSDIV~, SUSDIV+2 |
TMP | DUPPRI+1!, DUPPRI+19! |
TMP( | DUPPRI+7*, DUPPRI+8*, DUPPRI+9, DUPPRI+10 |
TNAME | FLNAME+1~, FLNAME+2*, FLNAME+3*, FLNAME+4, FLNAME+5, FLNAME+7*, SP*, SP+1 |
U | SUSDIV+2, PFTD+3, PRICNT+1, DIDIV+4, DIDIV+5, DIDIV+6, DIDIV+7, HIST+3, HIST+7, HIST+9 , LYMPHOMA+3, LYMPH+3, HEMATO+4, CC+7, CC+8, CC+9, CC+10, CC+11, CC+12, CC+13 , CC+14, CC+15, CC+16, SDIAG+6, SDIAG+7, SDOT+2, DUPPRI+7, DUPPRI+8 |
VIPNT | DIDIV+4*, DIDIV+5, DIDIVEX! |
X | PRICNT+3*, SDOT+2*, DSTS+1~, DSTS+2*, DSTS+3*, DSTS+4*, DSTS+6*, DSTS+8 |
XD0 | DUPPRI+3, DUPPRI+17, DUPPRI+19! |
XD1 | DUPPRI+2*, DUPPRI+3*, DUPPRI+4, DUPPRI+5, DUPPRI+6, DUPPRI+7, DUPPRI+17*, DUPPRI+19! |
Y | CC+5, SDIAG+4, SDOT+2*, CLEANUP+1! |