ONCOU ;Hines OIFO/GWB ONCOTRAX utilities ;06/06/00
Source file <ONCOU.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 |
---|---|---|
ASKNUM(TXT,RNG,DFLT) | ;ask for a number - expects RNG as NNN:NNN
|
|
ASKY(TXT) | ;ask a Y/N question, default YES, returns 1 for Y, 0 for N
|
|
LOOKUP(FL,NTR,UIO,Y) | ;look up entry NTR in File FL with user options UIO, return Y array if parameter passed
|
|
GETVAL(FN,DA,DR,SE,SF) | ;get value of field DR in entry DA in file FN - if DR is a multiple then get subfield SF in subentry SE
|
|
VERSION(PKG) | ;get version # for pkg
|
|
VERCHK(PKG,VER,PATNO) | ;verify version for a patch
|
|
SITEPAR(MSG) | ;Are ONCOCOLOGY SITE PARAMETERS defined?
|
|
LTS(DA,NOTTHIS) | ;Invoked by AC cross-reference of TUMOR STATUS CODE sub-field (#.02) of TUMOR STATUS field (#73) of ONCOLOGY PRIMARY file (#165.5), sets value into LAST TUMOR STATUS field (#95)
|
|
KILLNAT(FILE,SWS) | ;Kill national fields only for a file
|
|
CLNNOSUS | ;Delete ONCOLOGY PATIENT (160) entries with no primaries/no suspense
|
|
COUNT | ;Count the number of entries to delete
|
|
CHK | ||
CLNOK() | ;Confirm deletion
|
|
PURGE | ;Delete entries
|
|
LCASE(ONCOSTR) | ;Convert string to upper/lowercase
|
|
UCASE | ;Convert string to uppercase
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^ONCO(160 - [#160] | Classic Fileman Calls, GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DD( | GETVAL+1, KILLNAT+5 |
^DIC(9.4 - [#9.4] | VERSION+1 |
^ONCO(160 - [#160] | CLNNOSUS+7, CLNNOSUS+13, COUNT+3, CHK+1, CHK+3, CHK+4! |
^ONCO(160.1 - [#160.1] | SITEPAR+2, SITEPAR+3 |
^ONCO(165.5 - [#165.5] | LTS+4, LTS+5, LTS+6!*, CHK+2 |
^TMP($J | CLNNOSUS+9!, COUNT+6, CHK+6*, PURGE+3 |
Name | Field # of Occurrence |
---|---|
^( | LTS+5 |
^(7 | LTS+5* |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CLNKT | CLNNOSUS+1~, CLNNOSUS+11, CLNNOSUS+12, COUNT+2*, COUNT+5, COUNT+6, CHK+5* |
D0 | GETVAL+1~ |
DA | GETVAL~, GETVAL+1, LTS~, LTS+4, LTS+5, LTS+6, KILLNAT+2~, KILLNAT+5*, PURGE+2~*, PURGE+3* |
DA( | GETVAL+1* |
DA(1 | KILLNAT+4* |
DFLT | ASKNUM~, ASKNUM+1 |
DI | GETVAL+1~ |
DIC | LOOKUP+1~*, GETVAL+1~* |
DIC(0 | LOOKUP+1* |
DIE | LTS+2~ |
DIK | KILLNAT+2~, KILLNAT+5*, PURGE+1~* |
DIQ | GETVAL+1~* |
DIR | ASKNUM+1~, ASKY+1~, CLNNOSUS+11!, CLNOK+1~, PURGE+5! |
DIR("A" | ASKNUM+1*, ASKY+1*, CLNOK+2* |
DIR("B" | ASKNUM+1*, ASKY+1*, CLNOK+2* |
DIR(0 | ASKNUM+1*, ASKY+1*, CLNNOSUS+11*, CLNOK+2*, PURGE+5* |
DOTS | KILLNAT+2~, KILLNAT+3*, KILLNAT+5 |
DR | GETVAL~, GETVAL+1, LTS+2~ |
DR( | GETVAL+1* |
DUZ(2 | SITEPAR+2 |
FILE | KILLNAT~, KILLNAT+4, KILLNAT+5 |
FL | LOOKUP~, LOOKUP+1 |
FN | GETVAL~, GETVAL+1 |
>> IEN | COUNT+6*, COUNT+7 |
INST | VERCHK+1~, VERCHK+3*, VERCHK+4, VERCHK+5 |
IOF | CLNNOSUS+2 |
KT | KILLNAT+2~, KILLNAT+5*, KILLNAT+6 |
MSG | SITEPAR~, SITEPAR+4 |
NOTTHIS | LTS~, LTS+4 |
NTR | LOOKUP~, LOOKUP+1 |
NTS | LTS+2~, LTS+3*, LTS+5*, LTS+6 |
OI | COUNT+1~*, COUNT+3*, CHK+1, CHK+2, CHK+3, CHK+4, CHK+6 |
OK | VERCHK+1~*, VERCHK+6*, VERCHK+7, SITEPAR+1~, SITEPAR+2*, SITEPAR+3*, SITEPAR+4, SITEPAR+5 |
ONCO | LCASE+1~* |
ONCOSTR | LCASE~, LCASE+1*, LCASE+2 |
OQ | GETVAL+1~ |
OQ( | GETVAL+1 |
OTS | LTS+2~, LTS+5*, LTS+6 |
OX | GETVAL+1~*, LTS+2~, LTS+4*, LTS+5* |
PATNO | VERCHK~, VERCHK+2 |
PKG | VERSION~, VERSION+1, VERCHK~, VERCHK+2, VERCHK+3, VERCHK+4, VERCHK+5 |
PNU | VERSION+1~* |
RNG | ASKNUM~, ASKNUM+1 |
SE | GETVAL~, GETVAL+1 |
SF | GETVAL~, GETVAL+1 |
>> SUSDT | CHK+1* |
SWS | KILLNAT~, KILLNAT+3 |
TOTKT | CLNNOSUS+1~, COUNT+2*, COUNT+4, CHK* |
TXT | ASKNUM~, ASKNUM+1, ASKY~, ASKY+1 |
U | ASKY+1, GETVAL+1, LTS+5 |
UIO | LOOKUP~, LOOKUP+1 |
VER | VERCHK~, VERCHK+2, VERCHK+5 |
>> X | LOOKUP+1*, UCASE+1* |
Y | ASKNUM+1~, ASKY+1~*, LOOKUP~, LOOKUP+1~, VERSION+1~*, CLNOK+4 |